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/lock.c \
222 openbox/actions/lower.c \
223 openbox/actions/maximize.c \
224 openbox/actions/move.c \
225 openbox/actions/moverelative.c \
226 openbox/actions/moveresizeto.c \
227 openbox/actions/movetoedge.c \
228 openbox/actions/omnipresent.c \
229 openbox/actions/raise.c \
230 openbox/actions/raiselower.c \
231 openbox/actions/raisetemp.c \
232 openbox/actions/reconfigure.c \
233 openbox/actions/resize.c \
234 openbox/actions/resizerelative.c \
235 openbox/actions/restart.c \
236 openbox/actions/sendkeyevent.c \
237 openbox/actions/shade.c \
238 openbox/actions/shadelowerraise.c \
239 openbox/actions/showdesktop.c \
240 openbox/actions/showmenu.c \
241 openbox/actions/unfocus.c \
246 openbox/client_list_menu.c \
247 openbox/client_list_menu.h \
248 openbox/client_list_combined_menu.c \
249 openbox/client_list_combined_menu.h \
250 openbox/client_menu.c \
251 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 \
299 openbox/place_overlap.c \
300 openbox/place_overlap.h \
313 openbox/startupnotify.c \
314 openbox/startupnotify.h \
315 openbox/translate.c \
316 openbox/translate.h \
322 obt_obt_unittests_CPPFLAGS = \
324 -DLOCALEDIR=\"$(localedir)\" \
325 -DDATADIR=\"$(datadir)\" \
326 -DCONFIGDIR=\"$(configdir)\" \
327 -DG_LOG_DOMAIN=\"Obt-Unittests\"
328 obt_obt_unittests_LDADD = \
331 obt_obt_unittests_LDFLAGS = -export-dynamic
332 obt_obt_unittests_SOURCES = \
333 obt/unittest_base.c \
334 obt/bsearch_unittest.c
336 ## gnome-panel-control ##
338 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
340 tools_gnome_panel_control_gnome_panel_control_LDADD = \
342 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
343 tools/gnome-panel-control/gnome-panel-control.c
347 tools_obxprop_obxprop_CPPFLAGS = \
350 tools_obxprop_obxprop_LDADD = \
353 tools_obxprop_obxprop_SOURCES = \
354 tools/obxprop/obxprop.c
358 tools_gdm_control_gdm_control_CPPFLAGS = \
362 tools_gdm_control_gdm_control_LDADD = \
366 tools_gdm_control_gdm_control_SOURCES = \
367 tools/gdm-control/gdm-control.c
370 ## default button masks ##
372 data/xbm/bullet.xbm \
374 data/xbm/desk_toggled.xbm \
376 data/xbm/iconify.xbm \
377 data/xbm/max_toggled.xbm \
379 data/xbm/shade_toggled.xbm \
385 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
386 dist_clearlooks_theme_DATA= \
387 themes/Clearlooks/openbox-3/themerc
389 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
390 dist_clearlooks34_theme_DATA= \
391 themes/Clearlooks-3.4/openbox-3/themerc
393 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
394 dist_clearlooksolive_theme_DATA= \
395 themes/Clearlooks-Olive/openbox-3/themerc
397 mikachu_themedir = $(themedir)/Mikachu/openbox-3
398 dist_mikachu_theme_DATA= \
399 themes/Mikachu/openbox-3/bullet.xbm \
400 themes/Mikachu/openbox-3/close.xbm \
401 themes/Mikachu/openbox-3/desk.xbm \
402 themes/Mikachu/openbox-3/iconify.xbm \
403 themes/Mikachu/openbox-3/max.xbm \
404 themes/Mikachu/openbox-3/themerc
407 natura_themedir = $(themedir)/Natura/openbox-3
408 dist_natura_theme_DATA= \
409 themes/Natura/openbox-3/close_hover.xbm \
410 themes/Natura/openbox-3/close.xbm \
411 themes/Natura/openbox-3/desk_toggled.xbm \
412 themes/Natura/openbox-3/desk_hover.xbm \
413 themes/Natura/openbox-3/desk.xbm \
414 themes/Natura/openbox-3/iconify_hover.xbm \
415 themes/Natura/openbox-3/iconify.xbm \
416 themes/Natura/openbox-3/max_hover.xbm \
417 themes/Natura/openbox-3/max_toggled.xbm \
418 themes/Natura/openbox-3/max.xbm \
419 themes/Natura/openbox-3/shade.xbm \
420 themes/Natura/openbox-3/shade_hover.xbm \
421 themes/Natura/openbox-3/themerc
423 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
424 dist_artwizboxed_theme_DATA= \
425 themes/Artwiz-boxed/openbox-3/themerc
427 bear2_themedir = $(themedir)/Bear2/openbox-3
428 dist_bear2_theme_DATA= \
429 themes/Bear2/openbox-3/close_pressed.xbm \
430 themes/Bear2/openbox-3/close.xbm \
431 themes/Bear2/openbox-3/desk_toggled.xbm \
432 themes/Bear2/openbox-3/desk.xbm \
433 themes/Bear2/openbox-3/iconify_pressed.xbm \
434 themes/Bear2/openbox-3/iconify.xbm \
435 themes/Bear2/openbox-3/max_pressed.xbm \
436 themes/Bear2/openbox-3/max_toggled.xbm \
437 themes/Bear2/openbox-3/max.xbm \
438 themes/Bear2/openbox-3/shade_pressed.xbm \
439 themes/Bear2/openbox-3/shade.xbm \
440 themes/Bear2/openbox-3/themerc
442 orang_themedir = $(themedir)/Orang/openbox-3
443 dist_orang_theme_DATA= \
444 themes/Orang/openbox-3/themerc
446 onyx_themedir = $(themedir)/Onyx/openbox-3
447 dist_onyx_theme_DATA= \
448 themes/Onyx/openbox-3/themerc
450 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
451 dist_onyxcitrus_theme_DATA= \
452 themes/Onyx-Citrus/openbox-3/themerc
454 syscrash_themedir = $(themedir)/Syscrash/openbox-3
455 dist_syscrash_theme_DATA= \
456 themes/Syscrash/openbox-3/max_disabled.xbm \
457 themes/Syscrash/openbox-3/max_pressed.xbm \
458 themes/Syscrash/openbox-3/max_toggled.xbm \
459 themes/Syscrash/openbox-3/max.xbm \
460 themes/Syscrash/openbox-3/themerc
464 rrpubinclude_HEADERS = \
468 obrender/gradient.h \
470 obrender/instance.h \
476 obtpubinclude_HEADERS = \
488 nodist_pkgconfig_DATA = \
489 obrender/obrender-3.5.pc \
505 -e 's!@version\@!$(VERSION)!' \
506 -e 's!@configdir\@!$(configdir)!' \
507 -e 's!@rcdir\@!$(rcdir)!' \
508 -e 's!@libexecdir\@!$(libexecdir)!' \
509 -e 's!@bindir\@!$(bindir)!'
511 data/autostart/autostart: $(top_srcdir)/data/autostart/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 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
518 @echo make: creating $@
519 @test -d $(shell dirname $(top_builddir)/$@) || \
520 mkdir $(shell dirname $(top_builddir)/$@)
521 @$(edit) $< >$(top_builddir)/$@
523 %.desktop: %.desktop.in Makefile
524 @echo make: creating $@
527 %-session: %-session.in Makefile
528 @echo make: creating $@
532 @echo make: creating $@
533 @docbook-to-man $< >$@
536 @echo make: creating $@
539 dist_gnomewmfiles_DATA = \
540 data/gnome-wm-properties/openbox.desktop
542 nodist_xsessions_DATA = \
543 data/xsession/openbox.desktop \
544 data/xsession/openbox-gnome.desktop \
545 data/xsession/openbox-kde.desktop
547 dist_gnomesession_DATA = \
548 data/gnome-session/openbox-gnome.session \
549 data/gnome-session/openbox-gnome-fallback.session
554 data/autostart/autostart.in \
555 data/autostart/openbox-autostart.in \
556 data/xsession/openbox.desktop.in \
557 data/xsession/openbox-gnome.desktop.in \
558 data/xsession/openbox-kde.desktop.in \
559 data/xsession/openbox-session.in \
560 data/xsession/openbox-gnome-session.in \
561 data/xsession/openbox-kde-session.in \
564 doc/openbox-session.1.sgml \
565 doc/openbox-session.1.in \
566 doc/openbox-gnome-session.1.sgml \
567 doc/openbox-gnome-session.1.in \
568 doc/openbox-kde-session.1.sgml \
569 doc/openbox-kde-session.1.in \
572 obrender/version.h.in \
573 obrender/obrender-3.5.pc.in \
576 tools/themeupdate/themeupdate.py \
602 doc/rc-mouse-focus.xml
606 doc/openbox-session.1 \
607 doc/openbox-gnome-session.1 \
608 doc/openbox-kde-session.1 \
614 # make clean doesn't delete these for some reason, even though they are
618 $(nodist_bin_SCRIPTS) \
619 $(nodist_xsessions_DATA) \
620 $(nodist_rc_SCRIPTS) \
621 $(nodist_libexec_SCRIPTS)
624 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
627 for d in . m4 po obrender parser obt openbox; do \
628 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \