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