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 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
12 pixmapdir = $(datadir)/pixmaps
13 xsddir = $(datadir)/openbox
17 AUTOMAKE_OPTIONS = subdir-objects foreign
19 ACLOCAL_AMFLAGS = -I m4
27 parser/libobparser.la \
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 = \
48 parser/libobparser.la \
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 $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
67 render_libobrender_la_LIBADD = \
68 parser/libobparser.la \
74 render_libobrender_la_SOURCES = \
97 parser_libobparser_la_CPPFLAGS = \
100 -DG_LOG_DOMAIN=\"ObParser\" \
101 -DLOCALEDIR=\"$(localedir)\" \
102 -DDATADIR=\"$(datadir)\" \
103 -DCONFIGDIR=\"$(configdir)\"
104 parser_libobparser_la_LDFLAGS = \
105 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
106 parser_libobparser_la_LIBADD = \
109 parser_libobparser_la_SOURCES = \
115 obt_libobt_la_CPPFLAGS = \
118 -DG_LOG_DOMAIN=\"Obt\" \
119 -DLOCALEDIR=\"$(localedir)\" \
120 -DDATADIR=\"$(datadir)\" \
121 -DCONFIGDIR=\"$(configdir)\"
122 obt_libobt_la_LDFLAGS = \
123 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
124 obt_libobt_la_LIBADD = \
127 obt_libobt_la_SOURCES = \
137 openbox_openbox_CPPFLAGS = \
151 -DLOCALEDIR=\"$(localedir)\" \
152 -DDATADIR=\"$(datadir)\" \
153 -DCONFIGDIR=\"$(configdir)\" \
154 -DG_LOG_DOMAIN=\"Openbox\"
155 openbox_openbox_LDADD = \
169 render/libobrender.la \
170 parser/libobparser.la \
172 openbox_openbox_LDFLAGS = -export-dynamic
173 openbox_openbox_SOURCES = \
175 openbox/actions/all.c \
176 openbox/actions/all.h \
177 openbox/actions/addremovedesktop.c \
178 openbox/actions/breakchroot.c \
179 openbox/actions/close.c \
180 openbox/actions/cyclewindows.c \
181 openbox/actions/debug.c \
182 openbox/actions/decorations.c \
183 openbox/actions/desktop.c \
184 openbox/actions/dockautohide.c \
185 openbox/actions/directionalwindows.c \
186 openbox/actions/execute.c \
187 openbox/actions/exit.c \
188 openbox/actions/focus.c \
189 openbox/actions/focustobottom.c \
190 openbox/actions/fullscreen.c \
191 openbox/actions/growtoedge.c \
192 openbox/actions/iconify.c \
193 openbox/actions/if.c \
194 openbox/actions/kill.c \
195 openbox/actions/layer.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/reconfigure.c \
206 openbox/actions/resize.c \
207 openbox/actions/resizerelative.c \
208 openbox/actions/restart.c \
209 openbox/actions/shade.c \
210 openbox/actions/showdesktop.c \
211 openbox/actions/showmenu.c \
212 openbox/actions/unfocus.c \
217 openbox/client_list_menu.c \
218 openbox/client_list_menu.h \
219 openbox/client_list_combined_menu.c \
220 openbox/client_list_combined_menu.h \
221 openbox/client_menu.c \
222 openbox/client_menu.h \
231 openbox/extensions.c \
232 openbox/extensions.h \
235 openbox/focus_cycle.c \
236 openbox/focus_cycle.h \
237 openbox/focus_cycle_indicator.c \
238 openbox/focus_cycle_indicator.h \
239 openbox/focus_cycle_popup.c \
240 openbox/focus_cycle_popup.h \
243 openbox/framerender.c \
244 openbox/framerender.h \
254 openbox/menuframe.c \
255 openbox/menuframe.h \
263 openbox/moveresize.c \
264 openbox/moveresize.h \
284 openbox/startupnotify.c \
285 openbox/startupnotify.h \
286 openbox/translate.c \
287 openbox/translate.h \
291 ## gnome-panel-control ##
293 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
295 tools_gnome_panel_control_gnome_panel_control_LDADD = \
297 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
298 tools/gnome-panel-control/gnome-panel-control.c
301 ## default button masks ##
303 data/xbm/bullet.xbm \
305 data/xbm/desk_toggled.xbm \
307 data/xbm/iconify.xbm \
308 data/xbm/max_toggled.xbm \
310 data/xbm/shade_toggled.xbm \
316 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
317 dist_clearlooks_theme_DATA= \
318 themes/Clearlooks/openbox-3/themerc
320 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
321 dist_clearlooksolive_theme_DATA= \
322 themes/Clearlooks-Olive/openbox-3/themerc
324 mikachu_themedir = $(themedir)/Mikachu/openbox-3
325 dist_mikachu_theme_DATA= \
326 themes/Mikachu/openbox-3/bullet.xbm \
327 themes/Mikachu/openbox-3/close.xbm \
328 themes/Mikachu/openbox-3/desk.xbm \
329 themes/Mikachu/openbox-3/iconify.xbm \
330 themes/Mikachu/openbox-3/max.xbm \
331 themes/Mikachu/openbox-3/themerc
334 natura_themedir = $(themedir)/Natura/openbox-3
335 dist_natura_theme_DATA= \
336 themes/Natura/openbox-3/close_hover.xbm \
337 themes/Natura/openbox-3/close.xbm \
338 themes/Natura/openbox-3/desk_toggled.xbm \
339 themes/Natura/openbox-3/desk_hover.xbm \
340 themes/Natura/openbox-3/desk.xbm \
341 themes/Natura/openbox-3/iconify_hover.xbm \
342 themes/Natura/openbox-3/iconify.xbm \
343 themes/Natura/openbox-3/max_hover.xbm \
344 themes/Natura/openbox-3/max_toggled.xbm \
345 themes/Natura/openbox-3/max.xbm \
346 themes/Natura/openbox-3/shade.xbm \
347 themes/Natura/openbox-3/shade_hover.xbm \
348 themes/Natura/openbox-3/themerc
350 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
351 dist_artwizboxed_theme_DATA= \
352 themes/Artwiz-boxed/openbox-3/themerc
354 bear2_themedir = $(themedir)/Bear2/openbox-3
355 dist_bear2_theme_DATA= \
356 themes/Bear2/openbox-3/close_pressed.xbm \
357 themes/Bear2/openbox-3/close.xbm \
358 themes/Bear2/openbox-3/desk_toggled.xbm \
359 themes/Bear2/openbox-3/desk.xbm \
360 themes/Bear2/openbox-3/iconify_pressed.xbm \
361 themes/Bear2/openbox-3/iconify.xbm \
362 themes/Bear2/openbox-3/max_pressed.xbm \
363 themes/Bear2/openbox-3/max_toggled.xbm \
364 themes/Bear2/openbox-3/max.xbm \
365 themes/Bear2/openbox-3/shade_pressed.xbm \
366 themes/Bear2/openbox-3/shade.xbm \
367 themes/Bear2/openbox-3/themerc
369 orang_themedir = $(themedir)/Orang/openbox-3
370 dist_orang_theme_DATA= \
371 themes/Orang/openbox-3/themerc
373 onyx_themedir = $(themedir)/Onyx/openbox-3
374 dist_onyx_theme_DATA= \
375 themes/Onyx/openbox-3/themerc
377 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
378 dist_onyxcitrus_theme_DATA= \
379 themes/Onyx-Citrus/openbox-3/themerc
381 syscrash_themedir = $(themedir)/Syscrash/openbox-3
382 dist_syscrash_theme_DATA= \
383 themes/Syscrash/openbox-3/max_disabled.xbm \
384 themes/Syscrash/openbox-3/max_pressed.xbm \
385 themes/Syscrash/openbox-3/max_toggled.xbm \
386 themes/Syscrash/openbox-3/max.xbm \
387 themes/Syscrash/openbox-3/themerc
391 pubinclude_HEADERS = \
407 nodist_pubinclude_HEADERS = \
410 nodist_pkgconfig_DATA = \
411 render/obrender-3.0.pc \
412 parser/obparser-3.0.pc \
426 -e 's!@version\@!$(VERSION)!' \
427 -e 's!@configdir\@!$(configdir)!' \
428 -e 's!@bindir\@!$(bindir)!'
430 %.desktop: %.desktop.in Makefile
431 @echo make: creating $@
434 %-session: %-session.in Makefile
435 @echo make: creating $@
439 @echo make: creating $@
440 @docbook-to-man $< >$@
443 @echo make: creating $@
446 dist_gnomewmfiles_DATA = \
447 data/gnome-wm-properties/openbox.desktop
449 nodist_xsessions_DATA = \
450 data/xsession/openbox.desktop \
451 data/xsession/openbox-gnome.desktop \
452 data/xsession/openbox-kde.desktop
458 data/xsession/openbox.desktop.in \
459 data/xsession/openbox-gnome.desktop.in \
460 data/xsession/openbox-kde.desktop.in \
461 data/xsession/openbox-session.in \
462 data/xsession/openbox-gnome-session.in \
463 data/xsession/openbox-kde-session.in \
466 doc/openbox-session.1.sgml \
467 doc/openbox-session.1.in \
468 doc/openbox-gnome-session.1.sgml \
469 doc/openbox-gnome-session.1.in \
470 doc/openbox-kde-session.1.sgml \
471 doc/openbox-kde-session.1.in \
472 render/obrender-3.0.pc.in \
473 parser/obparser-3.0.pc.in \
475 tools/themeupdate/themeupdate.py \
501 doc/rc-mouse-focus.xml
505 doc/openbox-session.1 \
506 doc/openbox-gnome-session.1 \
507 doc/openbox-kde-session.1
512 # make clean doesn't delete these for some reason, even though they are
516 doc/openbox-session.1 \
517 doc/openbox-gnome-session.1 \
518 doc/openbox-kde-session.1 \
519 data/xsession/openbox-session \
520 data/xsession/openbox-gnome-session \
521 data/xsession/openbox-kde-session \
522 data/xsession/openbox.desktop \
523 data/xsession/openbox-gnome.desktop \
524 data/xsession/openbox-kde.desktop
527 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
530 for d in . m4 po render parser obt openbox; do \
531 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \