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
35 nodist_bin_SCRIPTS = \
36 data/xsession/openbox-session \
37 data/xsession/openbox-gnome-session \
38 data/xsession/openbox-kde-session
42 render_rendertest_CPPFLAGS = \
46 -DG_LOG_DOMAIN=\"RenderTest\"
47 render_rendertest_LDADD = \
49 render/libobrender.la \
55 render_rendertest_SOURCES = render/test.c
57 render_libobrender_la_CPPFLAGS = \
63 -DG_LOG_DOMAIN=\"ObRender\" \
64 -DDEFAULT_THEME=\"$(theme)\"
65 render_libobrender_la_LDFLAGS = \
66 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
67 render_libobrender_la_LIBADD = \
74 render_libobrender_la_SOURCES = \
97 obt_libobt_la_CPPFLAGS = \
105 -DG_LOG_DOMAIN=\"Obt\" \
106 -DLOCALEDIR=\"$(localedir)\" \
107 -DDATADIR=\"$(datadir)\" \
108 -DCONFIGDIR=\"$(configdir)\"
109 obt_libobt_la_LDFLAGS = \
110 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
111 obt_libobt_la_LIBADD = \
119 obt_libobt_la_SOURCES = \
139 openbox_openbox_CPPFLAGS = \
148 -DLOCALEDIR=\"$(localedir)\" \
149 -DDATADIR=\"$(datadir)\" \
150 -DCONFIGDIR=\"$(configdir)\" \
151 -DG_LOG_DOMAIN=\"Openbox\"
152 openbox_openbox_LDADD = \
161 render/libobrender.la \
163 openbox_openbox_LDFLAGS = -export-dynamic
164 openbox_openbox_SOURCES = \
166 openbox/actions/all.c \
167 openbox/actions/all.h \
168 openbox/actions/addremovedesktop.c \
169 openbox/actions/breakchroot.c \
170 openbox/actions/close.c \
171 openbox/actions/cyclewindows.c \
172 openbox/actions/debug.c \
173 openbox/actions/decorations.c \
174 openbox/actions/desktop.c \
175 openbox/actions/dockautohide.c \
176 openbox/actions/directionalwindows.c \
177 openbox/actions/execute.c \
178 openbox/actions/exit.c \
179 openbox/actions/focus.c \
180 openbox/actions/focustobottom.c \
181 openbox/actions/fullscreen.c \
182 openbox/actions/growtoedge.c \
183 openbox/actions/iconify.c \
184 openbox/actions/if.c \
185 openbox/actions/kill.c \
186 openbox/actions/layer.c \
187 openbox/actions/lower.c \
188 openbox/actions/maximize.c \
189 openbox/actions/move.c \
190 openbox/actions/moverelative.c \
191 openbox/actions/moveresizeto.c \
192 openbox/actions/movetoedge.c \
193 openbox/actions/omnipresent.c \
194 openbox/actions/raise.c \
195 openbox/actions/raiselower.c \
196 openbox/actions/reconfigure.c \
197 openbox/actions/resize.c \
198 openbox/actions/resizerelative.c \
199 openbox/actions/restart.c \
200 openbox/actions/shade.c \
201 openbox/actions/showdesktop.c \
202 openbox/actions/showmenu.c \
203 openbox/actions/unfocus.c \
208 openbox/client_list_menu.c \
209 openbox/client_list_menu.h \
210 openbox/client_list_combined_menu.c \
211 openbox/client_list_combined_menu.h \
212 openbox/client_menu.c \
213 openbox/client_menu.h \
224 openbox/focus_cycle.c \
225 openbox/focus_cycle.h \
226 openbox/focus_cycle_indicator.c \
227 openbox/focus_cycle_indicator.h \
228 openbox/focus_cycle_popup.c \
229 openbox/focus_cycle_popup.h \
232 openbox/framerender.c \
233 openbox/framerender.h \
243 openbox/menuframe.c \
244 openbox/menuframe.h \
250 openbox/moveresize.c \
251 openbox/moveresize.h \
271 openbox/startupnotify.c \
272 openbox/startupnotify.h \
273 openbox/translate.c \
274 openbox/translate.h \
278 ## gnome-panel-control ##
280 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
282 tools_gnome_panel_control_gnome_panel_control_LDADD = \
284 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
285 tools/gnome-panel-control/gnome-panel-control.c
288 ## default button masks ##
290 data/xbm/bullet.xbm \
292 data/xbm/desk_toggled.xbm \
294 data/xbm/iconify.xbm \
295 data/xbm/max_toggled.xbm \
297 data/xbm/shade_toggled.xbm \
303 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
304 dist_clearlooks_theme_DATA= \
305 themes/Clearlooks/openbox-3/themerc
307 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
308 dist_clearlooks34_theme_DATA= \
309 themes/Clearlooks-3.4/openbox-3/themerc
311 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
312 dist_clearlooksolive_theme_DATA= \
313 themes/Clearlooks-Olive/openbox-3/themerc
315 mikachu_themedir = $(themedir)/Mikachu/openbox-3
316 dist_mikachu_theme_DATA= \
317 themes/Mikachu/openbox-3/bullet.xbm \
318 themes/Mikachu/openbox-3/close.xbm \
319 themes/Mikachu/openbox-3/desk.xbm \
320 themes/Mikachu/openbox-3/iconify.xbm \
321 themes/Mikachu/openbox-3/max.xbm \
322 themes/Mikachu/openbox-3/themerc
325 natura_themedir = $(themedir)/Natura/openbox-3
326 dist_natura_theme_DATA= \
327 themes/Natura/openbox-3/close_hover.xbm \
328 themes/Natura/openbox-3/close.xbm \
329 themes/Natura/openbox-3/desk_toggled.xbm \
330 themes/Natura/openbox-3/desk_hover.xbm \
331 themes/Natura/openbox-3/desk.xbm \
332 themes/Natura/openbox-3/iconify_hover.xbm \
333 themes/Natura/openbox-3/iconify.xbm \
334 themes/Natura/openbox-3/max_hover.xbm \
335 themes/Natura/openbox-3/max_toggled.xbm \
336 themes/Natura/openbox-3/max.xbm \
337 themes/Natura/openbox-3/shade.xbm \
338 themes/Natura/openbox-3/shade_hover.xbm \
339 themes/Natura/openbox-3/themerc
341 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
342 dist_artwizboxed_theme_DATA= \
343 themes/Artwiz-boxed/openbox-3/themerc
345 bear2_themedir = $(themedir)/Bear2/openbox-3
346 dist_bear2_theme_DATA= \
347 themes/Bear2/openbox-3/close_pressed.xbm \
348 themes/Bear2/openbox-3/close.xbm \
349 themes/Bear2/openbox-3/desk_toggled.xbm \
350 themes/Bear2/openbox-3/desk.xbm \
351 themes/Bear2/openbox-3/iconify_pressed.xbm \
352 themes/Bear2/openbox-3/iconify.xbm \
353 themes/Bear2/openbox-3/max_pressed.xbm \
354 themes/Bear2/openbox-3/max_toggled.xbm \
355 themes/Bear2/openbox-3/max.xbm \
356 themes/Bear2/openbox-3/shade_pressed.xbm \
357 themes/Bear2/openbox-3/shade.xbm \
358 themes/Bear2/openbox-3/themerc
360 orang_themedir = $(themedir)/Orang/openbox-3
361 dist_orang_theme_DATA= \
362 themes/Orang/openbox-3/themerc
364 onyx_themedir = $(themedir)/Onyx/openbox-3
365 dist_onyx_theme_DATA= \
366 themes/Onyx/openbox-3/themerc
368 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
369 dist_onyxcitrus_theme_DATA= \
370 themes/Onyx-Citrus/openbox-3/themerc
372 syscrash_themedir = $(themedir)/Syscrash/openbox-3
373 dist_syscrash_theme_DATA= \
374 themes/Syscrash/openbox-3/max_disabled.xbm \
375 themes/Syscrash/openbox-3/max_pressed.xbm \
376 themes/Syscrash/openbox-3/max_toggled.xbm \
377 themes/Syscrash/openbox-3/max.xbm \
378 themes/Syscrash/openbox-3/themerc
382 rrpubinclude_HEADERS = \
394 obtpubinclude_HEADERS = \
405 nodist_pkgconfig_DATA = \
406 render/obrender-4.0.pc \
420 -e 's!@version\@!$(VERSION)!' \
421 -e 's!@configdir\@!$(configdir)!' \
422 -e 's!@bindir\@!$(bindir)!'
424 %.desktop: %.desktop.in Makefile
425 @echo make: creating $@
428 %-session: %-session.in Makefile
429 @echo make: creating $@
433 @echo make: creating $@
434 @docbook-to-man $< >$@
437 @echo make: creating $@
440 dist_gnomewmfiles_DATA = \
441 data/gnome-wm-properties/openbox.desktop
443 nodist_xsessions_DATA = \
444 data/xsession/openbox.desktop \
445 data/xsession/openbox-gnome.desktop \
446 data/xsession/openbox-kde.desktop
451 data/xsession/openbox.desktop.in \
452 data/xsession/openbox-gnome.desktop.in \
453 data/xsession/openbox-kde.desktop.in \
454 data/xsession/openbox-session.in \
455 data/xsession/openbox-gnome-session.in \
456 data/xsession/openbox-kde-session.in \
459 doc/openbox-session.1.sgml \
460 doc/openbox-session.1.in \
461 doc/openbox-gnome-session.1.sgml \
462 doc/openbox-gnome-session.1.in \
463 doc/openbox-kde-session.1.sgml \
464 doc/openbox-kde-session.1.in \
465 render/version.h.in \
466 render/obrender-4.0.pc.in \
469 tools/themeupdate/themeupdate.py \
495 doc/rc-mouse-focus.xml
499 doc/openbox-session.1 \
500 doc/openbox-gnome-session.1 \
501 doc/openbox-kde-session.1
506 # make clean doesn't delete these for some reason, even though they are
510 doc/openbox-session.1 \
511 doc/openbox-gnome-session.1 \
512 doc/openbox-kde-session.1 \
513 data/xsession/openbox-session \
514 data/xsession/openbox-gnome-session \
515 data/xsession/openbox-kde-session \
516 data/xsession/openbox.desktop \
517 data/xsession/openbox-gnome.desktop \
518 data/xsession/openbox-kde.desktop
521 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
524 for d in . m4 po render parser obt openbox; do \
525 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \