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 = \
125 -DG_LOG_DOMAIN=\"Obt\" \
126 -DLOCALEDIR=\"$(localedir)\" \
127 -DDATADIR=\"$(datadir)\" \
128 -DCONFIGDIR=\"$(configdir)\"
129 obt_libobt_la_LDFLAGS = \
130 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
131 obt_libobt_la_LIBADD = \
140 obt_libobt_la_SOURCES = \
165 openbox_openbox_CPPFLAGS = \
174 -DLOCALEDIR=\"$(localedir)\" \
175 -DDATADIR=\"$(datadir)\" \
176 -DCONFIGDIR=\"$(configdir)\" \
177 -DG_LOG_DOMAIN=\"Openbox\"
178 openbox_openbox_LDADD = \
189 obrender/libobrender.la \
191 openbox_openbox_LDFLAGS = -export-dynamic
192 openbox_openbox_SOURCES = \
194 openbox/actions/all.c \
195 openbox/actions/all.h \
196 openbox/actions/addremovedesktop.c \
197 openbox/actions/breakchroot.c \
198 openbox/actions/close.c \
199 openbox/actions/cyclewindows.c \
200 openbox/actions/debug.c \
201 openbox/actions/decorations.c \
202 openbox/actions/desktop.c \
203 openbox/actions/dock.c \
204 openbox/actions/dockautohide.c \
205 openbox/actions/directionalwindows.c \
206 openbox/actions/execute.c \
207 openbox/actions/exit.c \
208 openbox/actions/focus.c \
209 openbox/actions/focustobottom.c \
210 openbox/actions/fullscreen.c \
211 openbox/actions/growtoedge.c \
212 openbox/actions/iconify.c \
213 openbox/actions/kill.c \
214 openbox/actions/layer.c \
215 openbox/actions/lower.c \
216 openbox/actions/maximize.c \
217 openbox/actions/move.c \
218 openbox/actions/moverelative.c \
219 openbox/actions/moveresizeto.c \
220 openbox/actions/movetoedge.c \
221 openbox/actions/omnipresent.c \
222 openbox/actions/raise.c \
223 openbox/actions/raiselower.c \
224 openbox/actions/reconfigure.c \
225 openbox/actions/resize.c \
226 openbox/actions/resizerelative.c \
227 openbox/actions/restart.c \
228 openbox/actions/shade.c \
229 openbox/actions/shadelowerraise.c \
230 openbox/actions/showdesktop.c \
231 openbox/actions/showmenu.c \
232 openbox/actions/unfocus.c \
235 openbox/actions_list.c \
236 openbox/actions_list.h \
237 openbox/actions_parser.c \
238 openbox/actions_parser.h \
239 openbox/actions_value.c \
240 openbox/actions_value.h \
243 openbox/client_list_menu.c \
244 openbox/client_list_menu.h \
245 openbox/client_list_combined_menu.c \
246 openbox/client_list_combined_menu.h \
247 openbox/client_menu.c \
248 openbox/client_menu.h \
259 openbox/focus_cycle.c \
260 openbox/focus_cycle.h \
261 openbox/focus_cycle_indicator.c \
262 openbox/focus_cycle_indicator.h \
263 openbox/focus_cycle_popup.c \
264 openbox/focus_cycle_popup.h \
267 openbox/framerender.c \
268 openbox/framerender.h \
278 openbox/menuframe.c \
279 openbox/menuframe.h \
285 openbox/moveresize.c \
286 openbox/moveresize.h \
306 openbox/startupnotify.c \
307 openbox/startupnotify.h \
308 openbox/translate.c \
309 openbox/translate.h \
314 ## gnome-panel-control ##
316 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
318 tools_gnome_panel_control_gnome_panel_control_LDADD = \
320 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
321 tools/gnome-panel-control/gnome-panel-control.c
325 tools_obxprop_obxprop_CPPFLAGS = \
328 tools_obxprop_obxprop_LDADD = \
331 tools_obxprop_obxprop_SOURCES = \
332 tools/obxprop/obxprop.c
336 tools_gdm_control_gdm_control_CPPFLAGS = \
340 tools_gdm_control_gdm_control_LDADD = \
344 tools_gdm_control_gdm_control_SOURCES = \
345 tools/gdm-control/gdm-control.c
348 ## default button masks ##
350 data/xbm/bullet.xbm \
352 data/xbm/desk_toggled.xbm \
354 data/xbm/iconify.xbm \
355 data/xbm/max_toggled.xbm \
357 data/xbm/shade_toggled.xbm \
363 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
364 dist_clearlooks_theme_DATA= \
365 themes/Clearlooks/openbox-3/themerc
367 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
368 dist_clearlooks34_theme_DATA= \
369 themes/Clearlooks-3.4/openbox-3/themerc
371 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
372 dist_clearlooksolive_theme_DATA= \
373 themes/Clearlooks-Olive/openbox-3/themerc
375 mikachu_themedir = $(themedir)/Mikachu/openbox-3
376 dist_mikachu_theme_DATA= \
377 themes/Mikachu/openbox-3/bullet.xbm \
378 themes/Mikachu/openbox-3/close.xbm \
379 themes/Mikachu/openbox-3/desk.xbm \
380 themes/Mikachu/openbox-3/iconify.xbm \
381 themes/Mikachu/openbox-3/max.xbm \
382 themes/Mikachu/openbox-3/themerc
385 natura_themedir = $(themedir)/Natura/openbox-3
386 dist_natura_theme_DATA= \
387 themes/Natura/openbox-3/close_hover.xbm \
388 themes/Natura/openbox-3/close.xbm \
389 themes/Natura/openbox-3/desk_toggled.xbm \
390 themes/Natura/openbox-3/desk_hover.xbm \
391 themes/Natura/openbox-3/desk.xbm \
392 themes/Natura/openbox-3/iconify_hover.xbm \
393 themes/Natura/openbox-3/iconify.xbm \
394 themes/Natura/openbox-3/max_hover.xbm \
395 themes/Natura/openbox-3/max_toggled.xbm \
396 themes/Natura/openbox-3/max.xbm \
397 themes/Natura/openbox-3/shade.xbm \
398 themes/Natura/openbox-3/shade_hover.xbm \
399 themes/Natura/openbox-3/themerc
401 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
402 dist_artwizboxed_theme_DATA= \
403 themes/Artwiz-boxed/openbox-3/themerc
405 bear2_themedir = $(themedir)/Bear2/openbox-3
406 dist_bear2_theme_DATA= \
407 themes/Bear2/openbox-3/close_pressed.xbm \
408 themes/Bear2/openbox-3/close.xbm \
409 themes/Bear2/openbox-3/desk_toggled.xbm \
410 themes/Bear2/openbox-3/desk.xbm \
411 themes/Bear2/openbox-3/iconify_pressed.xbm \
412 themes/Bear2/openbox-3/iconify.xbm \
413 themes/Bear2/openbox-3/max_pressed.xbm \
414 themes/Bear2/openbox-3/max_toggled.xbm \
415 themes/Bear2/openbox-3/max.xbm \
416 themes/Bear2/openbox-3/shade_pressed.xbm \
417 themes/Bear2/openbox-3/shade.xbm \
418 themes/Bear2/openbox-3/themerc
420 orang_themedir = $(themedir)/Orang/openbox-3
421 dist_orang_theme_DATA= \
422 themes/Orang/openbox-3/themerc
424 onyx_themedir = $(themedir)/Onyx/openbox-3
425 dist_onyx_theme_DATA= \
426 themes/Onyx/openbox-3/themerc
428 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
429 dist_onyxcitrus_theme_DATA= \
430 themes/Onyx-Citrus/openbox-3/themerc
432 syscrash_themedir = $(themedir)/Syscrash/openbox-3
433 dist_syscrash_theme_DATA= \
434 themes/Syscrash/openbox-3/max_disabled.xbm \
435 themes/Syscrash/openbox-3/max_pressed.xbm \
436 themes/Syscrash/openbox-3/max_toggled.xbm \
437 themes/Syscrash/openbox-3/max.xbm \
438 themes/Syscrash/openbox-3/themerc
442 rrpubinclude_HEADERS = \
446 obrender/gradient.h \
448 obrender/instance.h \
454 obtpubinclude_HEADERS = \
466 nodist_pkgconfig_DATA = \
467 obrender/obrender-3.5.pc \
483 -e 's!@version\@!$(VERSION)!' \
484 -e 's!@configdir\@!$(configdir)!' \
485 -e 's!@rcdir\@!$(rcdir)!' \
486 -e 's!@libexecdir\@!$(libexecdir)!' \
487 -e 's!@bindir\@!$(bindir)!'
489 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
490 @echo make: creating $@
491 @test -d $(shell dirname $(top_builddir)/$@) || \
492 mkdir $(shell dirname $(top_builddir)/$@)
493 @$(edit) $< >$(top_builddir)/$@
495 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
496 @echo make: creating $@
497 @test -d $(shell dirname $(top_builddir)/$@) || \
498 mkdir $(shell dirname $(top_builddir)/$@)
499 @$(edit) $< >$(top_builddir)/$@
501 %.desktop: %.desktop.in Makefile
502 @echo make: creating $@
505 %-session: %-session.in Makefile
506 @echo make: creating $@
510 @echo make: creating $@
511 @docbook-to-man $< >$@
514 @echo make: creating $@
517 dist_gnomewmfiles_DATA = \
518 data/gnome-wm-properties/openbox.desktop
520 nodist_xsessions_DATA = \
521 data/xsession/openbox.desktop \
522 data/xsession/openbox-gnome.desktop \
523 data/xsession/openbox-kde.desktop
525 dist_gnomesession_DATA = \
526 data/gnome-session/openbox-gnome.session \
527 data/gnome-session/openbox-gnome-fallback.session
532 data/autostart/autostart.in \
533 data/autostart/openbox-autostart.in \
534 data/xsession/openbox.desktop.in \
535 data/xsession/openbox-gnome.desktop.in \
536 data/xsession/openbox-kde.desktop.in \
537 data/xsession/openbox-session.in \
538 data/xsession/openbox-gnome-session.in \
539 data/xsession/openbox-kde-session.in \
542 doc/openbox-session.1.sgml \
543 doc/openbox-session.1.in \
544 doc/openbox-gnome-session.1.sgml \
545 doc/openbox-gnome-session.1.in \
546 doc/openbox-kde-session.1.sgml \
547 doc/openbox-kde-session.1.in \
550 obrender/version.h.in \
551 obrender/obrender-3.5.pc.in \
554 tools/themeupdate/themeupdate.py \
580 doc/rc-mouse-focus.xml
584 doc/openbox-session.1 \
585 doc/openbox-gnome-session.1 \
586 doc/openbox-kde-session.1 \
592 # make clean doesn't delete these for some reason, even though they are
596 $(nodist_bin_SCRIPTS) \
597 $(nodist_xsessions_DATA) \
598 $(nodist_rc_SCRIPTS) \
599 $(nodist_libexec_SCRIPTS)
602 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
605 for d in . m4 po obrender parser obt openbox; do \
606 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \