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 appsdir = $(datadir)/applications
19 AUTOMAKE_OPTIONS = subdir-objects foreign
21 ACLOCAL_AMFLAGS = -I m4
30 obrender/libobrender.la
34 tools/gdm-control/gdm-control \
35 tools/gnome-panel-control/gnome-panel-control \
38 nodist_bin_SCRIPTS = \
39 data/xsession/openbox-session \
40 data/xsession/openbox-gnome-session \
41 data/xsession/openbox-kde-session
47 data/autostart/autostart
49 dist_libexec_SCRIPTS = \
50 data/autostart/openbox-xdg-autostart
52 nodist_libexec_SCRIPTS = \
53 data/autostart/openbox-autostart
58 obrender_rendertest_CPPFLAGS = \
61 -DG_LOG_DOMAIN=\"RenderTest\"
62 obrender_rendertest_LDADD = \
64 obrender/libobrender.la \
69 obrender_rendertest_SOURCES = obrender/test.c
71 obrender_libobrender_la_CPPFLAGS = \
77 -DG_LOG_DOMAIN=\"ObRender\" \
78 -DDEFAULT_THEME=\"$(theme)\"
79 obrender_libobrender_la_LDFLAGS = \
80 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
81 obrender_libobrender_la_LIBADD = \
87 obrender_libobrender_la_SOURCES = \
101 obrender/imagecache.h \
102 obrender/imagecache.c \
103 obrender/instance.h \
104 obrender/instance.c \
114 obt_libobt_la_CPPFLAGS = \
122 -DG_LOG_DOMAIN=\"Obt\" \
123 -DLOCALEDIR=\"$(localedir)\" \
124 -DDATADIR=\"$(datadir)\" \
125 -DCONFIGDIR=\"$(configdir)\"
126 obt_libobt_la_LDFLAGS = \
127 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
128 obt_libobt_la_LIBADD = \
136 obt_libobt_la_SOURCES = \
159 obt/watch_interface.h \
161 obt/watch_inotify.c \
168 openbox_openbox_CPPFLAGS = \
177 -DLOCALEDIR=\"$(localedir)\" \
178 -DDATADIR=\"$(datadir)\" \
179 -DCONFIGDIR=\"$(configdir)\" \
180 -DG_LOG_DOMAIN=\"Openbox\"
181 openbox_openbox_LDADD = \
192 obrender/libobrender.la \
194 openbox_openbox_LDFLAGS = -export-dynamic
195 openbox_openbox_SOURCES = \
197 openbox/actions/_all.c \
198 openbox/actions/_all.h \
199 openbox/actions/addremovedesktop.c \
200 openbox/actions/breakchroot.c \
201 openbox/actions/close.c \
202 openbox/actions/cyclewindows.c \
203 openbox/actions/debug.c \
204 openbox/actions/decorations.c \
205 openbox/actions/desktop.c \
206 openbox/actions/dock.c \
207 openbox/actions/dockautohide.c \
208 openbox/actions/directionalwindows.c \
209 openbox/actions/execute.c \
210 openbox/actions/exit.c \
211 openbox/actions/focus.c \
212 openbox/actions/focustobottom.c \
213 openbox/actions/fullscreen.c \
214 openbox/actions/growtoedge.c \
215 openbox/actions/iconify.c \
216 openbox/actions/kill.c \
217 openbox/actions/layer.c \
218 openbox/actions/lower.c \
219 openbox/actions/maximize.c \
220 openbox/actions/move.c \
221 openbox/actions/moverelative.c \
222 openbox/actions/moveresizeto.c \
223 openbox/actions/movetoedge.c \
224 openbox/actions/omnipresent.c \
225 openbox/actions/raise.c \
226 openbox/actions/raiselower.c \
227 openbox/actions/reconfigure.c \
228 openbox/actions/resize.c \
229 openbox/actions/resizerelative.c \
230 openbox/actions/restart.c \
231 openbox/actions/shade.c \
232 openbox/actions/showdesktop.c \
233 openbox/actions/showmenu.c \
234 openbox/actions/unfocus.c \
235 openbox/filters/_all.c \
236 openbox/filters/_all.h \
237 openbox/filters/all.c \
238 openbox/filters/target.c \
241 openbox/action_filter.c \
242 openbox/action_filter.h \
243 openbox/action_list.c \
244 openbox/action_list.h \
245 openbox/action_list_run.c \
246 openbox/action_list_run.h \
247 openbox/action_parser.c \
248 openbox/action_parser.h \
249 openbox/apps_menu.c \
250 openbox/apps_menu.h \
253 openbox/client_list_menu.c \
254 openbox/client_list_menu.h \
255 openbox/client_list_combined_menu.c \
256 openbox/client_list_combined_menu.h \
257 openbox/client_menu.c \
258 openbox/client_menu.h \
259 openbox/client_set.c \
260 openbox/client_set.h \
263 openbox/config_value.c \
264 openbox/config_value.h \
273 openbox/focus_cycle.c \
274 openbox/focus_cycle.h \
275 openbox/focus_cycle_indicator.c \
276 openbox/focus_cycle_indicator.h \
277 openbox/focus_cycle_popup.c \
278 openbox/focus_cycle_popup.h \
281 openbox/framerender.c \
282 openbox/framerender.h \
292 openbox/menuframe.c \
293 openbox/menuframe.h \
299 openbox/moveresize.c \
300 openbox/moveresize.h \
320 openbox/startupnotify.c \
321 openbox/startupnotify.h \
322 openbox/translate.c \
323 openbox/translate.h \
328 ## gnome-panel-control ##
330 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
332 tools_gnome_panel_control_gnome_panel_control_LDADD = \
334 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
335 tools/gnome-panel-control/gnome-panel-control.c
339 tools_obxprop_obxprop_CPPFLAGS = \
342 tools_obxprop_obxprop_LDADD = \
345 tools_obxprop_obxprop_SOURCES = \
346 tools/obxprop/obxprop.c
350 tools_gdm_control_gdm_control_CPPFLAGS = \
354 tools_gdm_control_gdm_control_LDADD = \
358 tools_gdm_control_gdm_control_SOURCES = \
359 tools/gdm-control/gdm-control.c
362 ## default button masks ##
364 data/xbm/bullet.xbm \
366 data/xbm/desk_toggled.xbm \
368 data/xbm/iconify.xbm \
369 data/xbm/max_toggled.xbm \
371 data/xbm/shade_toggled.xbm \
377 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
378 dist_clearlooks_theme_DATA= \
379 themes/Clearlooks/openbox-3/themerc
381 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
382 dist_clearlooks34_theme_DATA= \
383 themes/Clearlooks-3.4/openbox-3/themerc
385 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
386 dist_clearlooksolive_theme_DATA= \
387 themes/Clearlooks-Olive/openbox-3/themerc
389 mikachu_themedir = $(themedir)/Mikachu/openbox-3
390 dist_mikachu_theme_DATA= \
391 themes/Mikachu/openbox-3/bullet.xbm \
392 themes/Mikachu/openbox-3/close.xbm \
393 themes/Mikachu/openbox-3/desk.xbm \
394 themes/Mikachu/openbox-3/iconify.xbm \
395 themes/Mikachu/openbox-3/max.xbm \
396 themes/Mikachu/openbox-3/themerc
399 natura_themedir = $(themedir)/Natura/openbox-3
400 dist_natura_theme_DATA= \
401 themes/Natura/openbox-3/close_hover.xbm \
402 themes/Natura/openbox-3/close.xbm \
403 themes/Natura/openbox-3/desk_toggled.xbm \
404 themes/Natura/openbox-3/desk_hover.xbm \
405 themes/Natura/openbox-3/desk.xbm \
406 themes/Natura/openbox-3/iconify_hover.xbm \
407 themes/Natura/openbox-3/iconify.xbm \
408 themes/Natura/openbox-3/max_hover.xbm \
409 themes/Natura/openbox-3/max_toggled.xbm \
410 themes/Natura/openbox-3/max.xbm \
411 themes/Natura/openbox-3/shade.xbm \
412 themes/Natura/openbox-3/shade_hover.xbm \
413 themes/Natura/openbox-3/themerc
415 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
416 dist_artwizboxed_theme_DATA= \
417 themes/Artwiz-boxed/openbox-3/themerc
419 bear2_themedir = $(themedir)/Bear2/openbox-3
420 dist_bear2_theme_DATA= \
421 themes/Bear2/openbox-3/close_pressed.xbm \
422 themes/Bear2/openbox-3/close.xbm \
423 themes/Bear2/openbox-3/desk_toggled.xbm \
424 themes/Bear2/openbox-3/desk.xbm \
425 themes/Bear2/openbox-3/iconify_pressed.xbm \
426 themes/Bear2/openbox-3/iconify.xbm \
427 themes/Bear2/openbox-3/max_pressed.xbm \
428 themes/Bear2/openbox-3/max_toggled.xbm \
429 themes/Bear2/openbox-3/max.xbm \
430 themes/Bear2/openbox-3/shade_pressed.xbm \
431 themes/Bear2/openbox-3/shade.xbm \
432 themes/Bear2/openbox-3/themerc
434 orang_themedir = $(themedir)/Orang/openbox-3
435 dist_orang_theme_DATA= \
436 themes/Orang/openbox-3/themerc
438 onyx_themedir = $(themedir)/Onyx/openbox-3
439 dist_onyx_theme_DATA= \
440 themes/Onyx/openbox-3/themerc
442 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
443 dist_onyxcitrus_theme_DATA= \
444 themes/Onyx-Citrus/openbox-3/themerc
446 syscrash_themedir = $(themedir)/Syscrash/openbox-3
447 dist_syscrash_theme_DATA= \
448 themes/Syscrash/openbox-3/max_disabled.xbm \
449 themes/Syscrash/openbox-3/max_pressed.xbm \
450 themes/Syscrash/openbox-3/max_toggled.xbm \
451 themes/Syscrash/openbox-3/max.xbm \
452 themes/Syscrash/openbox-3/themerc
456 rrpubinclude_HEADERS = \
460 obrender/gradient.h \
462 obrender/instance.h \
468 obtpubinclude_HEADERS = \
482 nodist_pkgconfig_DATA = \
483 obrender/obrender-3.5.pc \
499 -e 's!@version\@!$(VERSION)!' \
500 -e 's!@configdir\@!$(configdir)!' \
501 -e 's!@rcdir\@!$(rcdir)!' \
502 -e 's!@libexecdir\@!$(libexecdir)!' \
503 -e 's!@bindir\@!$(bindir)!'
505 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
506 @echo make: creating $@
507 @test -d $(shell dirname $(top_builddir)/$@) || \
508 mkdir $(shell dirname $(top_builddir)/$@)
509 @$(edit) $< >$(top_builddir)/$@
511 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
512 @echo make: creating $@
513 @test -d $(shell dirname $(top_builddir)/$@) || \
514 mkdir $(shell dirname $(top_builddir)/$@)
515 @$(edit) $< >$(top_builddir)/$@
517 %.desktop: %.desktop.in Makefile
518 @echo make: creating $@
521 %-session: %-session.in Makefile
522 @echo make: creating $@
526 @echo make: creating $@
527 @docbook-to-man $< >$@
530 @echo make: creating $@
533 dist_gnomewmfiles_DATA = \
534 data/gnome-wm-properties/openbox.desktop
536 nodist_xsessions_DATA = \
537 data/xsession/openbox.desktop \
538 data/xsession/openbox-gnome.desktop \
539 data/xsession/openbox-kde.desktop
544 data/autostart/autostart.in \
545 data/autostart/openbox-autostart.in \
546 data/xsession/openbox.desktop.in \
547 data/xsession/openbox-gnome.desktop.in \
548 data/xsession/openbox-kde.desktop.in \
549 data/xsession/openbox-session.in \
550 data/xsession/openbox-gnome-session.in \
551 data/xsession/openbox-kde-session.in \
554 doc/openbox-session.1.sgml \
555 doc/openbox-session.1.in \
556 doc/openbox-gnome-session.1.sgml \
557 doc/openbox-gnome-session.1.in \
558 doc/openbox-kde-session.1.sgml \
559 doc/openbox-kde-session.1.in \
562 obrender/version.h.in \
563 obrender/obrender-3.5.pc.in \
566 tools/themeupdate/themeupdate.py \
592 doc/rc-mouse-focus.xml
596 doc/openbox-session.1 \
597 doc/openbox-gnome-session.1 \
598 doc/openbox-kde-session.1 \
604 # make clean doesn't delete these for some reason, even though they are
608 $(nodist_bin_SCRIPTS) \
609 $(nodist_xsessions_DATA) \
610 $(nodist_rc_SCRIPTS) \
611 $(nodist_libexec_SCRIPTS)
614 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
617 for d in . m4 po obrender parser obt openbox; do \
618 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \