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 = \
79 -DG_LOG_DOMAIN=\"ObRender\" \
80 -DDEFAULT_THEME=\"$(theme)\"
81 obrender_libobrender_la_LDFLAGS = \
82 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
83 obrender_libobrender_la_LIBADD = \
91 obrender_libobrender_la_SOURCES = \
100 obrender/gradient.c \
104 obrender/imagecache.h \
105 obrender/imagecache.c \
106 obrender/instance.h \
107 obrender/instance.c \
117 obt_libobt_la_CPPFLAGS = \
126 -DG_LOG_DOMAIN=\"Obt\" \
127 -DLOCALEDIR=\"$(localedir)\" \
128 -DDATADIR=\"$(datadir)\" \
129 -DCONFIGDIR=\"$(configdir)\"
130 obt_libobt_la_LDFLAGS = \
131 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
132 obt_libobt_la_LIBADD = \
141 obt_libobt_la_SOURCES = \
166 openbox_openbox_CPPFLAGS = \
175 -DLOCALEDIR=\"$(localedir)\" \
176 -DDATADIR=\"$(datadir)\" \
177 -DCONFIGDIR=\"$(configdir)\" \
178 -DG_LOG_DOMAIN=\"Openbox\"
179 openbox_openbox_LDADD = \
190 obrender/libobrender.la \
192 openbox_openbox_LDFLAGS = -export-dynamic
193 openbox_openbox_SOURCES = \
195 openbox/actions/all.c \
196 openbox/actions/all.h \
197 openbox/actions/addremovedesktop.c \
198 openbox/actions/breakchroot.c \
199 openbox/actions/close.c \
200 openbox/actions/cyclewindows.c \
201 openbox/actions/debug.c \
202 openbox/actions/decorations.c \
203 openbox/actions/desktop.c \
204 openbox/actions/dock.c \
205 openbox/actions/dockautohide.c \
206 openbox/actions/directionalwindows.c \
207 openbox/actions/execute.c \
208 openbox/actions/exit.c \
209 openbox/actions/focus.c \
210 openbox/actions/focustobottom.c \
211 openbox/actions/fullscreen.c \
212 openbox/actions/growtoedge.c \
213 openbox/actions/iconify.c \
214 openbox/actions/if.c \
215 openbox/actions/kill.c \
216 openbox/actions/layer.c \
217 openbox/actions/lower.c \
218 openbox/actions/maximize.c \
219 openbox/actions/move.c \
220 openbox/actions/moverelative.c \
221 openbox/actions/moveresizeto.c \
222 openbox/actions/movetoedge.c \
223 openbox/actions/omnipresent.c \
224 openbox/actions/raise.c \
225 openbox/actions/raiselower.c \
226 openbox/actions/reconfigure.c \
227 openbox/actions/resize.c \
228 openbox/actions/resizerelative.c \
229 openbox/actions/restart.c \
230 openbox/actions/shade.c \
231 openbox/actions/shadelowerraise.c \
232 openbox/actions/showdesktop.c \
233 openbox/actions/showmenu.c \
234 openbox/actions/unfocus.c \
239 openbox/client_list_menu.c \
240 openbox/client_list_menu.h \
241 openbox/client_list_combined_menu.c \
242 openbox/client_list_combined_menu.h \
243 openbox/client_menu.c \
244 openbox/client_menu.h \
255 openbox/focus_cycle.c \
256 openbox/focus_cycle.h \
257 openbox/focus_cycle_indicator.c \
258 openbox/focus_cycle_indicator.h \
259 openbox/focus_cycle_popup.c \
260 openbox/focus_cycle_popup.h \
263 openbox/framerender.c \
264 openbox/framerender.h \
274 openbox/menuframe.c \
275 openbox/menuframe.h \
281 openbox/moveresize.c \
282 openbox/moveresize.h \
290 openbox/place_overlap.c \
291 openbox/place_overlap.h \
304 openbox/startupnotify.c \
305 openbox/startupnotify.h \
306 openbox/translate.c \
307 openbox/translate.h \
312 ## gnome-panel-control ##
314 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
316 tools_gnome_panel_control_gnome_panel_control_LDADD = \
318 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
319 tools/gnome-panel-control/gnome-panel-control.c
323 tools_obxprop_obxprop_CPPFLAGS = \
326 tools_obxprop_obxprop_LDADD = \
329 tools_obxprop_obxprop_SOURCES = \
330 tools/obxprop/obxprop.c
334 tools_gdm_control_gdm_control_CPPFLAGS = \
338 tools_gdm_control_gdm_control_LDADD = \
342 tools_gdm_control_gdm_control_SOURCES = \
343 tools/gdm-control/gdm-control.c
346 ## default button masks ##
348 data/xbm/bullet.xbm \
350 data/xbm/desk_toggled.xbm \
352 data/xbm/iconify.xbm \
353 data/xbm/max_toggled.xbm \
355 data/xbm/shade_toggled.xbm \
361 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
362 dist_clearlooks_theme_DATA= \
363 themes/Clearlooks/openbox-3/themerc
365 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
366 dist_clearlooks34_theme_DATA= \
367 themes/Clearlooks-3.4/openbox-3/themerc
369 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
370 dist_clearlooksolive_theme_DATA= \
371 themes/Clearlooks-Olive/openbox-3/themerc
373 mikachu_themedir = $(themedir)/Mikachu/openbox-3
374 dist_mikachu_theme_DATA= \
375 themes/Mikachu/openbox-3/bullet.xbm \
376 themes/Mikachu/openbox-3/close.xbm \
377 themes/Mikachu/openbox-3/desk.xbm \
378 themes/Mikachu/openbox-3/iconify.xbm \
379 themes/Mikachu/openbox-3/max.xbm \
380 themes/Mikachu/openbox-3/themerc
383 natura_themedir = $(themedir)/Natura/openbox-3
384 dist_natura_theme_DATA= \
385 themes/Natura/openbox-3/close_hover.xbm \
386 themes/Natura/openbox-3/close.xbm \
387 themes/Natura/openbox-3/desk_toggled.xbm \
388 themes/Natura/openbox-3/desk_hover.xbm \
389 themes/Natura/openbox-3/desk.xbm \
390 themes/Natura/openbox-3/iconify_hover.xbm \
391 themes/Natura/openbox-3/iconify.xbm \
392 themes/Natura/openbox-3/max_hover.xbm \
393 themes/Natura/openbox-3/max_toggled.xbm \
394 themes/Natura/openbox-3/max.xbm \
395 themes/Natura/openbox-3/shade.xbm \
396 themes/Natura/openbox-3/shade_hover.xbm \
397 themes/Natura/openbox-3/themerc
399 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
400 dist_artwizboxed_theme_DATA= \
401 themes/Artwiz-boxed/openbox-3/themerc
403 bear2_themedir = $(themedir)/Bear2/openbox-3
404 dist_bear2_theme_DATA= \
405 themes/Bear2/openbox-3/close_pressed.xbm \
406 themes/Bear2/openbox-3/close.xbm \
407 themes/Bear2/openbox-3/desk_toggled.xbm \
408 themes/Bear2/openbox-3/desk.xbm \
409 themes/Bear2/openbox-3/iconify_pressed.xbm \
410 themes/Bear2/openbox-3/iconify.xbm \
411 themes/Bear2/openbox-3/max_pressed.xbm \
412 themes/Bear2/openbox-3/max_toggled.xbm \
413 themes/Bear2/openbox-3/max.xbm \
414 themes/Bear2/openbox-3/shade_pressed.xbm \
415 themes/Bear2/openbox-3/shade.xbm \
416 themes/Bear2/openbox-3/themerc
418 orang_themedir = $(themedir)/Orang/openbox-3
419 dist_orang_theme_DATA= \
420 themes/Orang/openbox-3/themerc
422 onyx_themedir = $(themedir)/Onyx/openbox-3
423 dist_onyx_theme_DATA= \
424 themes/Onyx/openbox-3/themerc
426 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
427 dist_onyxcitrus_theme_DATA= \
428 themes/Onyx-Citrus/openbox-3/themerc
430 syscrash_themedir = $(themedir)/Syscrash/openbox-3
431 dist_syscrash_theme_DATA= \
432 themes/Syscrash/openbox-3/max_disabled.xbm \
433 themes/Syscrash/openbox-3/max_pressed.xbm \
434 themes/Syscrash/openbox-3/max_toggled.xbm \
435 themes/Syscrash/openbox-3/max.xbm \
436 themes/Syscrash/openbox-3/themerc
440 rrpubinclude_HEADERS = \
444 obrender/gradient.h \
446 obrender/instance.h \
452 obtpubinclude_HEADERS = \
464 nodist_pkgconfig_DATA = \
465 obrender/obrender-3.5.pc \
481 -e 's!@version\@!$(VERSION)!' \
482 -e 's!@configdir\@!$(configdir)!' \
483 -e 's!@rcdir\@!$(rcdir)!' \
484 -e 's!@libexecdir\@!$(libexecdir)!' \
485 -e 's!@bindir\@!$(bindir)!'
487 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
488 @echo make: creating $@
489 @test -d $(shell dirname $(top_builddir)/$@) || \
490 mkdir $(shell dirname $(top_builddir)/$@)
491 @$(edit) $< >$(top_builddir)/$@
493 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
494 @echo make: creating $@
495 @test -d $(shell dirname $(top_builddir)/$@) || \
496 mkdir $(shell dirname $(top_builddir)/$@)
497 @$(edit) $< >$(top_builddir)/$@
499 %.desktop: %.desktop.in Makefile
500 @echo make: creating $@
503 %-session: %-session.in Makefile
504 @echo make: creating $@
508 @echo make: creating $@
509 @docbook-to-man $< >$@
512 @echo make: creating $@
515 dist_gnomewmfiles_DATA = \
516 data/gnome-wm-properties/openbox.desktop
518 nodist_xsessions_DATA = \
519 data/xsession/openbox.desktop \
520 data/xsession/openbox-gnome.desktop \
521 data/xsession/openbox-kde.desktop
523 dist_gnomesession_DATA = \
524 data/gnome-session/openbox-gnome.session \
525 data/gnome-session/openbox-gnome-fallback.session
530 data/autostart/autostart.in \
531 data/autostart/openbox-autostart.in \
532 data/xsession/openbox.desktop.in \
533 data/xsession/openbox-gnome.desktop.in \
534 data/xsession/openbox-kde.desktop.in \
535 data/xsession/openbox-session.in \
536 data/xsession/openbox-gnome-session.in \
537 data/xsession/openbox-kde-session.in \
540 doc/openbox-session.1.sgml \
541 doc/openbox-session.1.in \
542 doc/openbox-gnome-session.1.sgml \
543 doc/openbox-gnome-session.1.in \
544 doc/openbox-kde-session.1.sgml \
545 doc/openbox-kde-session.1.in \
548 obrender/version.h.in \
549 obrender/obrender-3.5.pc.in \
552 tools/themeupdate/themeupdate.py \
578 doc/rc-mouse-focus.xml
582 doc/openbox-session.1 \
583 doc/openbox-gnome-session.1 \
584 doc/openbox-kde-session.1 \
590 # make clean doesn't delete these for some reason, even though they are
594 $(nodist_bin_SCRIPTS) \
595 $(nodist_xsessions_DATA) \
596 $(nodist_rc_SCRIPTS) \
597 $(nodist_libexec_SCRIPTS)
600 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
603 for d in . m4 po obrender parser obt openbox; do \
604 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \