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 = \
66 render_libobrender_la_SOURCES = \
89 parser_libobparser_la_CPPFLAGS = \
92 -DG_LOG_DOMAIN=\"ObParser\" \
93 -DLOCALEDIR=\"$(localedir)\" \
94 -DDATADIR=\"$(datadir)\" \
95 -DCONFIGDIR=\"$(configdir)\"
96 parser_libobparser_la_LDFLAGS = \
97 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
98 parser_libobparser_la_LIBADD = \
101 parser_libobparser_la_SOURCES = \
107 openbox_openbox_CPPFLAGS = \
114 -DLOCALEDIR=\"$(localedir)\" \
115 -DDATADIR=\"$(datadir)\" \
116 -DCONFIGDIR=\"$(configdir)\" \
117 -DG_LOG_DOMAIN=\"Openbox\"
118 openbox_openbox_LDADD = \
131 render/libobrender.la \
132 parser/libobparser.la
133 openbox_openbox_LDFLAGS = -export-dynamic
134 openbox_openbox_SOURCES = \
140 openbox/client_list_menu.c \
141 openbox/client_list_menu.h \
142 openbox/client_menu.c \
143 openbox/client_menu.h \
152 openbox/extensions.c \
153 openbox/extensions.h \
158 openbox/framerender.c \
159 openbox/framerender.h \
171 openbox/menuframe.c \
172 openbox/menuframe.h \
178 openbox/moveresize.c \
179 openbox/moveresize.h \
197 openbox/startupnotify.c \
198 openbox/startupnotify.h \
199 openbox/translate.c \
200 openbox/translate.h \
209 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
211 tools_kdetrayproxy_kdetrayproxy_LDADD = \
213 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
214 tools/kdetrayproxy/kdetrayproxy.c
217 ## gnome-panel-control ##
219 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
221 tools_gnome_panel_control_gnome_panel_control_LDADD = \
223 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
224 tools/gnome-panel-control/gnome-panel-control.c
229 allegro_themedir = $(themedir)/Allegro/openbox-3
230 dist_allegro_theme_DATA = \
231 themes/Allegro/openbox-3/themerc \
232 themes/Allegro/openbox-3/bullet.xbm
234 artwiz_themedir = $(themedir)/Artwiz/openbox-3
235 dist_artwiz_theme_DATA = \
236 themes/Artwiz/openbox-3/themerc
238 blah41_themedir = $(themedir)/Blah41/openbox-3
239 dist_blah41_theme_DATA = \
240 themes/Blah41/openbox-3/themerc
242 om4ob_themedir = $(themedir)/Om4Ob/openbox-3
243 dist_om4ob_theme_DATA = \
244 themes/Om4Ob/openbox-3/themerc \
245 themes/Om4Ob/openbox-3/close_hover.xbm \
246 themes/Om4Ob/openbox-3/close.xbm \
247 themes/Om4Ob/openbox-3/desk_hover.xbm \
248 themes/Om4Ob/openbox-3/desk_toggled.xbm \
249 themes/Om4Ob/openbox-3/desk.xbm \
250 themes/Om4Ob/openbox-3/iconify_hover.xbm \
251 themes/Om4Ob/openbox-3/iconify_pressed.xbm \
252 themes/Om4Ob/openbox-3/iconify.xbm \
253 themes/Om4Ob/openbox-3/max_disabled.xbm \
254 themes/Om4Ob/openbox-3/max_hover.xbm \
255 themes/Om4Ob/openbox-3/max_pressed.xbm \
256 themes/Om4Ob/openbox-3/max_toggled.xbm \
257 themes/Om4Ob/openbox-3/max.xbm \
258 themes/Om4Ob/openbox-3/shade_disabled.xbm \
259 themes/Om4Ob/openbox-3/shade_hover.xbm \
260 themes/Om4Ob/openbox-3/shade_toggled.xbm \
261 themes/Om4Ob/openbox-3/shade.xbm
263 thebear_themedir = $(themedir)/TheBear/openbox-3
264 dist_thebear_theme_DATA = \
265 themes/TheBear/openbox-3/themerc
270 pubinclude_HEADERS = \
275 nodist_pubinclude_HEADERS = \
278 nodist_pkgconfig_DATA = \
279 render/obrender-3.0.pc \
280 parser/obparser-3.0.pc
296 -e 's!@version\@!$(VERSION)!' \
297 -e 's!@xsddir\@!$(xsddir)!'
299 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
300 @echo make: creating $@
302 @mkdir data 2>/dev/null || true
303 @$(edit) $(srcdir)/data/rc.xml.in >$@
305 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
306 @echo make: creating $@
308 @mkdir data 2>/dev/null || true
309 @$(edit) $(srcdir)/data/menu.xml.in >$@
311 dist_userscript_DATA = \
312 tools/themeupdate/themeupdate.py
315 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
317 dist_desktopfiles_DATA = \
324 render/obrender-3.0.pc.in \
325 parser/obparser-3.0.pc.in
341 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
344 for d in . m4 po render; do \
345 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \