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