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
18 AUTOMAKE_OPTIONS = subdir-objects foreign
20 ACLOCAL_AMFLAGS = -I m4
28 render/libobrender.la \
33 tools/gnome-panel-control/gnome-panel-control
36 tools/xdg-autostart/xdg-autostart
38 nodist_bin_SCRIPTS = \
39 data/xsession/openbox-session \
40 data/xsession/openbox-gnome-session \
41 data/xsession/openbox-kde-session
45 render_rendertest_CPPFLAGS = \
49 -DG_LOG_DOMAIN=\"RenderTest\"
50 render_rendertest_LDADD = \
52 render/libobrender.la \
58 render_rendertest_SOURCES = render/test.c
60 render_libobrender_la_CPPFLAGS = \
66 -DG_LOG_DOMAIN=\"ObRender\" \
67 -DDEFAULT_THEME=\"$(theme)\"
68 render_libobrender_la_LDFLAGS = \
69 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
70 render_libobrender_la_LIBADD = \
77 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 = \
151 -DLOCALEDIR=\"$(localedir)\" \
152 -DDATADIR=\"$(datadir)\" \
153 -DCONFIGDIR=\"$(configdir)\" \
154 -DG_LOG_DOMAIN=\"Openbox\"
155 openbox_openbox_LDADD = \
164 render/libobrender.la \
166 openbox_openbox_LDFLAGS = -export-dynamic
167 openbox_openbox_SOURCES = \
169 openbox/actions/all.c \
170 openbox/actions/all.h \
171 openbox/actions/addremovedesktop.c \
172 openbox/actions/breakchroot.c \
173 openbox/actions/close.c \
174 openbox/actions/cyclewindows.c \
175 openbox/actions/debug.c \
176 openbox/actions/decorations.c \
177 openbox/actions/desktop.c \
178 openbox/actions/dockautohide.c \
179 openbox/actions/directionalwindows.c \
180 openbox/actions/execute.c \
181 openbox/actions/exit.c \
182 openbox/actions/focus.c \
183 openbox/actions/focustobottom.c \
184 openbox/actions/fullscreen.c \
185 openbox/actions/growtoedge.c \
186 openbox/actions/iconify.c \
187 openbox/actions/if.c \
188 openbox/actions/kill.c \
189 openbox/actions/layer.c \
190 openbox/actions/lower.c \
191 openbox/actions/maximize.c \
192 openbox/actions/move.c \
193 openbox/actions/moverelative.c \
194 openbox/actions/moveresizeto.c \
195 openbox/actions/movetoedge.c \
196 openbox/actions/omnipresent.c \
197 openbox/actions/raise.c \
198 openbox/actions/raiselower.c \
199 openbox/actions/reconfigure.c \
200 openbox/actions/resize.c \
201 openbox/actions/resizerelative.c \
202 openbox/actions/restart.c \
203 openbox/actions/shade.c \
204 openbox/actions/showdesktop.c \
205 openbox/actions/showmenu.c \
206 openbox/actions/unfocus.c \
211 openbox/client_list_menu.c \
212 openbox/client_list_menu.h \
213 openbox/client_list_combined_menu.c \
214 openbox/client_list_combined_menu.h \
215 openbox/client_menu.c \
216 openbox/client_menu.h \
227 openbox/focus_cycle.c \
228 openbox/focus_cycle.h \
229 openbox/focus_cycle_indicator.c \
230 openbox/focus_cycle_indicator.h \
231 openbox/focus_cycle_popup.c \
232 openbox/focus_cycle_popup.h \
235 openbox/framerender.c \
236 openbox/framerender.h \
246 openbox/menuframe.c \
247 openbox/menuframe.h \
253 openbox/moveresize.c \
254 openbox/moveresize.h \
274 openbox/startupnotify.c \
275 openbox/startupnotify.h \
276 openbox/translate.c \
277 openbox/translate.h \
281 ## gnome-panel-control ##
283 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
285 tools_gnome_panel_control_gnome_panel_control_LDADD = \
287 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
288 tools/gnome-panel-control/gnome-panel-control.c
291 ## default button masks ##
293 data/xbm/bullet.xbm \
295 data/xbm/desk_toggled.xbm \
297 data/xbm/iconify.xbm \
298 data/xbm/max_toggled.xbm \
300 data/xbm/shade_toggled.xbm \
306 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
307 dist_clearlooks_theme_DATA= \
308 themes/Clearlooks/openbox-3/themerc
310 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
311 dist_clearlooks34_theme_DATA= \
312 themes/Clearlooks-3.4/openbox-3/themerc
314 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
315 dist_clearlooksolive_theme_DATA= \
316 themes/Clearlooks-Olive/openbox-3/themerc
318 mikachu_themedir = $(themedir)/Mikachu/openbox-3
319 dist_mikachu_theme_DATA= \
320 themes/Mikachu/openbox-3/bullet.xbm \
321 themes/Mikachu/openbox-3/close.xbm \
322 themes/Mikachu/openbox-3/desk.xbm \
323 themes/Mikachu/openbox-3/iconify.xbm \
324 themes/Mikachu/openbox-3/max.xbm \
325 themes/Mikachu/openbox-3/themerc
328 natura_themedir = $(themedir)/Natura/openbox-3
329 dist_natura_theme_DATA= \
330 themes/Natura/openbox-3/close_hover.xbm \
331 themes/Natura/openbox-3/close.xbm \
332 themes/Natura/openbox-3/desk_toggled.xbm \
333 themes/Natura/openbox-3/desk_hover.xbm \
334 themes/Natura/openbox-3/desk.xbm \
335 themes/Natura/openbox-3/iconify_hover.xbm \
336 themes/Natura/openbox-3/iconify.xbm \
337 themes/Natura/openbox-3/max_hover.xbm \
338 themes/Natura/openbox-3/max_toggled.xbm \
339 themes/Natura/openbox-3/max.xbm \
340 themes/Natura/openbox-3/shade.xbm \
341 themes/Natura/openbox-3/shade_hover.xbm \
342 themes/Natura/openbox-3/themerc
344 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
345 dist_artwizboxed_theme_DATA= \
346 themes/Artwiz-boxed/openbox-3/themerc
348 bear2_themedir = $(themedir)/Bear2/openbox-3
349 dist_bear2_theme_DATA= \
350 themes/Bear2/openbox-3/close_pressed.xbm \
351 themes/Bear2/openbox-3/close.xbm \
352 themes/Bear2/openbox-3/desk_toggled.xbm \
353 themes/Bear2/openbox-3/desk.xbm \
354 themes/Bear2/openbox-3/iconify_pressed.xbm \
355 themes/Bear2/openbox-3/iconify.xbm \
356 themes/Bear2/openbox-3/max_pressed.xbm \
357 themes/Bear2/openbox-3/max_toggled.xbm \
358 themes/Bear2/openbox-3/max.xbm \
359 themes/Bear2/openbox-3/shade_pressed.xbm \
360 themes/Bear2/openbox-3/shade.xbm \
361 themes/Bear2/openbox-3/themerc
363 orang_themedir = $(themedir)/Orang/openbox-3
364 dist_orang_theme_DATA= \
365 themes/Orang/openbox-3/themerc
367 onyx_themedir = $(themedir)/Onyx/openbox-3
368 dist_onyx_theme_DATA= \
369 themes/Onyx/openbox-3/themerc
371 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
372 dist_onyxcitrus_theme_DATA= \
373 themes/Onyx-Citrus/openbox-3/themerc
375 syscrash_themedir = $(themedir)/Syscrash/openbox-3
376 dist_syscrash_theme_DATA= \
377 themes/Syscrash/openbox-3/max_disabled.xbm \
378 themes/Syscrash/openbox-3/max_pressed.xbm \
379 themes/Syscrash/openbox-3/max_toggled.xbm \
380 themes/Syscrash/openbox-3/max.xbm \
381 themes/Syscrash/openbox-3/themerc
385 rrpubinclude_HEADERS = \
397 obtpubinclude_HEADERS = \
408 nodist_pkgconfig_DATA = \
409 render/obrender-4.0.pc \
423 -e 's!@version\@!$(VERSION)!' \
424 -e 's!@configdir\@!$(configdir)!' \
425 -e 's!@bindir\@!$(bindir)!'
427 %.desktop: %.desktop.in Makefile
428 @echo make: creating $@
431 %-session: %-session.in Makefile
432 @echo make: creating $@
436 @echo make: creating $@
437 @docbook-to-man $< >$@
440 @echo make: creating $@
443 dist_gnomewmfiles_DATA = \
444 data/gnome-wm-properties/openbox.desktop
446 nodist_xsessions_DATA = \
447 data/xsession/openbox.desktop \
448 data/xsession/openbox-gnome.desktop \
449 data/xsession/openbox-kde.desktop
454 data/xsession/openbox.desktop.in \
455 data/xsession/openbox-gnome.desktop.in \
456 data/xsession/openbox-kde.desktop.in \
457 data/xsession/openbox-session.in \
458 data/xsession/openbox-gnome-session.in \
459 data/xsession/openbox-kde-session.in \
462 doc/openbox-session.1.sgml \
463 doc/openbox-session.1.in \
464 doc/openbox-gnome-session.1.sgml \
465 doc/openbox-gnome-session.1.in \
466 doc/openbox-kde-session.1.sgml \
467 doc/openbox-kde-session.1.in \
468 render/version.h.in \
469 render/obrender-4.0.pc.in \
472 tools/themeupdate/themeupdate.py \
498 doc/rc-mouse-focus.xml
502 doc/openbox-session.1 \
503 doc/openbox-gnome-session.1 \
504 doc/openbox-kde-session.1
509 # make clean doesn't delete these for some reason, even though they are
513 doc/openbox-session.1 \
514 doc/openbox-gnome-session.1 \
515 doc/openbox-kde-session.1 \
516 data/xsession/openbox-session \
517 data/xsession/openbox-gnome-session \
518 data/xsession/openbox-kde-session \
519 data/xsession/openbox.desktop \
520 data/xsession/openbox-gnome.desktop \
521 data/xsession/openbox-kde.desktop
524 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
527 for d in . m4 po render parser obt openbox; do \
528 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \