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 gnomewmfilesdir = $(datadir)/gnome/wm-properties
10 pkgconfigdir = $(libdir)/pkgconfig
11 obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
12 rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/obrender
13 pixmapdir = $(datadir)/pixmaps
14 xsddir = $(datadir)/openbox
15 appsdir = $(datadir)/applications
19 AUTOMAKE_OPTIONS = subdir-objects foreign
21 ACLOCAL_AMFLAGS = -I m4
30 obrender/libobrender.la
34 tools/gdm-control/gdm-control \
35 tools/gnome-panel-control/gnome-panel-control \
38 nodist_bin_SCRIPTS = \
39 data/xsession/openbox-session \
40 data/xsession/openbox-gnome-session \
41 data/xsession/openbox-kde-session
47 data/autostart/autostart
49 dist_libexec_SCRIPTS = \
50 data/autostart/openbox-xdg-autostart
52 nodist_libexec_SCRIPTS = \
53 data/autostart/openbox-autostart
58 obrender_rendertest_CPPFLAGS = \
61 -DG_LOG_DOMAIN=\"RenderTest\"
62 obrender_rendertest_LDADD = \
64 obrender/libobrender.la \
69 obrender_rendertest_SOURCES = obrender/test.c
71 obrender_libobrender_la_CPPFLAGS = \
77 -DG_LOG_DOMAIN=\"ObRender\" \
78 -DDEFAULT_THEME=\"$(theme)\"
79 obrender_libobrender_la_LDFLAGS = \
80 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
81 obrender_libobrender_la_LIBADD = \
87 obrender_libobrender_la_SOURCES = \
101 obrender/imagecache.h \
102 obrender/imagecache.c \
103 obrender/instance.h \
104 obrender/instance.c \
114 obt_libobt_la_CPPFLAGS = \
122 -DG_LOG_DOMAIN=\"Obt\" \
123 -DLOCALEDIR=\"$(localedir)\" \
124 -DDATADIR=\"$(datadir)\" \
125 -DCONFIGDIR=\"$(configdir)\"
126 obt_libobt_la_LDFLAGS = \
127 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
128 obt_libobt_la_LIBADD = \
136 obt_libobt_la_SOURCES = \
161 openbox_openbox_CPPFLAGS = \
170 -DLOCALEDIR=\"$(localedir)\" \
171 -DDATADIR=\"$(datadir)\" \
172 -DCONFIGDIR=\"$(configdir)\" \
173 -DG_LOG_DOMAIN=\"Openbox\"
174 openbox_openbox_LDADD = \
185 obrender/libobrender.la \
187 openbox_openbox_LDFLAGS = -export-dynamic
188 openbox_openbox_SOURCES = \
190 openbox/actions/all.c \
191 openbox/actions/all.h \
192 openbox/actions/addremovedesktop.c \
193 openbox/actions/breakchroot.c \
194 openbox/actions/close.c \
195 openbox/actions/cyclewindows.c \
196 openbox/actions/debug.c \
197 openbox/actions/decorations.c \
198 openbox/actions/desktop.c \
199 openbox/actions/dock.c \
200 openbox/actions/dockautohide.c \
201 openbox/actions/directionalwindows.c \
202 openbox/actions/execute.c \
203 openbox/actions/exit.c \
204 openbox/actions/focus.c \
205 openbox/actions/focustobottom.c \
206 openbox/actions/fullscreen.c \
207 openbox/actions/growtoedge.c \
208 openbox/actions/iconify.c \
209 openbox/actions/if.c \
210 openbox/actions/kill.c \
211 openbox/actions/layer.c \
212 openbox/actions/lower.c \
213 openbox/actions/maximize.c \
214 openbox/actions/move.c \
215 openbox/actions/moverelative.c \
216 openbox/actions/moveresizeto.c \
217 openbox/actions/movetoedge.c \
218 openbox/actions/omnipresent.c \
219 openbox/actions/raise.c \
220 openbox/actions/raiselower.c \
221 openbox/actions/reconfigure.c \
222 openbox/actions/resize.c \
223 openbox/actions/resizerelative.c \
224 openbox/actions/restart.c \
225 openbox/actions/shade.c \
226 openbox/actions/shadelowerraise.c \
227 openbox/actions/showdesktop.c \
228 openbox/actions/showmenu.c \
229 openbox/actions/unfocus.c \
234 openbox/client_list_menu.c \
235 openbox/client_list_menu.h \
236 openbox/client_list_combined_menu.c \
237 openbox/client_list_combined_menu.h \
238 openbox/client_menu.c \
239 openbox/client_menu.h \
250 openbox/focus_cycle.c \
251 openbox/focus_cycle.h \
252 openbox/focus_cycle_indicator.c \
253 openbox/focus_cycle_indicator.h \
254 openbox/focus_cycle_popup.c \
255 openbox/focus_cycle_popup.h \
258 openbox/framerender.c \
259 openbox/framerender.h \
269 openbox/menuframe.c \
270 openbox/menuframe.h \
276 openbox/moveresize.c \
277 openbox/moveresize.h \
297 openbox/startupnotify.c \
298 openbox/startupnotify.h \
299 openbox/translate.c \
300 openbox/translate.h \
305 ## gnome-panel-control ##
307 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
309 tools_gnome_panel_control_gnome_panel_control_LDADD = \
311 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
312 tools/gnome-panel-control/gnome-panel-control.c
316 tools_obxprop_obxprop_CPPFLAGS = \
319 tools_obxprop_obxprop_LDADD = \
322 tools_obxprop_obxprop_SOURCES = \
323 tools/obxprop/obxprop.c
327 tools_gdm_control_gdm_control_CPPFLAGS = \
331 tools_gdm_control_gdm_control_LDADD = \
335 tools_gdm_control_gdm_control_SOURCES = \
336 tools/gdm-control/gdm-control.c
339 ## default button masks ##
341 data/xbm/bullet.xbm \
343 data/xbm/desk_toggled.xbm \
345 data/xbm/iconify.xbm \
346 data/xbm/max_toggled.xbm \
348 data/xbm/shade_toggled.xbm \
354 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
355 dist_clearlooks_theme_DATA= \
356 themes/Clearlooks/openbox-3/themerc
358 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
359 dist_clearlooks34_theme_DATA= \
360 themes/Clearlooks-3.4/openbox-3/themerc
362 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
363 dist_clearlooksolive_theme_DATA= \
364 themes/Clearlooks-Olive/openbox-3/themerc
366 mikachu_themedir = $(themedir)/Mikachu/openbox-3
367 dist_mikachu_theme_DATA= \
368 themes/Mikachu/openbox-3/bullet.xbm \
369 themes/Mikachu/openbox-3/close.xbm \
370 themes/Mikachu/openbox-3/desk.xbm \
371 themes/Mikachu/openbox-3/iconify.xbm \
372 themes/Mikachu/openbox-3/max.xbm \
373 themes/Mikachu/openbox-3/themerc
376 natura_themedir = $(themedir)/Natura/openbox-3
377 dist_natura_theme_DATA= \
378 themes/Natura/openbox-3/close_hover.xbm \
379 themes/Natura/openbox-3/close.xbm \
380 themes/Natura/openbox-3/desk_toggled.xbm \
381 themes/Natura/openbox-3/desk_hover.xbm \
382 themes/Natura/openbox-3/desk.xbm \
383 themes/Natura/openbox-3/iconify_hover.xbm \
384 themes/Natura/openbox-3/iconify.xbm \
385 themes/Natura/openbox-3/max_hover.xbm \
386 themes/Natura/openbox-3/max_toggled.xbm \
387 themes/Natura/openbox-3/max.xbm \
388 themes/Natura/openbox-3/shade.xbm \
389 themes/Natura/openbox-3/shade_hover.xbm \
390 themes/Natura/openbox-3/themerc
392 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
393 dist_artwizboxed_theme_DATA= \
394 themes/Artwiz-boxed/openbox-3/themerc
396 bear2_themedir = $(themedir)/Bear2/openbox-3
397 dist_bear2_theme_DATA= \
398 themes/Bear2/openbox-3/close_pressed.xbm \
399 themes/Bear2/openbox-3/close.xbm \
400 themes/Bear2/openbox-3/desk_toggled.xbm \
401 themes/Bear2/openbox-3/desk.xbm \
402 themes/Bear2/openbox-3/iconify_pressed.xbm \
403 themes/Bear2/openbox-3/iconify.xbm \
404 themes/Bear2/openbox-3/max_pressed.xbm \
405 themes/Bear2/openbox-3/max_toggled.xbm \
406 themes/Bear2/openbox-3/max.xbm \
407 themes/Bear2/openbox-3/shade_pressed.xbm \
408 themes/Bear2/openbox-3/shade.xbm \
409 themes/Bear2/openbox-3/themerc
411 orang_themedir = $(themedir)/Orang/openbox-3
412 dist_orang_theme_DATA= \
413 themes/Orang/openbox-3/themerc
415 onyx_themedir = $(themedir)/Onyx/openbox-3
416 dist_onyx_theme_DATA= \
417 themes/Onyx/openbox-3/themerc
419 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
420 dist_onyxcitrus_theme_DATA= \
421 themes/Onyx-Citrus/openbox-3/themerc
423 syscrash_themedir = $(themedir)/Syscrash/openbox-3
424 dist_syscrash_theme_DATA= \
425 themes/Syscrash/openbox-3/max_disabled.xbm \
426 themes/Syscrash/openbox-3/max_pressed.xbm \
427 themes/Syscrash/openbox-3/max_toggled.xbm \
428 themes/Syscrash/openbox-3/max.xbm \
429 themes/Syscrash/openbox-3/themerc
433 rrpubinclude_HEADERS = \
437 obrender/gradient.h \
439 obrender/instance.h \
445 obtpubinclude_HEADERS = \
457 nodist_pkgconfig_DATA = \
458 obrender/obrender-3.5.pc \
474 -e 's!@version\@!$(VERSION)!' \
475 -e 's!@configdir\@!$(configdir)!' \
476 -e 's!@rcdir\@!$(rcdir)!' \
477 -e 's!@libexecdir\@!$(libexecdir)!' \
478 -e 's!@bindir\@!$(bindir)!'
480 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
481 @echo make: creating $@
482 @test -d $(shell dirname $(top_builddir)/$@) || \
483 mkdir $(shell dirname $(top_builddir)/$@)
484 @$(edit) $< >$(top_builddir)/$@
486 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
487 @echo make: creating $@
488 @test -d $(shell dirname $(top_builddir)/$@) || \
489 mkdir $(shell dirname $(top_builddir)/$@)
490 @$(edit) $< >$(top_builddir)/$@
492 %.desktop: %.desktop.in Makefile
493 @echo make: creating $@
496 %-session: %-session.in Makefile
497 @echo make: creating $@
501 @echo make: creating $@
502 @docbook-to-man $< >$@
505 @echo make: creating $@
508 dist_gnomewmfiles_DATA = \
509 data/gnome-wm-properties/openbox.desktop
511 nodist_xsessions_DATA = \
512 data/xsession/openbox.desktop \
513 data/xsession/openbox-gnome.desktop \
514 data/xsession/openbox-kde.desktop
519 data/autostart/autostart.in \
520 data/autostart/openbox-autostart.in \
521 data/xsession/openbox.desktop.in \
522 data/xsession/openbox-gnome.desktop.in \
523 data/xsession/openbox-kde.desktop.in \
524 data/xsession/openbox-session.in \
525 data/xsession/openbox-gnome-session.in \
526 data/xsession/openbox-kde-session.in \
529 doc/openbox-session.1.sgml \
530 doc/openbox-session.1.in \
531 doc/openbox-gnome-session.1.sgml \
532 doc/openbox-gnome-session.1.in \
533 doc/openbox-kde-session.1.sgml \
534 doc/openbox-kde-session.1.in \
537 obrender/version.h.in \
538 obrender/obrender-3.5.pc.in \
541 tools/themeupdate/themeupdate.py \
567 doc/rc-mouse-focus.xml
571 doc/openbox-session.1 \
572 doc/openbox-gnome-session.1 \
573 doc/openbox-kde-session.1 \
579 # make clean doesn't delete these for some reason, even though they are
583 $(nodist_bin_SCRIPTS) \
584 $(nodist_xsessions_DATA) \
585 $(nodist_rc_SCRIPTS) \
586 $(nodist_libexec_SCRIPTS)
589 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
592 for d in . m4 po obrender parser obt openbox; do \
593 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \