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 gnomesessiondir = $(datadir)/gnome-session/sessions
10 gnomewmfilesdir = $(datadir)/gnome/wm-properties
11 pkgconfigdir = $(libdir)/pkgconfig
12 obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
13 rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/obrender
14 pixmapdir = $(datadir)/pixmaps
15 xsddir = $(datadir)/openbox
16 appsdir = $(datadir)/applications
20 AUTOMAKE_OPTIONS = subdir-objects foreign
22 ACLOCAL_AMFLAGS = -I m4
31 obrender/libobrender.la
35 tools/gdm-control/gdm-control \
36 tools/gnome-panel-control/gnome-panel-control \
39 nodist_bin_SCRIPTS = \
40 data/xsession/openbox-session \
41 data/xsession/openbox-gnome-session \
42 data/xsession/openbox-kde-session
48 data/autostart/autostart
50 dist_libexec_SCRIPTS = \
51 data/autostart/openbox-xdg-autostart
53 nodist_libexec_SCRIPTS = \
54 data/autostart/openbox-autostart
59 obrender_rendertest_CPPFLAGS = \
62 -DG_LOG_DOMAIN=\"RenderTest\"
63 obrender_rendertest_LDADD = \
65 obrender/libobrender.la \
70 obrender_rendertest_SOURCES = obrender/test.c
72 obrender_libobrender_la_CPPFLAGS = \
78 -DG_LOG_DOMAIN=\"ObRender\" \
79 -DDEFAULT_THEME=\"$(theme)\"
80 obrender_libobrender_la_LDFLAGS = \
81 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
82 obrender_libobrender_la_LIBADD = \
89 obrender_libobrender_la_SOURCES = \
103 obrender/imagecache.h \
104 obrender/imagecache.c \
105 obrender/instance.h \
106 obrender/instance.c \
116 obt_libobt_la_CPPFLAGS = \
124 -DG_LOG_DOMAIN=\"Obt\" \
125 -DLOCALEDIR=\"$(localedir)\" \
126 -DDATADIR=\"$(datadir)\" \
127 -DCONFIGDIR=\"$(configdir)\"
128 obt_libobt_la_LDFLAGS = \
129 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
130 obt_libobt_la_LIBADD = \
138 obt_libobt_la_SOURCES = \
163 openbox_openbox_CPPFLAGS = \
172 -DLOCALEDIR=\"$(localedir)\" \
173 -DDATADIR=\"$(datadir)\" \
174 -DCONFIGDIR=\"$(configdir)\" \
175 -DG_LOG_DOMAIN=\"Openbox\"
176 openbox_openbox_LDADD = \
187 obrender/libobrender.la \
189 openbox_openbox_LDFLAGS = -export-dynamic
190 openbox_openbox_SOURCES = \
192 openbox/actions/all.c \
193 openbox/actions/all.h \
194 openbox/actions/addremovedesktop.c \
195 openbox/actions/breakchroot.c \
196 openbox/actions/close.c \
197 openbox/actions/cyclewindows.c \
198 openbox/actions/debug.c \
199 openbox/actions/decorations.c \
200 openbox/actions/desktop.c \
201 openbox/actions/dock.c \
202 openbox/actions/dockautohide.c \
203 openbox/actions/directionalwindows.c \
204 openbox/actions/execute.c \
205 openbox/actions/exit.c \
206 openbox/actions/focus.c \
207 openbox/actions/focustobottom.c \
208 openbox/actions/fullscreen.c \
209 openbox/actions/growtoedge.c \
210 openbox/actions/iconify.c \
211 openbox/actions/if.c \
212 openbox/actions/kill.c \
213 openbox/actions/layer.c \
214 openbox/actions/lower.c \
215 openbox/actions/maximize.c \
216 openbox/actions/move.c \
217 openbox/actions/moverelative.c \
218 openbox/actions/moveresizeto.c \
219 openbox/actions/movetoedge.c \
220 openbox/actions/omnipresent.c \
221 openbox/actions/raise.c \
222 openbox/actions/raiselower.c \
223 openbox/actions/reconfigure.c \
224 openbox/actions/resize.c \
225 openbox/actions/resizerelative.c \
226 openbox/actions/restart.c \
227 openbox/actions/shade.c \
228 openbox/actions/shadelowerraise.c \
229 openbox/actions/showdesktop.c \
230 openbox/actions/showmenu.c \
231 openbox/actions/unfocus.c \
236 openbox/client_list_menu.c \
237 openbox/client_list_menu.h \
238 openbox/client_list_combined_menu.c \
239 openbox/client_list_combined_menu.h \
240 openbox/client_menu.c \
241 openbox/client_menu.h \
252 openbox/focus_cycle.c \
253 openbox/focus_cycle.h \
254 openbox/focus_cycle_indicator.c \
255 openbox/focus_cycle_indicator.h \
256 openbox/focus_cycle_popup.c \
257 openbox/focus_cycle_popup.h \
260 openbox/framerender.c \
261 openbox/framerender.h \
271 openbox/menuframe.c \
272 openbox/menuframe.h \
278 openbox/moveresize.c \
279 openbox/moveresize.h \
299 openbox/startupnotify.c \
300 openbox/startupnotify.h \
301 openbox/translate.c \
302 openbox/translate.h \
307 ## gnome-panel-control ##
309 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
311 tools_gnome_panel_control_gnome_panel_control_LDADD = \
313 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
314 tools/gnome-panel-control/gnome-panel-control.c
318 tools_obxprop_obxprop_CPPFLAGS = \
321 tools_obxprop_obxprop_LDADD = \
324 tools_obxprop_obxprop_SOURCES = \
325 tools/obxprop/obxprop.c
329 tools_gdm_control_gdm_control_CPPFLAGS = \
333 tools_gdm_control_gdm_control_LDADD = \
337 tools_gdm_control_gdm_control_SOURCES = \
338 tools/gdm-control/gdm-control.c
341 ## default button masks ##
343 data/xbm/bullet.xbm \
345 data/xbm/desk_toggled.xbm \
347 data/xbm/iconify.xbm \
348 data/xbm/max_toggled.xbm \
350 data/xbm/shade_toggled.xbm \
356 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
357 dist_clearlooks_theme_DATA= \
358 themes/Clearlooks/openbox-3/themerc
360 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
361 dist_clearlooks34_theme_DATA= \
362 themes/Clearlooks-3.4/openbox-3/themerc
364 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
365 dist_clearlooksolive_theme_DATA= \
366 themes/Clearlooks-Olive/openbox-3/themerc
368 mikachu_themedir = $(themedir)/Mikachu/openbox-3
369 dist_mikachu_theme_DATA= \
370 themes/Mikachu/openbox-3/bullet.xbm \
371 themes/Mikachu/openbox-3/close.xbm \
372 themes/Mikachu/openbox-3/desk.xbm \
373 themes/Mikachu/openbox-3/iconify.xbm \
374 themes/Mikachu/openbox-3/max.xbm \
375 themes/Mikachu/openbox-3/themerc
378 natura_themedir = $(themedir)/Natura/openbox-3
379 dist_natura_theme_DATA= \
380 themes/Natura/openbox-3/close_hover.xbm \
381 themes/Natura/openbox-3/close.xbm \
382 themes/Natura/openbox-3/desk_toggled.xbm \
383 themes/Natura/openbox-3/desk_hover.xbm \
384 themes/Natura/openbox-3/desk.xbm \
385 themes/Natura/openbox-3/iconify_hover.xbm \
386 themes/Natura/openbox-3/iconify.xbm \
387 themes/Natura/openbox-3/max_hover.xbm \
388 themes/Natura/openbox-3/max_toggled.xbm \
389 themes/Natura/openbox-3/max.xbm \
390 themes/Natura/openbox-3/shade.xbm \
391 themes/Natura/openbox-3/shade_hover.xbm \
392 themes/Natura/openbox-3/themerc
394 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
395 dist_artwizboxed_theme_DATA= \
396 themes/Artwiz-boxed/openbox-3/themerc
398 bear2_themedir = $(themedir)/Bear2/openbox-3
399 dist_bear2_theme_DATA= \
400 themes/Bear2/openbox-3/close_pressed.xbm \
401 themes/Bear2/openbox-3/close.xbm \
402 themes/Bear2/openbox-3/desk_toggled.xbm \
403 themes/Bear2/openbox-3/desk.xbm \
404 themes/Bear2/openbox-3/iconify_pressed.xbm \
405 themes/Bear2/openbox-3/iconify.xbm \
406 themes/Bear2/openbox-3/max_pressed.xbm \
407 themes/Bear2/openbox-3/max_toggled.xbm \
408 themes/Bear2/openbox-3/max.xbm \
409 themes/Bear2/openbox-3/shade_pressed.xbm \
410 themes/Bear2/openbox-3/shade.xbm \
411 themes/Bear2/openbox-3/themerc
413 orang_themedir = $(themedir)/Orang/openbox-3
414 dist_orang_theme_DATA= \
415 themes/Orang/openbox-3/themerc
417 onyx_themedir = $(themedir)/Onyx/openbox-3
418 dist_onyx_theme_DATA= \
419 themes/Onyx/openbox-3/themerc
421 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
422 dist_onyxcitrus_theme_DATA= \
423 themes/Onyx-Citrus/openbox-3/themerc
425 syscrash_themedir = $(themedir)/Syscrash/openbox-3
426 dist_syscrash_theme_DATA= \
427 themes/Syscrash/openbox-3/max_disabled.xbm \
428 themes/Syscrash/openbox-3/max_pressed.xbm \
429 themes/Syscrash/openbox-3/max_toggled.xbm \
430 themes/Syscrash/openbox-3/max.xbm \
431 themes/Syscrash/openbox-3/themerc
435 rrpubinclude_HEADERS = \
439 obrender/gradient.h \
441 obrender/instance.h \
447 obtpubinclude_HEADERS = \
459 nodist_pkgconfig_DATA = \
460 obrender/obrender-3.5.pc \
476 -e 's!@version\@!$(VERSION)!' \
477 -e 's!@configdir\@!$(configdir)!' \
478 -e 's!@rcdir\@!$(rcdir)!' \
479 -e 's!@libexecdir\@!$(libexecdir)!' \
480 -e 's!@bindir\@!$(bindir)!'
482 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
483 @echo make: creating $@
484 @test -d $(shell dirname $(top_builddir)/$@) || \
485 mkdir $(shell dirname $(top_builddir)/$@)
486 @$(edit) $< >$(top_builddir)/$@
488 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
489 @echo make: creating $@
490 @test -d $(shell dirname $(top_builddir)/$@) || \
491 mkdir $(shell dirname $(top_builddir)/$@)
492 @$(edit) $< >$(top_builddir)/$@
494 %.desktop: %.desktop.in Makefile
495 @echo make: creating $@
498 %-session: %-session.in Makefile
499 @echo make: creating $@
503 @echo make: creating $@
504 @docbook-to-man $< >$@
507 @echo make: creating $@
510 dist_gnomewmfiles_DATA = \
511 data/gnome-wm-properties/openbox.desktop
513 nodist_xsessions_DATA = \
514 data/xsession/openbox.desktop \
515 data/xsession/openbox-gnome.desktop \
516 data/xsession/openbox-kde.desktop
518 dist_gnomesession_DATA = \
519 data/gnome-session/openbox-gnome.session \
520 data/gnome-session/openbox-gnome-fallback.session
525 data/autostart/autostart.in \
526 data/autostart/openbox-autostart.in \
527 data/xsession/openbox.desktop.in \
528 data/xsession/openbox-gnome.desktop.in \
529 data/xsession/openbox-kde.desktop.in \
530 data/xsession/openbox-session.in \
531 data/xsession/openbox-gnome-session.in \
532 data/xsession/openbox-kde-session.in \
535 doc/openbox-session.1.sgml \
536 doc/openbox-session.1.in \
537 doc/openbox-gnome-session.1.sgml \
538 doc/openbox-gnome-session.1.in \
539 doc/openbox-kde-session.1.sgml \
540 doc/openbox-kde-session.1.in \
543 obrender/version.h.in \
544 obrender/obrender-3.5.pc.in \
547 tools/themeupdate/themeupdate.py \
573 doc/rc-mouse-focus.xml
577 doc/openbox-session.1 \
578 doc/openbox-gnome-session.1 \
579 doc/openbox-kde-session.1 \
585 # make clean doesn't delete these for some reason, even though they are
589 $(nodist_bin_SCRIPTS) \
590 $(nodist_xsessions_DATA) \
591 $(nodist_rc_SCRIPTS) \
592 $(nodist_libexec_SCRIPTS)
595 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
598 for d in . m4 po obrender parser obt openbox; do \
599 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \