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/shadelowerraise.c \
233 openbox/actions/showdesktop.c \
234 openbox/actions/showmenu.c \
235 openbox/actions/unfocus.c \
238 openbox/actions_list.c \
239 openbox/actions_list.h \
240 openbox/actions_parser.c \
241 openbox/actions_parser.h \
242 openbox/actions_value.c \
243 openbox/actions_value.h \
244 openbox/apps_menu.c \
245 openbox/apps_menu.h \
248 openbox/client_list_menu.c \
249 openbox/client_list_menu.h \
250 openbox/client_list_combined_menu.c \
251 openbox/client_list_combined_menu.h \
252 openbox/client_menu.c \
253 openbox/client_menu.h \
264 openbox/focus_cycle.c \
265 openbox/focus_cycle.h \
266 openbox/focus_cycle_indicator.c \
267 openbox/focus_cycle_indicator.h \
268 openbox/focus_cycle_popup.c \
269 openbox/focus_cycle_popup.h \
272 openbox/framerender.c \
273 openbox/framerender.h \
283 openbox/menuframe.c \
284 openbox/menuframe.h \
290 openbox/moveresize.c \
291 openbox/moveresize.h \
311 openbox/startupnotify.c \
312 openbox/startupnotify.h \
313 openbox/translate.c \
314 openbox/translate.h \
319 ## gnome-panel-control ##
321 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
323 tools_gnome_panel_control_gnome_panel_control_LDADD = \
325 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
326 tools/gnome-panel-control/gnome-panel-control.c
330 tools_obxprop_obxprop_CPPFLAGS = \
333 tools_obxprop_obxprop_LDADD = \
336 tools_obxprop_obxprop_SOURCES = \
337 tools/obxprop/obxprop.c
341 tools_gdm_control_gdm_control_CPPFLAGS = \
345 tools_gdm_control_gdm_control_LDADD = \
349 tools_gdm_control_gdm_control_SOURCES = \
350 tools/gdm-control/gdm-control.c
353 ## default button masks ##
355 data/xbm/bullet.xbm \
357 data/xbm/desk_toggled.xbm \
359 data/xbm/iconify.xbm \
360 data/xbm/max_toggled.xbm \
362 data/xbm/shade_toggled.xbm \
368 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
369 dist_clearlooks_theme_DATA= \
370 themes/Clearlooks/openbox-3/themerc
372 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
373 dist_clearlooks34_theme_DATA= \
374 themes/Clearlooks-3.4/openbox-3/themerc
376 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
377 dist_clearlooksolive_theme_DATA= \
378 themes/Clearlooks-Olive/openbox-3/themerc
380 mikachu_themedir = $(themedir)/Mikachu/openbox-3
381 dist_mikachu_theme_DATA= \
382 themes/Mikachu/openbox-3/bullet.xbm \
383 themes/Mikachu/openbox-3/close.xbm \
384 themes/Mikachu/openbox-3/desk.xbm \
385 themes/Mikachu/openbox-3/iconify.xbm \
386 themes/Mikachu/openbox-3/max.xbm \
387 themes/Mikachu/openbox-3/themerc
390 natura_themedir = $(themedir)/Natura/openbox-3
391 dist_natura_theme_DATA= \
392 themes/Natura/openbox-3/close_hover.xbm \
393 themes/Natura/openbox-3/close.xbm \
394 themes/Natura/openbox-3/desk_toggled.xbm \
395 themes/Natura/openbox-3/desk_hover.xbm \
396 themes/Natura/openbox-3/desk.xbm \
397 themes/Natura/openbox-3/iconify_hover.xbm \
398 themes/Natura/openbox-3/iconify.xbm \
399 themes/Natura/openbox-3/max_hover.xbm \
400 themes/Natura/openbox-3/max_toggled.xbm \
401 themes/Natura/openbox-3/max.xbm \
402 themes/Natura/openbox-3/shade.xbm \
403 themes/Natura/openbox-3/shade_hover.xbm \
404 themes/Natura/openbox-3/themerc
406 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
407 dist_artwizboxed_theme_DATA= \
408 themes/Artwiz-boxed/openbox-3/themerc
410 bear2_themedir = $(themedir)/Bear2/openbox-3
411 dist_bear2_theme_DATA= \
412 themes/Bear2/openbox-3/close_pressed.xbm \
413 themes/Bear2/openbox-3/close.xbm \
414 themes/Bear2/openbox-3/desk_toggled.xbm \
415 themes/Bear2/openbox-3/desk.xbm \
416 themes/Bear2/openbox-3/iconify_pressed.xbm \
417 themes/Bear2/openbox-3/iconify.xbm \
418 themes/Bear2/openbox-3/max_pressed.xbm \
419 themes/Bear2/openbox-3/max_toggled.xbm \
420 themes/Bear2/openbox-3/max.xbm \
421 themes/Bear2/openbox-3/shade_pressed.xbm \
422 themes/Bear2/openbox-3/shade.xbm \
423 themes/Bear2/openbox-3/themerc
425 orang_themedir = $(themedir)/Orang/openbox-3
426 dist_orang_theme_DATA= \
427 themes/Orang/openbox-3/themerc
429 onyx_themedir = $(themedir)/Onyx/openbox-3
430 dist_onyx_theme_DATA= \
431 themes/Onyx/openbox-3/themerc
433 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
434 dist_onyxcitrus_theme_DATA= \
435 themes/Onyx-Citrus/openbox-3/themerc
437 syscrash_themedir = $(themedir)/Syscrash/openbox-3
438 dist_syscrash_theme_DATA= \
439 themes/Syscrash/openbox-3/max_disabled.xbm \
440 themes/Syscrash/openbox-3/max_pressed.xbm \
441 themes/Syscrash/openbox-3/max_toggled.xbm \
442 themes/Syscrash/openbox-3/max.xbm \
443 themes/Syscrash/openbox-3/themerc
447 rrpubinclude_HEADERS = \
451 obrender/gradient.h \
453 obrender/instance.h \
459 obtpubinclude_HEADERS = \
473 nodist_pkgconfig_DATA = \
474 obrender/obrender-3.5.pc \
490 -e 's!@version\@!$(VERSION)!' \
491 -e 's!@configdir\@!$(configdir)!' \
492 -e 's!@rcdir\@!$(rcdir)!' \
493 -e 's!@libexecdir\@!$(libexecdir)!' \
494 -e 's!@bindir\@!$(bindir)!'
496 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
497 @echo make: creating $@
498 @test -d $(shell dirname $(top_builddir)/$@) || \
499 mkdir $(shell dirname $(top_builddir)/$@)
500 @$(edit) $< >$(top_builddir)/$@
502 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
503 @echo make: creating $@
504 @test -d $(shell dirname $(top_builddir)/$@) || \
505 mkdir $(shell dirname $(top_builddir)/$@)
506 @$(edit) $< >$(top_builddir)/$@
508 %.desktop: %.desktop.in Makefile
509 @echo make: creating $@
512 %-session: %-session.in Makefile
513 @echo make: creating $@
517 @echo make: creating $@
518 @docbook-to-man $< >$@
521 @echo make: creating $@
524 dist_gnomewmfiles_DATA = \
525 data/gnome-wm-properties/openbox.desktop
527 nodist_xsessions_DATA = \
528 data/xsession/openbox.desktop \
529 data/xsession/openbox-gnome.desktop \
530 data/xsession/openbox-kde.desktop
535 data/autostart/autostart.in \
536 data/autostart/openbox-autostart.in \
537 data/xsession/openbox.desktop.in \
538 data/xsession/openbox-gnome.desktop.in \
539 data/xsession/openbox-kde.desktop.in \
540 data/xsession/openbox-session.in \
541 data/xsession/openbox-gnome-session.in \
542 data/xsession/openbox-kde-session.in \
545 doc/openbox-session.1.sgml \
546 doc/openbox-session.1.in \
547 doc/openbox-gnome-session.1.sgml \
548 doc/openbox-gnome-session.1.in \
549 doc/openbox-kde-session.1.sgml \
550 doc/openbox-kde-session.1.in \
553 obrender/version.h.in \
554 obrender/obrender-3.5.pc.in \
557 tools/themeupdate/themeupdate.py \
583 doc/rc-mouse-focus.xml
587 doc/openbox-session.1 \
588 doc/openbox-gnome-session.1 \
589 doc/openbox-kde-session.1 \
595 # make clean doesn't delete these for some reason, even though they are
599 $(nodist_bin_SCRIPTS) \
600 $(nodist_xsessions_DATA) \
601 $(nodist_rc_SCRIPTS) \
602 $(nodist_libexec_SCRIPTS)
605 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
608 for d in . m4 po obrender parser obt openbox; do \
609 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \