]> Dogcows Code - chaz/openbox/blob - Makefile.am
add moverelative action
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 docxbmdir = $(docdir)/xbm
4 themedir = $(datadir)/themes
5 localedir = $(datadir)/locale
6 configdir = $(sysconfdir)/xdg
7 rcdir = $(configdir)/openbox
8 xsessionsdir = $(datadir)/xsessions
9 gnomewmfilesdir = $(datadir)/gnome/wm-properties
10 pkgconfigdir = $(libdir)/pkgconfig
11 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
12 pixmapdir = $(datadir)/pixmaps
13 xsddir = $(datadir)/openbox
14
15 theme = Clearlooks
16
17 AUTOMAKE_OPTIONS = subdir-objects foreign
18
19 ACLOCAL_AMFLAGS = -I m4
20
21 INCLUDES = -I.
22
23 check_PROGRAMS = \
24 render/rendertest
25
26 lib_LTLIBRARIES = \
27 parser/libobparser.la \
28 render/libobrender.la
29
30 bin_PROGRAMS = \
31 openbox/openbox \
32 tools/gnome-panel-control/gnome-panel-control
33
34 nodist_bin_SCRIPTS = \
35 data/xsession/openbox-session \
36 data/xsession/openbox-gnome-session \
37 data/xsession/openbox-kde-session
38
39 ## render ##
40
41 render_rendertest_CPPFLAGS = \
42 $(PANGO_CFLAGS) \
43 $(XFT_CFLAGS) \
44 $(GLIB_CFLAGS) \
45 -DG_LOG_DOMAIN=\"RenderTest\"
46 render_rendertest_LDADD = \
47 parser/libobparser.la \
48 render/libobrender.la \
49 $(GLIB_LIBS) \
50 $(PANGO_LIBS) \
51 $(XFT_LIBS) \
52 $(XML_LIBS) \
53 $(X_LIBS)
54 render_rendertest_SOURCES = render/test.c
55
56 render_libobrender_la_CPPFLAGS = \
57 $(X_CFLAGS) \
58 $(GLIB_CFLAGS) \
59 $(XML_CFLAGS) \
60 $(PANGO_CFLAGS) \
61 $(XFT_CFLAGS) \
62 -DG_LOG_DOMAIN=\"ObRender\" \
63 -DDEFAULT_THEME=\"$(theme)\"
64 render_libobrender_la_LDFLAGS = \
65 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
66 render_libobrender_la_LIBADD = \
67 parser/libobparser.la \
68 $(X_LIBS) \
69 $(PANGO_LIBS) \
70 $(XFT_LIBS) \
71 $(GLIB_LIBS) \
72 $(XML_LIBS)
73 render_libobrender_la_SOURCES = \
74 gettext.h \
75 render/color.h \
76 render/color.c \
77 render/font.h \
78 render/font.c \
79 render/geom.h \
80 render/gradient.h \
81 render/gradient.c \
82 render/icon.h \
83 render/image.h \
84 render/image.c \
85 render/instance.h \
86 render/instance.c \
87 render/mask.h \
88 render/mask.c \
89 render/render.h \
90 render/render.c \
91 render/theme.h \
92 render/theme.c
93
94 ## parser ##
95
96 parser_libobparser_la_CPPFLAGS = \
97 $(GLIB_CFLAGS) \
98 $(XML_CFLAGS) \
99 -DG_LOG_DOMAIN=\"ObParser\" \
100 -DLOCALEDIR=\"$(localedir)\" \
101 -DDATADIR=\"$(datadir)\" \
102 -DCONFIGDIR=\"$(configdir)\"
103 parser_libobparser_la_LDFLAGS = \
104 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
105 parser_libobparser_la_LIBADD = \
106 $(GLIB_LIBS) \
107 $(XML_LIBS)
108 parser_libobparser_la_SOURCES = \
109 parser/parse.h \
110 parser/parse.c
111
112 ## openbox ##
113
114 openbox_openbox_CPPFLAGS = \
115 $(SM_CFLAGS) \
116 $(XINERAMA_CFLAGS) \
117 $(XKB_CFLAGS) \
118 $(XRANDR_CFLAGS) \
119 $(XSHAPE_CFLAGS) \
120 $(XSYNC_CFLAGS) \
121 $(XRENDER_CFLAGS) \
122 $(XDAMAGE_CFLAGS) \
123 $(XCOMPOSITE_CFLAGS) \
124 $(X_CFLAGS) \
125 $(XCURSOR_CFLAGS) \
126 $(SM_CFLAGS) \
127 $(PANGO_CFLAGS) \
128 $(GLIB_CFLAGS) \
129 $(LIBSN_CFLAGS) \
130 $(XML_CFLAGS) \
131 -DLOCALEDIR=\"$(localedir)\" \
132 -DDATADIR=\"$(datadir)\" \
133 -DCONFIGDIR=\"$(configdir)\" \
134 -DG_LOG_DOMAIN=\"Openbox\"
135 openbox_openbox_LDADD = \
136 $(SM_LIBS) \
137 $(XINERAMA_LIBS) \
138 $(XKB_LIBS) \
139 $(XRANDR_LIBS) \
140 $(XSHAPE_LIBS) \
141 $(XSYNC_LIBS) \
142 $(GLIB_LIBS) \
143 $(XRENDER_LIBS) \
144 $(XDAMAGE_LIBS) \
145 $(XCOMPOSITE_LIBS) \
146 $(X_LIBS) \
147 $(XCURSOR_LIBS) \
148 $(LIBSN_LIBS) \
149 $(XML_LIBS) \
150 $(EFENCE_LIBS) \
151 $(LIBINTL) \
152 render/libobrender.la \
153 parser/libobparser.la
154 openbox_openbox_LDFLAGS = -export-dynamic
155 openbox_openbox_SOURCES = \
156 gettext.h \
157 openbox/actions/all.c \
158 openbox/actions/all.h \
159 openbox/actions/breakchroot.c \
160 openbox/actions/close.c \
161 openbox/actions/cyclewindows.c \
162 openbox/actions/debug.c \
163 openbox/actions/execute.c \
164 openbox/actions/exit.c \
165 openbox/actions/focus.c \
166 openbox/actions/fullscreen.c \
167 openbox/actions/iconify.c \
168 openbox/actions/lower.c \
169 openbox/actions/maximize.c \
170 openbox/actions/move.c \
171 openbox/actions/moverelative.c \
172 openbox/actions/moveto.c \
173 openbox/actions/raise.c \
174 openbox/actions/raiselower.c \
175 openbox/actions/reconfigure.c \
176 openbox/actions/restart.c \
177 openbox/actions/showdesktop.c \
178 openbox/actions/showmenu.c \
179 openbox/actions/unfocus.c \
180 openbox/actions.c \
181 openbox/actions.h \
182 openbox/client.c \
183 openbox/client.h \
184 openbox/client_list_menu.c \
185 openbox/client_list_menu.h \
186 openbox/client_list_combined_menu.c \
187 openbox/client_list_combined_menu.h \
188 openbox/client_menu.c \
189 openbox/client_menu.h \
190 openbox/composite.c \
191 openbox/composite.h \
192 openbox/config.c \
193 openbox/config.h \
194 openbox/debug.c \
195 openbox/debug.h \
196 openbox/dock.c \
197 openbox/dock.h \
198 openbox/event.c \
199 openbox/event.h \
200 openbox/extensions.c \
201 openbox/extensions.h \
202 openbox/focus.c \
203 openbox/focus.h \
204 openbox/focus_cycle.c \
205 openbox/focus_cycle.h \
206 openbox/focus_cycle_indicator.c \
207 openbox/focus_cycle_indicator.h \
208 openbox/focus_cycle_popup.c \
209 openbox/focus_cycle_popup.h \
210 openbox/frame.c \
211 openbox/frame.h \
212 openbox/framerender.c \
213 openbox/framerender.h \
214 openbox/geom.h \
215 openbox/grab.c \
216 openbox/grab.h \
217 openbox/group.c \
218 openbox/group.h \
219 openbox/keyboard.c \
220 openbox/keyboard.h \
221 openbox/keytree.c \
222 openbox/keytree.h \
223 openbox/mainloop.c \
224 openbox/mainloop.h \
225 openbox/menuframe.c \
226 openbox/menuframe.h \
227 openbox/menu.c \
228 openbox/menu.h \
229 openbox/misc.h \
230 openbox/modkeys.c \
231 openbox/modkeys.h \
232 openbox/mouse.c \
233 openbox/mouse.h \
234 openbox/moveresize.c \
235 openbox/moveresize.h \
236 openbox/mwm.h \
237 openbox/openbox.c \
238 openbox/openbox.h \
239 openbox/place.c \
240 openbox/place.h \
241 openbox/popup.c \
242 openbox/popup.h \
243 openbox/prop.c \
244 openbox/prop.h \
245 openbox/propwin.c \
246 openbox/propwin.h \
247 openbox/resist.c \
248 openbox/resist.h \
249 openbox/screen.c \
250 openbox/screen.h \
251 openbox/session.c \
252 openbox/session.h \
253 openbox/stacking.c \
254 openbox/stacking.h \
255 openbox/startupnotify.c \
256 openbox/startupnotify.h \
257 openbox/translate.c \
258 openbox/translate.h \
259 openbox/window.c \
260 openbox/window.h \
261 openbox/xerror.c \
262 openbox/xerror.h
263
264
265 ## gnome-panel-control ##
266
267 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
268 $(X_CFLAGS)
269 tools_gnome_panel_control_gnome_panel_control_LDADD = \
270 $(X_LIBS)
271 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
272 tools/gnome-panel-control/gnome-panel-control.c
273
274
275 ## default button masks ##
276 dist_docxbm_DATA = \
277 data/xbm/bullet.xbm \
278 data/xbm/close.xbm \
279 data/xbm/desk_toggled.xbm \
280 data/xbm/desk.xbm \
281 data/xbm/iconify.xbm \
282 data/xbm/max_toggled.xbm \
283 data/xbm/max.xbm \
284 data/xbm/shade_toggled.xbm \
285 data/xbm/shade.xbm
286
287
288 ## themes ##
289
290 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
291 dist_clearlooks_theme_DATA= \
292 themes/Clearlooks/openbox-3/themerc
293
294 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
295 dist_clearlooksolive_theme_DATA= \
296 themes/Clearlooks-Olive/openbox-3/themerc
297
298 mikachu_themedir = $(themedir)/Mikachu/openbox-3
299 dist_mikachu_theme_DATA= \
300 themes/Mikachu/openbox-3/bullet.xbm \
301 themes/Mikachu/openbox-3/close.xbm \
302 themes/Mikachu/openbox-3/desk.xbm \
303 themes/Mikachu/openbox-3/iconify.xbm \
304 themes/Mikachu/openbox-3/max.xbm \
305 themes/Mikachu/openbox-3/themerc
306
307
308 natura_themedir = $(themedir)/Natura/openbox-3
309 dist_natura_theme_DATA= \
310 themes/Natura/openbox-3/close_hover.xbm \
311 themes/Natura/openbox-3/close.xbm \
312 themes/Natura/openbox-3/desk_toggled.xbm \
313 themes/Natura/openbox-3/desk_hover.xbm \
314 themes/Natura/openbox-3/desk.xbm \
315 themes/Natura/openbox-3/iconify_hover.xbm \
316 themes/Natura/openbox-3/iconify.xbm \
317 themes/Natura/openbox-3/max_hover.xbm \
318 themes/Natura/openbox-3/max_toggled.xbm \
319 themes/Natura/openbox-3/max.xbm \
320 themes/Natura/openbox-3/shade.xbm \
321 themes/Natura/openbox-3/shade_hover.xbm \
322 themes/Natura/openbox-3/themerc
323
324 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
325 dist_artwizboxed_theme_DATA= \
326 themes/Artwiz-boxed/openbox-3/themerc
327
328 bear2_themedir = $(themedir)/Bear2/openbox-3
329 dist_bear2_theme_DATA= \
330 themes/Bear2/openbox-3/close_pressed.xbm \
331 themes/Bear2/openbox-3/close.xbm \
332 themes/Bear2/openbox-3/desk_toggled.xbm \
333 themes/Bear2/openbox-3/desk.xbm \
334 themes/Bear2/openbox-3/iconify_pressed.xbm \
335 themes/Bear2/openbox-3/iconify.xbm \
336 themes/Bear2/openbox-3/max_pressed.xbm \
337 themes/Bear2/openbox-3/max_toggled.xbm \
338 themes/Bear2/openbox-3/max.xbm \
339 themes/Bear2/openbox-3/shade_pressed.xbm \
340 themes/Bear2/openbox-3/shade.xbm \
341 themes/Bear2/openbox-3/themerc
342
343 orang_themedir = $(themedir)/Orang/openbox-3
344 dist_orang_theme_DATA= \
345 themes/Orang/openbox-3/themerc
346
347 onyx_themedir = $(themedir)/Onyx/openbox-3
348 dist_onyx_theme_DATA= \
349 themes/Onyx/openbox-3/themerc
350
351 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
352 dist_onyxcitrus_theme_DATA= \
353 themes/Onyx-Citrus/openbox-3/themerc
354
355 syscrash_themedir = $(themedir)/Syscrash/openbox-3
356 dist_syscrash_theme_DATA= \
357 themes/Syscrash/openbox-3/max_disabled.xbm \
358 themes/Syscrash/openbox-3/max_pressed.xbm \
359 themes/Syscrash/openbox-3/max_toggled.xbm \
360 themes/Syscrash/openbox-3/max.xbm \
361 themes/Syscrash/openbox-3/themerc
362
363 ## public headers ##
364
365 pubinclude_HEADERS = \
366 render/color.h \
367 render/font.h \
368 render/geom.h \
369 render/gradient.h \
370 render/image.h \
371 render/instance.h \
372 render/mask.h \
373 render/render.h \
374 render/theme.h \
375 parser/parse.h
376
377 nodist_pubinclude_HEADERS = \
378 version.h
379
380 nodist_pkgconfig_DATA = \
381 render/obrender-3.0.pc \
382 parser/obparser-3.0.pc
383
384 ## data ##
385
386 dist_pixmap_DATA = \
387 data/openbox.png
388
389 dist_rc_DATA = \
390 data/autostart.sh \
391 data/rc.xml \
392 data/menu.xml
393
394 edit = $(SED) \
395 -e 's!@version\@!$(VERSION)!' \
396 -e 's!@configdir\@!$(configdir)!' \
397 -e 's!@bindir\@!$(bindir)!'
398
399 %.desktop: %.desktop.in Makefile
400 @echo make: creating $@
401 @$(edit) $< >$@
402
403 %-session: %-session.in Makefile
404 @echo make: creating $@
405 @$(edit) $< >$@
406
407 %.1.in: %.1.sgml
408 @echo make: creating $@
409 @docbook-to-man $< >$@
410
411 %.1: %.1.in Makefile
412 @echo make: creating $@
413 @$(edit) $< >$@
414
415 dist_gnomewmfiles_DATA = \
416 data/gnome-wm-properties/openbox.desktop
417
418 nodist_xsessions_DATA = \
419 data/xsession/openbox.desktop \
420 data/xsession/openbox-gnome.desktop \
421 data/xsession/openbox-kde.desktop
422
423 dist_noinst_DATA = \
424 version.h.in \
425 data/rc.xsd \
426 data/menu.xsd \
427 data/xsession/openbox.desktop.in \
428 data/xsession/openbox-gnome.desktop.in \
429 data/xsession/openbox-kde.desktop.in \
430 data/xsession/openbox-session.in \
431 data/xsession/openbox-gnome-session.in \
432 data/xsession/openbox-kde-session.in \
433 doc/openbox.1.sgml \
434 doc/openbox.1.in \
435 doc/openbox-session.1.sgml \
436 doc/openbox-session.1.in \
437 doc/openbox-gnome-session.1.sgml \
438 doc/openbox-gnome-session.1.in \
439 doc/openbox-kde-session.1.sgml \
440 doc/openbox-kde-session.1.in \
441 render/obrender-3.0.pc.in \
442 parser/obparser-3.0.pc.in \
443 tools/themeupdate/themeupdate.py \
444 tests/hideshow.py \
445 tests/Makefile \
446 tests/aspect.c \
447 tests/fullscreen.c \
448 tests/grav.c \
449 tests/grouptran.c \
450 tests/icons.c \
451 tests/modal2.c \
452 tests/modal3.c \
453 tests/modal.c \
454 tests/noresize.c \
455 tests/override.c \
456 tests/positioned.c \
457 tests/strut.c \
458 tests/title.c \
459 tests/urgent.c
460
461 dist_doc_DATA = \
462 COMPLIANCE \
463 README \
464 AUTHORS \
465 CHANGELOG \
466 COPYING \
467 data/rc.xsd \
468 data/menu.xsd \
469 doc/rc-mouse-focus.xml
470
471 nodist_man_MANS = \
472 doc/openbox.1 \
473 doc/openbox-session.1 \
474 doc/openbox-gnome-session.1 \
475 doc/openbox-kde-session.1
476
477 EXTRA_DIST = \
478 debian/changelog.in \
479 debian/compat \
480 debian/conffiles \
481 debian/control \
482 debian/copyright \
483 debian/menu \
484 debian/postinst \
485 debian/postrm \
486 debian/rules \
487 config.rpath \
488 mkinstalldirs
489
490 # make clean doesn't delete these for some reason, even though they are
491 # built by make
492 CLEANFILES = \
493 doc/openbox.1 \
494 doc/openbox-session.1 \
495 doc/openbox-gnome-session.1 \
496 doc/openbox-kde-session.1 \
497 data/xsession/openbox-session \
498 data/xsession/openbox-gnome-session \
499 data/xsession/openbox-kde-session \
500 data/xsession/openbox.desktop \
501 data/xsession/openbox-gnome.desktop \
502 data/xsession/openbox-kde.desktop
503
504 #doc:
505 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
506
507 distclean-local:
508 for d in . m4 po render; do \
509 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
510 rm -f "$$d/$$p"; \
511 done \
512 done
513
514 .PHONY: doc
This page took 0.056258 seconds and 5 git commands to generate.