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 obthemepubincludedir = $(includedir)/openbox/@OBTHEME_VERSION@/obrender
13 rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/obrender
14 pixmapdir = $(datadir)/pixmaps
15 xsddir = $(datadir)/openbox
16 appsdir = $(datadir)/applications
21 AUTOMAKE_OPTIONS = subdir-objects foreign
23 ACLOCAL_AMFLAGS = -I m4
26 AM_LFLAGS = -P$(*F) -olex.yy.c
38 obtheme/libobtheme.la \
39 obrender/libobrender.la
43 tools/gdm-control/gdm-control \
44 tools/gnome-panel-control/gnome-panel-control \
47 nodist_bin_SCRIPTS = \
48 data/xsession/openbox-session \
49 data/xsession/openbox-gnome-session \
50 data/xsession/openbox-kde-session
54 data/autostart/autostart
56 dist_libexec_SCRIPTS = \
57 data/autostart/openbox-xdg-autostart \
58 data/autostart/openbox-autostart
61 BUILT_SOURCES=obtheme/parser.h \
68 obtheme_main_CPPFLAGS = \
71 -DG_LOG_DOMAIN=\"ObTheme-Tester\"
72 obtheme_main_LDADD = \
73 obtheme/libobtheme.la \
76 obtheme_main_SOURCES = obtheme/main.c
78 obtheme_libobtheme_la_CPPFLAGS = \
83 -DG_LOG_DOMAIN=\"ObTheme\" \
84 -DDEFAULT_THEME=\"$(default_theme)\"
85 obtheme_libobtheme_la_LDFLAGS = \
86 -version-info $(OBTHEME_CURRENT):$(OBTHEME_REVISION):$(OBTHEME_AGE)
87 obtheme_libobtheme_la_LIBADD = \
93 obtheme_libobtheme_la_SOURCES = \
102 obrender_rendertest_CPPFLAGS = \
105 -DG_LOG_DOMAIN=\"RenderTest\"
106 obrender_rendertest_LDADD = \
108 obrender/libobrender.la \
113 obrender_rendertest_SOURCES = obrender/test.c
115 obrender_libobrender_la_CPPFLAGS = \
121 -DG_LOG_DOMAIN=\"ObRender\" \
122 -DDEFAULT_THEME=\"$(theme)\"
123 obrender_libobrender_la_LDFLAGS = \
124 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
125 obrender_libobrender_la_LIBADD = \
131 obrender_libobrender_la_SOURCES = \
138 obrender/gradient.h \
139 obrender/gradient.c \
143 obrender/imagecache.h \
144 obrender/imagecache.c \
145 obrender/instance.h \
146 obrender/instance.c \
156 obt_libobt_la_CPPFLAGS = \
164 $(XCOMPOSITE_CFLAGS) \
167 -DG_LOG_DOMAIN=\"Obt\" \
168 -DLOCALEDIR=\"$(localedir)\" \
169 -DDATADIR=\"$(datadir)\" \
170 -DCONFIGDIR=\"$(configdir)\"
171 obt_libobt_la_LDFLAGS = \
172 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
173 obt_libobt_la_LIBADD = \
184 obt_libobt_la_SOURCES = \
209 openbox_openbox_CPPFLAGS = \
218 -DLOCALEDIR=\"$(localedir)\" \
219 -DDATADIR=\"$(datadir)\" \
220 -DCONFIGDIR=\"$(configdir)\" \
221 -DG_LOG_DOMAIN=\"Openbox\"
222 openbox_openbox_LDADD = \
231 obrender/libobrender.la \
232 obtheme/libobtheme.la \
234 openbox_openbox_LDFLAGS = -export-dynamic
235 openbox_openbox_SOURCES = \
237 openbox/actions/all.c \
238 openbox/actions/all.h \
239 openbox/actions/addremovedesktop.c \
240 openbox/actions/breakchroot.c \
241 openbox/actions/close.c \
242 openbox/actions/cyclewindows.c \
243 openbox/actions/debug.c \
244 openbox/actions/decorations.c \
245 openbox/actions/desktop.c \
246 openbox/actions/dock.c \
247 openbox/actions/dockautohide.c \
248 openbox/actions/directionalwindows.c \
249 openbox/actions/execute.c \
250 openbox/actions/exit.c \
251 openbox/actions/focus.c \
252 openbox/actions/focustobottom.c \
253 openbox/actions/fullscreen.c \
254 openbox/actions/growtoedge.c \
255 openbox/actions/iconify.c \
256 openbox/actions/if.c \
257 openbox/actions/kill.c \
258 openbox/actions/layer.c \
259 openbox/actions/lower.c \
260 openbox/actions/maximize.c \
261 openbox/actions/move.c \
262 openbox/actions/moverelative.c \
263 openbox/actions/moveresizeto.c \
264 openbox/actions/movetoedge.c \
265 openbox/actions/omnipresent.c \
266 openbox/actions/raise.c \
267 openbox/actions/raiselower.c \
268 openbox/actions/reconfigure.c \
269 openbox/actions/resize.c \
270 openbox/actions/resizerelative.c \
271 openbox/actions/restart.c \
272 openbox/actions/shade.c \
273 openbox/actions/shadelowerraise.c \
274 openbox/actions/showdesktop.c \
275 openbox/actions/showmenu.c \
276 openbox/actions/unfocus.c \
281 openbox/client_list_menu.c \
282 openbox/client_list_menu.h \
283 openbox/client_list_combined_menu.c \
284 openbox/client_list_combined_menu.h \
285 openbox/client_menu.c \
286 openbox/client_menu.h \
287 openbox/composite.c \
288 openbox/composite.h \
299 openbox/focus_cycle.c \
300 openbox/focus_cycle.h \
301 openbox/focus_cycle_indicator.c \
302 openbox/focus_cycle_indicator.h \
303 openbox/focus_cycle_popup.c \
304 openbox/focus_cycle_popup.h \
307 openbox/framerender.c \
308 openbox/framerender.h \
318 openbox/menuframe.c \
319 openbox/menuframe.h \
325 openbox/moveresize.c \
326 openbox/moveresize.h \
346 openbox/startupnotify.c \
347 openbox/startupnotify.h \
348 openbox/translate.c \
349 openbox/translate.h \
354 ## gnome-panel-control ##
356 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
358 tools_gnome_panel_control_gnome_panel_control_LDADD = \
360 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
361 tools/gnome-panel-control/gnome-panel-control.c
365 tools_obxprop_obxprop_CPPFLAGS = \
368 tools_obxprop_obxprop_LDADD = \
371 tools_obxprop_obxprop_SOURCES = \
372 tools/obxprop/obxprop.c
376 tools_gdm_control_gdm_control_CPPFLAGS = \
379 tools_gdm_control_gdm_control_LDADD = \
382 tools_gdm_control_gdm_control_SOURCES = \
383 tools/gdm-control/gdm-control.c
386 ## default button masks ##
388 data/xbm/bullet.xbm \
390 data/xbm/desk_toggled.xbm \
392 data/xbm/iconify.xbm \
393 data/xbm/max_toggled.xbm \
395 data/xbm/shade_toggled.xbm \
401 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
402 dist_clearlooks_theme_DATA= \
403 themes/Clearlooks/openbox-3/themerc
405 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
406 dist_clearlooks34_theme_DATA= \
407 themes/Clearlooks-3.4/openbox-3/themerc
409 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
410 dist_clearlooksolive_theme_DATA= \
411 themes/Clearlooks-Olive/openbox-3/themerc
413 mikachu_themedir = $(themedir)/Mikachu/openbox-3
414 dist_mikachu_theme_DATA= \
415 themes/Mikachu/openbox-3/bullet.xbm \
416 themes/Mikachu/openbox-3/close.xbm \
417 themes/Mikachu/openbox-3/desk.xbm \
418 themes/Mikachu/openbox-3/iconify.xbm \
419 themes/Mikachu/openbox-3/max.xbm \
420 themes/Mikachu/openbox-3/themerc
423 natura_themedir = $(themedir)/Natura/openbox-3
424 dist_natura_theme_DATA= \
425 themes/Natura/openbox-3/close_hover.xbm \
426 themes/Natura/openbox-3/close.xbm \
427 themes/Natura/openbox-3/desk_toggled.xbm \
428 themes/Natura/openbox-3/desk_hover.xbm \
429 themes/Natura/openbox-3/desk.xbm \
430 themes/Natura/openbox-3/iconify_hover.xbm \
431 themes/Natura/openbox-3/iconify.xbm \
432 themes/Natura/openbox-3/max_hover.xbm \
433 themes/Natura/openbox-3/max_toggled.xbm \
434 themes/Natura/openbox-3/max.xbm \
435 themes/Natura/openbox-3/shade.xbm \
436 themes/Natura/openbox-3/shade_hover.xbm \
437 themes/Natura/openbox-3/themerc
439 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
440 dist_artwizboxed_theme_DATA= \
441 themes/Artwiz-boxed/openbox-3/themerc
443 bear2_themedir = $(themedir)/Bear2/openbox-3
444 dist_bear2_theme_DATA= \
445 themes/Bear2/openbox-3/close_pressed.xbm \
446 themes/Bear2/openbox-3/close.xbm \
447 themes/Bear2/openbox-3/desk_toggled.xbm \
448 themes/Bear2/openbox-3/desk.xbm \
449 themes/Bear2/openbox-3/iconify_pressed.xbm \
450 themes/Bear2/openbox-3/iconify.xbm \
451 themes/Bear2/openbox-3/max_pressed.xbm \
452 themes/Bear2/openbox-3/max_toggled.xbm \
453 themes/Bear2/openbox-3/max.xbm \
454 themes/Bear2/openbox-3/shade_pressed.xbm \
455 themes/Bear2/openbox-3/shade.xbm \
456 themes/Bear2/openbox-3/themerc
458 orang_themedir = $(themedir)/Orang/openbox-3
459 dist_orang_theme_DATA= \
460 themes/Orang/openbox-3/themerc
462 onyx_themedir = $(themedir)/Onyx/openbox-3
463 dist_onyx_theme_DATA= \
464 themes/Onyx/openbox-3/themerc
466 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
467 dist_onyxcitrus_theme_DATA= \
468 themes/Onyx-Citrus/openbox-3/themerc
470 syscrash_themedir = $(themedir)/Syscrash/openbox-3
471 dist_syscrash_theme_DATA= \
472 themes/Syscrash/openbox-3/max_disabled.xbm \
473 themes/Syscrash/openbox-3/max_pressed.xbm \
474 themes/Syscrash/openbox-3/max_toggled.xbm \
475 themes/Syscrash/openbox-3/max.xbm \
476 themes/Syscrash/openbox-3/themerc
480 obthemepubinclude_HEADERS = \
483 rrpubinclude_HEADERS = \
487 obrender/gradient.h \
489 obrender/instance.h \
495 obtpubinclude_HEADERS = \
507 nodist_pkgconfig_DATA = \
508 obrender/obrender-3.5.pc \
524 -e 's!@version\@!$(VERSION)!' \
525 -e 's!@configdir\@!$(configdir)!' \
526 -e 's!@libexecdir\@!$(libexecdir)!' \
527 -e 's!@bindir\@!$(bindir)!'
529 data/autostart/autostart: $(srcdir)/data/autostart/autostart.in Makefile
530 @echo make: creating $@
533 data/autostart/openbox-autostart: $(srcdir)/data/autostart/openbox-autostart.in Makefile
534 @echo make: creating $@
537 %.desktop: %.desktop.in Makefile
538 @echo make: creating $@
541 %-session: %-session.in Makefile
542 @echo make: creating $@
546 @echo make: creating $@
547 @docbook-to-man $< >$@
550 @echo make: creating $@
553 dist_gnomewmfiles_DATA = \
554 data/gnome-wm-properties/openbox.desktop
556 nodist_xsessions_DATA = \
557 data/xsession/openbox.desktop \
558 data/xsession/openbox-gnome.desktop \
559 data/xsession/openbox-kde.desktop
564 data/autostart/autostart.in \
565 data/autostart/openbox-autostart.in \
566 data/xsession/openbox.desktop.in \
567 data/xsession/openbox-gnome.desktop.in \
568 data/xsession/openbox-kde.desktop.in \
569 data/xsession/openbox-session.in \
570 data/xsession/openbox-gnome-session.in \
571 data/xsession/openbox-kde-session.in \
574 doc/openbox-session.1.sgml \
575 doc/openbox-session.1.in \
576 doc/openbox-gnome-session.1.sgml \
577 doc/openbox-gnome-session.1.in \
578 doc/openbox-kde-session.1.sgml \
579 doc/openbox-kde-session.1.in \
582 obrender/version.h.in \
583 obrender/obrender-3.5.pc.in \
586 tools/themeupdate/themeupdate.py \
612 doc/rc-mouse-focus.xml
616 doc/openbox-session.1 \
617 doc/openbox-gnome-session.1 \
618 doc/openbox-kde-session.1 \
624 # make clean doesn't delete these for some reason, even though they are
628 doc/openbox-session.1 \
629 doc/openbox-gnome-session.1 \
630 doc/openbox-kde-session.1 \
631 data/xsession/openbox-session \
632 data/xsession/openbox-gnome-session \
633 data/xsession/openbox-kde-session \
634 data/xsession/openbox.desktop \
635 data/xsession/openbox-gnome.desktop \
636 data/xsession/openbox-kde.desktop
639 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
642 rm -f $(BUILT_SOURCES)
645 for d in . m4 po obrender parser obt openbox; do \
646 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \