3 themedir = $(datadir)/themes
4 localedir = $(datadir)/locale
5 configdir = $(sysconfdir)/xdg
6 rcdir = $(configdir)/openbox
7 desktopfilesdir = $(datadir)/gnome/wm-properties
8 pkgconfigdir = $(libdir)/pkgconfig
9 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
10 pixmapdir = $(datadir)/pixmaps
11 xsddir = $(datadir)/openbox
12 userscriptdir = $(datadir)/openbox
16 AUTOMAKE_OPTIONS = subdir-objects foreign
18 ACLOCAL_AMFLAGS = -I m4
26 parser/libobparser.la \
31 tools/kdetrayproxy/kdetrayproxy \
32 tools/gnome-panel-control/gnome-panel-control
36 render_rendertest_CPPFLAGS = \
39 -DG_LOG_DOMAIN=\"RenderTest\"
40 render_rendertest_LDADD = \
41 parser/libobparser.la \
42 render/libobrender.la \
48 render_rendertest_SOURCES = render/test.c
50 render_libobrender_la_CPPFLAGS = \
56 -DG_LOG_DOMAIN=\"ObRender\" \
57 -DDEFAULT_THEME=\"$(theme)\"
58 render_libobrender_la_LDFLAGS = \
59 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
60 render_libobrender_la_LIBADD = \
61 parser/libobparser.la \
67 render_libobrender_la_SOURCES = \
90 parser_libobparser_la_CPPFLAGS = \
93 -DG_LOG_DOMAIN=\"ObParser\" \
94 -DLOCALEDIR=\"$(localedir)\" \
95 -DDATADIR=\"$(datadir)\" \
96 -DCONFIGDIR=\"$(configdir)\"
97 parser_libobparser_la_LDFLAGS = \
98 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
99 parser_libobparser_la_LIBADD = \
102 parser_libobparser_la_SOURCES = \
108 openbox_openbox_CPPFLAGS = \
115 -DLOCALEDIR=\"$(localedir)\" \
116 -DDATADIR=\"$(datadir)\" \
117 -DCONFIGDIR=\"$(configdir)\" \
118 -DG_LOG_DOMAIN=\"Openbox\"
119 openbox_openbox_LDADD = \
132 render/libobrender.la \
133 parser/libobparser.la
134 openbox_openbox_LDFLAGS = -export-dynamic
135 openbox_openbox_SOURCES = \
141 openbox/client_list_menu.c \
142 openbox/client_list_menu.h \
143 openbox/client_menu.c \
144 openbox/client_menu.h \
153 openbox/extensions.c \
154 openbox/extensions.h \
159 openbox/framerender.c \
160 openbox/framerender.h \
172 openbox/menuframe.c \
173 openbox/menuframe.h \
179 openbox/moveresize.c \
180 openbox/moveresize.h \
198 openbox/startupnotify.c \
199 openbox/startupnotify.h \
200 openbox/translate.c \
201 openbox/translate.h \
210 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
212 tools_kdetrayproxy_kdetrayproxy_LDADD = \
214 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
215 tools/kdetrayproxy/kdetrayproxy.c
218 ## gnome-panel-control ##
220 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
222 tools_gnome_panel_control_gnome_panel_control_LDADD = \
224 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
225 tools/gnome-panel-control/gnome-panel-control.c
230 allegro_themedir = $(themedir)/Allegro/openbox-3
231 dist_allegro_theme_DATA = \
232 themes/Allegro/openbox-3/themerc \
233 themes/Allegro/openbox-3/bullet.xbm
235 artwiz_themedir = $(themedir)/Artwiz/openbox-3
236 dist_artwiz_theme_DATA = \
237 themes/Artwiz/openbox-3/themerc
239 blah41_themedir = $(themedir)/Blah41/openbox-3
240 dist_blah41_theme_DATA = \
241 themes/Blah41/openbox-3/themerc
243 om4ob_themedir = $(themedir)/Om4Ob/openbox-3
244 dist_om4ob_theme_DATA = \
245 themes/Om4Ob/openbox-3/themerc \
246 themes/Om4Ob/openbox-3/close_hover.xbm \
247 themes/Om4Ob/openbox-3/close.xbm \
248 themes/Om4Ob/openbox-3/desk_hover.xbm \
249 themes/Om4Ob/openbox-3/desk_toggled.xbm \
250 themes/Om4Ob/openbox-3/desk.xbm \
251 themes/Om4Ob/openbox-3/iconify_hover.xbm \
252 themes/Om4Ob/openbox-3/iconify_pressed.xbm \
253 themes/Om4Ob/openbox-3/iconify.xbm \
254 themes/Om4Ob/openbox-3/max_disabled.xbm \
255 themes/Om4Ob/openbox-3/max_hover.xbm \
256 themes/Om4Ob/openbox-3/max_pressed.xbm \
257 themes/Om4Ob/openbox-3/max_toggled.xbm \
258 themes/Om4Ob/openbox-3/max.xbm \
259 themes/Om4Ob/openbox-3/shade_disabled.xbm \
260 themes/Om4Ob/openbox-3/shade_hover.xbm \
261 themes/Om4Ob/openbox-3/shade_toggled.xbm \
262 themes/Om4Ob/openbox-3/shade.xbm
264 thebear_themedir = $(themedir)/TheBear/openbox-3
265 dist_thebear_theme_DATA = \
266 themes/TheBear/openbox-3/themerc
271 pubinclude_HEADERS = \
276 nodist_pubinclude_HEADERS = \
279 nodist_pkgconfig_DATA = \
280 render/obrender-3.0.pc \
281 parser/obparser-3.0.pc
297 -e 's!@version\@!$(VERSION)!' \
298 -e 's!@xsddir\@!$(xsddir)!'
300 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
301 @echo make: creating $@
303 @mkdir data 2>/dev/null || true
304 @$(edit) $(srcdir)/data/rc.xml.in >$@
306 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
307 @echo make: creating $@
309 @mkdir data 2>/dev/null || true
310 @$(edit) $(srcdir)/data/menu.xml.in >$@
312 dist_userscript_DATA = \
313 tools/themeupdate/themeupdate.py
316 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
318 dist_desktopfiles_DATA = \
325 render/obrender-3.0.pc.in \
326 parser/obparser-3.0.pc.in
342 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
345 for d in . m4 po render; do \
346 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \