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 = \
102 obt_libobt_la_CPPFLAGS = \
110 -DG_LOG_DOMAIN=\"Obt\" \
111 -DLOCALEDIR=\"$(localedir)\" \
112 -DDATADIR=\"$(datadir)\" \
113 -DCONFIGDIR=\"$(configdir)\"
114 obt_libobt_la_LDFLAGS = \
115 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
116 obt_libobt_la_LIBADD = \
124 obt_libobt_la_SOURCES = \
144 openbox_openbox_CPPFLAGS = \
153 -DLOCALEDIR=\"$(localedir)\" \
154 -DDATADIR=\"$(datadir)\" \
155 -DCONFIGDIR=\"$(configdir)\" \
156 -DG_LOG_DOMAIN=\"Openbox\"
157 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/addremovedesktop.c \
174 openbox/actions/breakchroot.c \
175 openbox/actions/close.c \
176 openbox/actions/cyclewindows.c \
177 openbox/actions/debug.c \
178 openbox/actions/decorations.c \
179 openbox/actions/desktop.c \
180 openbox/actions/dockautohide.c \
181 openbox/actions/directionalwindows.c \
182 openbox/actions/execute.c \
183 openbox/actions/exit.c \
184 openbox/actions/focus.c \
185 openbox/actions/focustobottom.c \
186 openbox/actions/fullscreen.c \
187 openbox/actions/growtoedge.c \
188 openbox/actions/iconify.c \
189 openbox/actions/if.c \
190 openbox/actions/kill.c \
191 openbox/actions/layer.c \
192 openbox/actions/lower.c \
193 openbox/actions/maximize.c \
194 openbox/actions/move.c \
195 openbox/actions/moverelative.c \
196 openbox/actions/moveresizeto.c \
197 openbox/actions/movetoedge.c \
198 openbox/actions/omnipresent.c \
199 openbox/actions/raise.c \
200 openbox/actions/raiselower.c \
201 openbox/actions/reconfigure.c \
202 openbox/actions/resize.c \
203 openbox/actions/resizerelative.c \
204 openbox/actions/restart.c \
205 openbox/actions/shade.c \
206 openbox/actions/showdesktop.c \
207 openbox/actions/showmenu.c \
208 openbox/actions/unfocus.c \
213 openbox/client_list_menu.c \
214 openbox/client_list_menu.h \
215 openbox/client_list_combined_menu.c \
216 openbox/client_list_combined_menu.h \
217 openbox/client_menu.c \
218 openbox/client_menu.h \
229 openbox/focus_cycle.c \
230 openbox/focus_cycle.h \
231 openbox/focus_cycle_indicator.c \
232 openbox/focus_cycle_indicator.h \
233 openbox/focus_cycle_popup.c \
234 openbox/focus_cycle_popup.h \
237 openbox/framerender.c \
238 openbox/framerender.h \
248 openbox/menuframe.c \
249 openbox/menuframe.h \
255 openbox/moveresize.c \
256 openbox/moveresize.h \
276 openbox/startupnotify.c \
277 openbox/startupnotify.h \
278 openbox/translate.c \
279 openbox/translate.h \
283 ## gnome-panel-control ##
285 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
287 tools_gnome_panel_control_gnome_panel_control_LDADD = \
289 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
290 tools/gnome-panel-control/gnome-panel-control.c
293 ## default button masks ##
295 data/xbm/bullet.xbm \
297 data/xbm/desk_toggled.xbm \
299 data/xbm/iconify.xbm \
300 data/xbm/max_toggled.xbm \
302 data/xbm/shade_toggled.xbm \
308 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
309 dist_clearlooks_theme_DATA= \
310 themes/Clearlooks/openbox-3/themerc
312 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
313 dist_clearlooks34_theme_DATA= \
314 themes/Clearlooks-3.4/openbox-3/themerc
316 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
317 dist_clearlooksolive_theme_DATA= \
318 themes/Clearlooks-Olive/openbox-3/themerc
320 mikachu_themedir = $(themedir)/Mikachu/openbox-3
321 dist_mikachu_theme_DATA= \
322 themes/Mikachu/openbox-3/bullet.xbm \
323 themes/Mikachu/openbox-3/close.xbm \
324 themes/Mikachu/openbox-3/desk.xbm \
325 themes/Mikachu/openbox-3/iconify.xbm \
326 themes/Mikachu/openbox-3/max.xbm \
327 themes/Mikachu/openbox-3/themerc
330 natura_themedir = $(themedir)/Natura/openbox-3
331 dist_natura_theme_DATA= \
332 themes/Natura/openbox-3/close_hover.xbm \
333 themes/Natura/openbox-3/close.xbm \
334 themes/Natura/openbox-3/desk_toggled.xbm \
335 themes/Natura/openbox-3/desk_hover.xbm \
336 themes/Natura/openbox-3/desk.xbm \
337 themes/Natura/openbox-3/iconify_hover.xbm \
338 themes/Natura/openbox-3/iconify.xbm \
339 themes/Natura/openbox-3/max_hover.xbm \
340 themes/Natura/openbox-3/max_toggled.xbm \
341 themes/Natura/openbox-3/max.xbm \
342 themes/Natura/openbox-3/shade.xbm \
343 themes/Natura/openbox-3/shade_hover.xbm \
344 themes/Natura/openbox-3/themerc
346 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
347 dist_artwizboxed_theme_DATA= \
348 themes/Artwiz-boxed/openbox-3/themerc
350 bear2_themedir = $(themedir)/Bear2/openbox-3
351 dist_bear2_theme_DATA= \
352 themes/Bear2/openbox-3/close_pressed.xbm \
353 themes/Bear2/openbox-3/close.xbm \
354 themes/Bear2/openbox-3/desk_toggled.xbm \
355 themes/Bear2/openbox-3/desk.xbm \
356 themes/Bear2/openbox-3/iconify_pressed.xbm \
357 themes/Bear2/openbox-3/iconify.xbm \
358 themes/Bear2/openbox-3/max_pressed.xbm \
359 themes/Bear2/openbox-3/max_toggled.xbm \
360 themes/Bear2/openbox-3/max.xbm \
361 themes/Bear2/openbox-3/shade_pressed.xbm \
362 themes/Bear2/openbox-3/shade.xbm \
363 themes/Bear2/openbox-3/themerc
365 orang_themedir = $(themedir)/Orang/openbox-3
366 dist_orang_theme_DATA= \
367 themes/Orang/openbox-3/themerc
369 onyx_themedir = $(themedir)/Onyx/openbox-3
370 dist_onyx_theme_DATA= \
371 themes/Onyx/openbox-3/themerc
373 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
374 dist_onyxcitrus_theme_DATA= \
375 themes/Onyx-Citrus/openbox-3/themerc
377 syscrash_themedir = $(themedir)/Syscrash/openbox-3
378 dist_syscrash_theme_DATA= \
379 themes/Syscrash/openbox-3/max_disabled.xbm \
380 themes/Syscrash/openbox-3/max_pressed.xbm \
381 themes/Syscrash/openbox-3/max_toggled.xbm \
382 themes/Syscrash/openbox-3/max.xbm \
383 themes/Syscrash/openbox-3/themerc
387 rrpubinclude_HEADERS = \
399 obtpubinclude_HEADERS = \
410 nodist_pkgconfig_DATA = \
411 render/obrender-4.0.pc \
425 -e 's!@version\@!$(VERSION)!' \
426 -e 's!@configdir\@!$(configdir)!' \
427 -e 's!@bindir\@!$(bindir)!'
429 %.desktop: %.desktop.in Makefile
430 @echo make: creating $@
433 %-session: %-session.in Makefile
434 @echo make: creating $@
438 @echo make: creating $@
439 @docbook-to-man $< >$@
442 @echo make: creating $@
445 dist_gnomewmfiles_DATA = \
446 data/gnome-wm-properties/openbox.desktop
448 nodist_xsessions_DATA = \
449 data/xsession/openbox.desktop \
450 data/xsession/openbox-gnome.desktop \
451 data/xsession/openbox-kde.desktop
456 data/xsession/openbox.desktop.in \
457 data/xsession/openbox-gnome.desktop.in \
458 data/xsession/openbox-kde.desktop.in \
459 data/xsession/openbox-session.in \
460 data/xsession/openbox-gnome-session.in \
461 data/xsession/openbox-kde-session.in \
464 doc/openbox-session.1.sgml \
465 doc/openbox-session.1.in \
466 doc/openbox-gnome-session.1.sgml \
467 doc/openbox-gnome-session.1.in \
468 doc/openbox-kde-session.1.sgml \
469 doc/openbox-kde-session.1.in \
470 render/version.h.in \
471 render/obrender-4.0.pc.in \
474 tools/themeupdate/themeupdate.py \
500 doc/rc-mouse-focus.xml
504 doc/openbox-session.1 \
505 doc/openbox-gnome-session.1 \
506 doc/openbox-kde-session.1
511 # make clean doesn't delete these for some reason, even though they are
515 doc/openbox-session.1 \
516 doc/openbox-gnome-session.1 \
517 doc/openbox-kde-session.1 \
518 data/xsession/openbox-session \
519 data/xsession/openbox-gnome-session \
520 data/xsession/openbox-kde-session \
521 data/xsession/openbox.desktop \
522 data/xsession/openbox-gnome.desktop \
523 data/xsession/openbox-kde.desktop
526 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
529 for d in . m4 po render parser obt openbox; do \
530 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \