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@/render
13 pixmapdir = $(datadir)/pixmaps
14 xsddir = $(datadir)/openbox
15 secretbindir = $(libdir)/openbox
19 AUTOMAKE_OPTIONS = subdir-objects foreign
21 ACLOCAL_AMFLAGS = -I m4
34 tools/gdm-control/gdm-control \
35 tools/gnome-panel-control/gnome-panel-control
37 dist_secretbin_SCRIPTS = \
38 tools/xdg-autostart/xdg-autostart
40 nodist_bin_SCRIPTS = \
41 data/xsession/openbox-session \
42 data/xsession/openbox-gnome-session \
43 data/xsession/openbox-kde-session
47 render_rendertest_CPPFLAGS = \
50 -DG_LOG_DOMAIN=\"RenderTest\"
51 render_rendertest_LDADD = \
53 render/libobrender.la \
58 render_rendertest_SOURCES = render/test.c
60 render_libobrender_la_CPPFLAGS = \
65 -DG_LOG_DOMAIN=\"ObRender\" \
66 -DDEFAULT_THEME=\"$(theme)\"
67 render_libobrender_la_LDFLAGS = \
68 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
69 render_libobrender_la_LIBADD = \
75 render_libobrender_la_SOURCES = \
100 obt_libobt_la_CPPFLAGS = \
108 -DG_LOG_DOMAIN=\"Obt\" \
109 -DLOCALEDIR=\"$(localedir)\" \
110 -DDATADIR=\"$(datadir)\" \
111 -DCONFIGDIR=\"$(configdir)\"
112 obt_libobt_la_LDFLAGS = \
113 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
114 obt_libobt_la_LIBADD = \
122 obt_libobt_la_SOURCES = \
142 openbox_openbox_CPPFLAGS = \
152 -DLOCALEDIR=\"$(localedir)\" \
153 -DDATADIR=\"$(datadir)\" \
154 -DCONFIGDIR=\"$(configdir)\" \
155 -DG_LOG_DOMAIN=\"Openbox\"
156 openbox_openbox_LDADD = \
166 render/libobrender.la \
168 openbox_openbox_LDFLAGS = -export-dynamic
169 openbox_openbox_SOURCES = \
171 openbox/actions/all.c \
172 openbox/actions/all.h \
173 openbox/actions/allclients.c \
174 openbox/actions/addremovedesktop.c \
175 openbox/actions/breakchroot.c \
176 openbox/actions/close.c \
177 openbox/actions/cyclewindows.c \
178 openbox/actions/debug.c \
179 openbox/actions/decorations.c \
180 openbox/actions/desktop.c \
181 openbox/actions/dockautohide.c \
182 openbox/actions/directionalwindows.c \
183 openbox/actions/execute.c \
184 openbox/actions/exit.c \
185 openbox/actions/focus.c \
186 openbox/actions/focusfallback.c \
187 openbox/actions/focustobottom.c \
188 openbox/actions/fullscreen.c \
189 openbox/actions/growtoedge.c \
190 openbox/actions/iconify.c \
191 openbox/actions/if.c \
192 openbox/actions/kill.c \
193 openbox/actions/layer.c \
194 openbox/actions/lock.c \
195 openbox/actions/session.c \
196 openbox/actions/lower.c \
197 openbox/actions/maximize.c \
198 openbox/actions/move.c \
199 openbox/actions/moverelative.c \
200 openbox/actions/moveresizeto.c \
201 openbox/actions/movetoedge.c \
202 openbox/actions/omnipresent.c \
203 openbox/actions/raise.c \
204 openbox/actions/raiselower.c \
205 openbox/actions/raisetemp.c \
206 openbox/actions/reconfigure.c \
207 openbox/actions/resize.c \
208 openbox/actions/resizerelative.c \
209 openbox/actions/restart.c \
210 openbox/actions/sendkeyevent.c \
211 openbox/actions/shade.c \
212 openbox/actions/showdesktop.c \
213 openbox/actions/showmenu.c \
214 openbox/actions/stop.c \
215 openbox/actions/unfocus.c \
220 openbox/client_list_menu.c \
221 openbox/client_list_menu.h \
222 openbox/client_list_combined_menu.c \
223 openbox/client_list_combined_menu.h \
224 openbox/client_menu.c \
225 openbox/client_menu.h \
238 openbox/focus_cycle.c \
239 openbox/focus_cycle.h \
240 openbox/focus_cycle_indicator.c \
241 openbox/focus_cycle_indicator.h \
242 openbox/focus_cycle_popup.c \
243 openbox/focus_cycle_popup.h \
246 openbox/framerender.c \
247 openbox/framerender.h \
255 openbox/imageload.h \
260 openbox/menuframe.c \
261 openbox/menuframe.h \
267 openbox/moveresize.c \
268 openbox/moveresize.h \
288 openbox/startupnotify.c \
289 openbox/startupnotify.h \
290 openbox/translate.c \
291 openbox/translate.h \
296 openbox_openbox_SOURCES += openbox/imageload.c
299 ## gnome-panel-control ##
301 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
303 tools_gnome_panel_control_gnome_panel_control_LDADD = \
305 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
306 tools/gnome-panel-control/gnome-panel-control.c
310 tools_gdm_control_gdm_control_CPPFLAGS = \
313 tools_gdm_control_gdm_control_LDADD = \
316 tools_gdm_control_gdm_control_SOURCES = \
317 tools/gdm-control/gdm-control.c
320 ## default button masks ##
322 data/xbm/bullet.xbm \
324 data/xbm/desk_toggled.xbm \
326 data/xbm/iconify.xbm \
327 data/xbm/max_toggled.xbm \
329 data/xbm/shade_toggled.xbm \
335 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
336 dist_clearlooks_theme_DATA= \
337 themes/Clearlooks/openbox-3/themerc
339 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
340 dist_clearlooks34_theme_DATA= \
341 themes/Clearlooks-3.4/openbox-3/themerc
343 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
344 dist_clearlooksolive_theme_DATA= \
345 themes/Clearlooks-Olive/openbox-3/themerc
347 mikachu_themedir = $(themedir)/Mikachu/openbox-3
348 dist_mikachu_theme_DATA= \
349 themes/Mikachu/openbox-3/bullet.xbm \
350 themes/Mikachu/openbox-3/close.xbm \
351 themes/Mikachu/openbox-3/desk.xbm \
352 themes/Mikachu/openbox-3/iconify.xbm \
353 themes/Mikachu/openbox-3/max.xbm \
354 themes/Mikachu/openbox-3/themerc
357 natura_themedir = $(themedir)/Natura/openbox-3
358 dist_natura_theme_DATA= \
359 themes/Natura/openbox-3/close_hover.xbm \
360 themes/Natura/openbox-3/close.xbm \
361 themes/Natura/openbox-3/desk_toggled.xbm \
362 themes/Natura/openbox-3/desk_hover.xbm \
363 themes/Natura/openbox-3/desk.xbm \
364 themes/Natura/openbox-3/iconify_hover.xbm \
365 themes/Natura/openbox-3/iconify.xbm \
366 themes/Natura/openbox-3/max_hover.xbm \
367 themes/Natura/openbox-3/max_toggled.xbm \
368 themes/Natura/openbox-3/max.xbm \
369 themes/Natura/openbox-3/shade.xbm \
370 themes/Natura/openbox-3/shade_hover.xbm \
371 themes/Natura/openbox-3/themerc
373 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
374 dist_artwizboxed_theme_DATA= \
375 themes/Artwiz-boxed/openbox-3/themerc
377 bear2_themedir = $(themedir)/Bear2/openbox-3
378 dist_bear2_theme_DATA= \
379 themes/Bear2/openbox-3/close_pressed.xbm \
380 themes/Bear2/openbox-3/close.xbm \
381 themes/Bear2/openbox-3/desk_toggled.xbm \
382 themes/Bear2/openbox-3/desk.xbm \
383 themes/Bear2/openbox-3/iconify_pressed.xbm \
384 themes/Bear2/openbox-3/iconify.xbm \
385 themes/Bear2/openbox-3/max_pressed.xbm \
386 themes/Bear2/openbox-3/max_toggled.xbm \
387 themes/Bear2/openbox-3/max.xbm \
388 themes/Bear2/openbox-3/shade_pressed.xbm \
389 themes/Bear2/openbox-3/shade.xbm \
390 themes/Bear2/openbox-3/themerc
392 orang_themedir = $(themedir)/Orang/openbox-3
393 dist_orang_theme_DATA= \
394 themes/Orang/openbox-3/themerc
396 onyx_themedir = $(themedir)/Onyx/openbox-3
397 dist_onyx_theme_DATA= \
398 themes/Onyx/openbox-3/themerc
400 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
401 dist_onyxcitrus_theme_DATA= \
402 themes/Onyx-Citrus/openbox-3/themerc
404 syscrash_themedir = $(themedir)/Syscrash/openbox-3
405 dist_syscrash_theme_DATA= \
406 themes/Syscrash/openbox-3/max_disabled.xbm \
407 themes/Syscrash/openbox-3/max_pressed.xbm \
408 themes/Syscrash/openbox-3/max_toggled.xbm \
409 themes/Syscrash/openbox-3/max.xbm \
410 themes/Syscrash/openbox-3/themerc
414 rrpubinclude_HEADERS = \
426 obtpubinclude_HEADERS = \
437 nodist_pkgconfig_DATA = \
438 render/obrender-4.0.pc \
454 -e 's!@version\@!$(VERSION)!' \
455 -e 's!@configdir\@!$(configdir)!' \
456 -e 's!@secretbindir\@!$(secretbindir)!' \
457 -e 's!@bindir\@!$(bindir)!'
459 data/autostart.sh: $(srcdir)/data/autostart.sh.in Makefile
460 @echo make: creating $@
463 %.desktop: %.desktop.in Makefile
464 @echo make: creating $@
467 %-session: %-session.in Makefile
468 @echo make: creating $@
472 @echo make: creating $@
473 @docbook-to-man $< >$@
476 @echo make: creating $@
479 dist_gnomewmfiles_DATA = \
480 data/gnome-wm-properties/openbox.desktop
482 nodist_xsessions_DATA = \
483 data/xsession/openbox.desktop \
484 data/xsession/openbox-gnome.desktop \
485 data/xsession/openbox-kde.desktop
488 data/autostart.sh.in \
491 data/xsession/openbox.desktop.in \
492 data/xsession/openbox-gnome.desktop.in \
493 data/xsession/openbox-kde.desktop.in \
494 data/xsession/openbox-session.in \
495 data/xsession/openbox-gnome-session.in \
496 data/xsession/openbox-kde-session.in \
499 doc/openbox-session.1.sgml \
500 doc/openbox-session.1.in \
501 doc/openbox-gnome-session.1.sgml \
502 doc/openbox-gnome-session.1.in \
503 doc/openbox-kde-session.1.sgml \
504 doc/openbox-kde-session.1.in \
505 render/version.h.in \
506 render/obrender-4.0.pc.in \
509 tools/themeupdate/themeupdate.py \
535 doc/rc-mouse-focus.xml
539 doc/openbox-session.1 \
540 doc/openbox-gnome-session.1 \
541 doc/openbox-kde-session.1
546 # make clean doesn't delete these for some reason, even though they are
550 doc/openbox-session.1 \
551 doc/openbox-gnome-session.1 \
552 doc/openbox-kde-session.1 \
553 data/xsession/openbox-session \
554 data/xsession/openbox-gnome-session \
555 data/xsession/openbox-kde-session \
556 data/xsession/openbox.desktop \
557 data/xsession/openbox-gnome.desktop \
558 data/xsession/openbox-kde.desktop
561 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
564 for d in . m4 po render parser obt openbox; do \
565 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \