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