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 \
42 nodist_bin_SCRIPTS = \
43 data/xsession/openbox-session \
44 data/xsession/openbox-gnome-session \
45 data/xsession/openbox-kde-session
51 data/autostart/autostart
53 dist_libexec_SCRIPTS = \
54 data/autostart/openbox-xdg-autostart
56 nodist_libexec_SCRIPTS = \
57 data/autostart/openbox-autostart
62 obrender_rendertest_CPPFLAGS = \
65 -DG_LOG_DOMAIN=\"RenderTest\"
66 obrender_rendertest_LDADD = \
68 obrender/libobrender.la \
73 obrender_rendertest_SOURCES = obrender/test.c
75 obrender_libobrender_la_CPPFLAGS = \
82 -DG_LOG_DOMAIN=\"ObRender\" \
83 -DDEFAULT_THEME=\"$(theme)\"
84 obrender_libobrender_la_LDFLAGS = \
85 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
86 obrender_libobrender_la_LIBADD = \
94 obrender_libobrender_la_SOURCES = \
102 obrender/gradient.h \
103 obrender/gradient.c \
107 obrender/imagecache.h \
108 obrender/imagecache.c \
109 obrender/instance.h \
110 obrender/instance.c \
120 obt_libobt_la_CPPFLAGS = \
129 -DG_LOG_DOMAIN=\"Obt\" \
130 -DLOCALEDIR=\"$(localedir)\" \
131 -DDATADIR=\"$(datadir)\" \
132 -DCONFIGDIR=\"$(configdir)\"
133 obt_libobt_la_LDFLAGS = \
134 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
135 obt_libobt_la_LIBADD = \
144 obt_libobt_la_SOURCES = \
169 openbox_openbox_CPPFLAGS = \
178 -DLOCALEDIR=\"$(localedir)\" \
179 -DDATADIR=\"$(datadir)\" \
180 -DCONFIGDIR=\"$(configdir)\" \
181 -DG_LOG_DOMAIN=\"Openbox\"
182 openbox_openbox_LDADD = \
193 obrender/libobrender.la \
195 openbox_openbox_LDFLAGS = -export-dynamic
196 openbox_openbox_SOURCES = \
198 openbox/actions/all.c \
199 openbox/actions/all.h \
200 openbox/actions/addremovedesktop.c \
201 openbox/actions/breakchroot.c \
202 openbox/actions/close.c \
203 openbox/actions/cyclewindows.c \
204 openbox/actions/debug.c \
205 openbox/actions/decorations.c \
206 openbox/actions/desktop.c \
207 openbox/actions/dock.c \
208 openbox/actions/dockautohide.c \
209 openbox/actions/directionalwindows.c \
210 openbox/actions/execute.c \
211 openbox/actions/exit.c \
212 openbox/actions/focus.c \
213 openbox/actions/focusfallback.c \
214 openbox/actions/focustobottom.c \
215 openbox/actions/fullscreen.c \
216 openbox/actions/growtoedge.c \
217 openbox/actions/iconify.c \
218 openbox/actions/if.c \
219 openbox/actions/kill.c \
220 openbox/actions/layer.c \
221 openbox/actions/lower.c \
222 openbox/actions/maximize.c \
223 openbox/actions/move.c \
224 openbox/actions/moverelative.c \
225 openbox/actions/moveresizeto.c \
226 openbox/actions/movetoedge.c \
227 openbox/actions/omnipresent.c \
228 openbox/actions/raise.c \
229 openbox/actions/raiselower.c \
230 openbox/actions/raisetemp.c \
231 openbox/actions/reconfigure.c \
232 openbox/actions/resize.c \
233 openbox/actions/resizerelative.c \
234 openbox/actions/restart.c \
235 openbox/actions/shade.c \
236 openbox/actions/shadelowerraise.c \
237 openbox/actions/showdesktop.c \
238 openbox/actions/showmenu.c \
239 openbox/actions/unfocus.c \
244 openbox/client_list_menu.c \
245 openbox/client_list_menu.h \
246 openbox/client_list_combined_menu.c \
247 openbox/client_list_combined_menu.h \
248 openbox/client_menu.c \
249 openbox/client_menu.h \
260 openbox/focus_cycle.c \
261 openbox/focus_cycle.h \
262 openbox/focus_cycle_indicator.c \
263 openbox/focus_cycle_indicator.h \
264 openbox/focus_cycle_popup.c \
265 openbox/focus_cycle_popup.h \
268 openbox/framerender.c \
269 openbox/framerender.h \
279 openbox/menuframe.c \
280 openbox/menuframe.h \
286 openbox/moveresize.c \
287 openbox/moveresize.h \
295 openbox/place_overlap.c \
296 openbox/place_overlap.h \
309 openbox/startupnotify.c \
310 openbox/startupnotify.h \
311 openbox/translate.c \
312 openbox/translate.h \
318 obt_obt_unittests_CPPFLAGS = \
320 -DLOCALEDIR=\"$(localedir)\" \
321 -DDATADIR=\"$(datadir)\" \
322 -DCONFIGDIR=\"$(configdir)\" \
323 -DG_LOG_DOMAIN=\"Obt-Unittests\"
324 obt_obt_unittests_LDADD = \
327 obt_obt_unittests_LDFLAGS = -export-dynamic
328 obt_obt_unittests_SOURCES = \
329 obt/unittest_base.h \
330 obt/unittest_base.c \
331 obt/bsearch_unittest.c
333 ## gnome-panel-control ##
335 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
337 tools_gnome_panel_control_gnome_panel_control_LDADD = \
339 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
340 tools/gnome-panel-control/gnome-panel-control.c
344 tools_obxprop_obxprop_CPPFLAGS = \
347 tools_obxprop_obxprop_LDADD = \
350 tools_obxprop_obxprop_SOURCES = \
351 tools/obxprop/obxprop.c
355 tools_gdm_control_gdm_control_CPPFLAGS = \
359 tools_gdm_control_gdm_control_LDADD = \
363 tools_gdm_control_gdm_control_SOURCES = \
364 tools/gdm-control/gdm-control.c
367 ## default button masks ##
369 data/xbm/bullet.xbm \
371 data/xbm/desk_toggled.xbm \
373 data/xbm/iconify.xbm \
374 data/xbm/max_toggled.xbm \
376 data/xbm/shade_toggled.xbm \
382 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
383 dist_clearlooks_theme_DATA= \
384 themes/Clearlooks/openbox-3/themerc
386 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
387 dist_clearlooks34_theme_DATA= \
388 themes/Clearlooks-3.4/openbox-3/themerc
390 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
391 dist_clearlooksolive_theme_DATA= \
392 themes/Clearlooks-Olive/openbox-3/themerc
394 mikachu_themedir = $(themedir)/Mikachu/openbox-3
395 dist_mikachu_theme_DATA= \
396 themes/Mikachu/openbox-3/bullet.xbm \
397 themes/Mikachu/openbox-3/close.xbm \
398 themes/Mikachu/openbox-3/desk.xbm \
399 themes/Mikachu/openbox-3/iconify.xbm \
400 themes/Mikachu/openbox-3/max.xbm \
401 themes/Mikachu/openbox-3/themerc
404 natura_themedir = $(themedir)/Natura/openbox-3
405 dist_natura_theme_DATA= \
406 themes/Natura/openbox-3/close_hover.xbm \
407 themes/Natura/openbox-3/close.xbm \
408 themes/Natura/openbox-3/desk_toggled.xbm \
409 themes/Natura/openbox-3/desk_hover.xbm \
410 themes/Natura/openbox-3/desk.xbm \
411 themes/Natura/openbox-3/iconify_hover.xbm \
412 themes/Natura/openbox-3/iconify.xbm \
413 themes/Natura/openbox-3/max_hover.xbm \
414 themes/Natura/openbox-3/max_toggled.xbm \
415 themes/Natura/openbox-3/max.xbm \
416 themes/Natura/openbox-3/shade.xbm \
417 themes/Natura/openbox-3/shade_hover.xbm \
418 themes/Natura/openbox-3/themerc
420 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
421 dist_artwizboxed_theme_DATA= \
422 themes/Artwiz-boxed/openbox-3/themerc
424 bear2_themedir = $(themedir)/Bear2/openbox-3
425 dist_bear2_theme_DATA= \
426 themes/Bear2/openbox-3/close_pressed.xbm \
427 themes/Bear2/openbox-3/close.xbm \
428 themes/Bear2/openbox-3/desk_toggled.xbm \
429 themes/Bear2/openbox-3/desk.xbm \
430 themes/Bear2/openbox-3/iconify_pressed.xbm \
431 themes/Bear2/openbox-3/iconify.xbm \
432 themes/Bear2/openbox-3/max_pressed.xbm \
433 themes/Bear2/openbox-3/max_toggled.xbm \
434 themes/Bear2/openbox-3/max.xbm \
435 themes/Bear2/openbox-3/shade_pressed.xbm \
436 themes/Bear2/openbox-3/shade.xbm \
437 themes/Bear2/openbox-3/themerc
439 orang_themedir = $(themedir)/Orang/openbox-3
440 dist_orang_theme_DATA= \
441 themes/Orang/openbox-3/themerc
443 onyx_themedir = $(themedir)/Onyx/openbox-3
444 dist_onyx_theme_DATA= \
445 themes/Onyx/openbox-3/themerc
447 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
448 dist_onyxcitrus_theme_DATA= \
449 themes/Onyx-Citrus/openbox-3/themerc
451 syscrash_themedir = $(themedir)/Syscrash/openbox-3
452 dist_syscrash_theme_DATA= \
453 themes/Syscrash/openbox-3/max_disabled.xbm \
454 themes/Syscrash/openbox-3/max_pressed.xbm \
455 themes/Syscrash/openbox-3/max_toggled.xbm \
456 themes/Syscrash/openbox-3/max.xbm \
457 themes/Syscrash/openbox-3/themerc
461 rrpubinclude_HEADERS = \
465 obrender/gradient.h \
467 obrender/instance.h \
473 obtpubinclude_HEADERS = \
485 nodist_pkgconfig_DATA = \
486 obrender/obrender-3.5.pc \
502 -e 's!@version\@!$(VERSION)!' \
503 -e 's!@configdir\@!$(configdir)!' \
504 -e 's!@rcdir\@!$(rcdir)!' \
505 -e 's!@libexecdir\@!$(libexecdir)!' \
506 -e 's!@bindir\@!$(bindir)!'
508 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
509 @echo make: creating $@
510 @test -d $(shell dirname $(top_builddir)/$@) || \
511 mkdir $(shell dirname $(top_builddir)/$@)
512 @$(edit) $< >$(top_builddir)/$@
514 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
515 @echo make: creating $@
516 @test -d $(shell dirname $(top_builddir)/$@) || \
517 mkdir $(shell dirname $(top_builddir)/$@)
518 @$(edit) $< >$(top_builddir)/$@
520 %.desktop: %.desktop.in Makefile
521 @echo make: creating $@
524 %-session: %-session.in Makefile
525 @echo make: creating $@
529 @echo make: creating $@
530 @docbook-to-man $< >$@
533 @echo make: creating $@
536 dist_gnomewmfiles_DATA = \
537 data/gnome-wm-properties/openbox.desktop
539 nodist_xsessions_DATA = \
540 data/xsession/openbox.desktop \
541 data/xsession/openbox-gnome.desktop \
542 data/xsession/openbox-kde.desktop
544 dist_gnomesession_DATA = \
545 data/gnome-session/openbox-gnome.session \
546 data/gnome-session/openbox-gnome-fallback.session
551 data/autostart/autostart.in \
552 data/autostart/openbox-autostart.in \
553 data/xsession/openbox.desktop.in \
554 data/xsession/openbox-gnome.desktop.in \
555 data/xsession/openbox-kde.desktop.in \
556 data/xsession/openbox-session.in \
557 data/xsession/openbox-gnome-session.in \
558 data/xsession/openbox-kde-session.in \
561 doc/openbox-session.1.sgml \
562 doc/openbox-session.1.in \
563 doc/openbox-gnome-session.1.sgml \
564 doc/openbox-gnome-session.1.in \
565 doc/openbox-kde-session.1.sgml \
566 doc/openbox-kde-session.1.in \
569 obrender/version.h.in \
570 obrender/obrender-3.5.pc.in \
573 tools/themeupdate/themeupdate.py \
599 doc/rc-mouse-focus.xml
603 doc/openbox-session.1 \
604 doc/openbox-gnome-session.1 \
605 doc/openbox-kde-session.1 \
611 # make clean doesn't delete these for some reason, even though they are
615 $(nodist_bin_SCRIPTS) \
616 $(nodist_xsessions_DATA) \
617 $(nodist_rc_SCRIPTS) \
618 $(nodist_libexec_SCRIPTS)
621 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
624 for d in . m4 po obrender parser obt openbox; do \
625 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \