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/themetoxml/themetoxml \
33 tools/gnome-panel-control/gnome-panel-control
37 render_rendertest_CPPFLAGS = \
40 -DG_LOG_DOMAIN=\"RenderTest\"
41 render_rendertest_LDADD = \
42 parser/libobparser.la \
43 render/libobrender.la \
48 render_rendertest_SOURCES = render/test.c
50 render_libobrender_la_CPPFLAGS = \
55 -DG_LOG_DOMAIN=\"ObRender\" \
56 -DDEFAULT_THEME=\"$(theme)\"
57 render_libobrender_la_LDFLAGS = \
58 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
59 render_libobrender_la_LIBADD = \
60 parser/libobparser.la \
65 render_libobrender_la_SOURCES = \
88 parser_libobparser_la_CPPFLAGS = \
91 -DG_LOG_DOMAIN=\"ObParser\" \
92 -DLOCALEDIR=\"$(localedir)\" \
93 -DDATADIR=\"$(datadir)\" \
94 -DCONFIGDIR=\"$(configdir)\"
95 parser_libobparser_la_LDFLAGS = \
96 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
97 parser_libobparser_la_LIBADD = \
100 parser_libobparser_la_SOURCES = \
106 openbox_openbox_CPPFLAGS = \
113 -DLOCALEDIR=\"$(localedir)\" \
114 -DDATADIR=\"$(datadir)\" \
115 -DCONFIGDIR=\"$(configdir)\" \
116 -DG_LOG_DOMAIN=\"Openbox\"
117 openbox_openbox_LDADD = \
129 render/libobrender.la \
130 parser/libobparser.la
131 openbox_openbox_LDFLAGS = -export-dynamic
132 openbox_openbox_SOURCES = \
138 openbox/client_list_menu.c \
139 openbox/client_list_combined_menu.c \
140 openbox/client_list_combined_menu.h \
141 openbox/client_menu.c \
142 openbox/client_menu.h \
151 openbox/extensions.c \
152 openbox/extensions.h \
157 openbox/framerender.c \
158 openbox/framerender.h \
170 openbox/menuframe.c \
171 openbox/menuframe.h \
177 openbox/moveresize.c \
178 openbox/moveresize.h \
196 openbox/startupnotify.c \
197 openbox/startupnotify.h \
198 openbox/translate.c \
199 openbox/translate.h \
208 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
210 tools_kdetrayproxy_kdetrayproxy_LDADD = \
212 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
213 tools/kdetrayproxy/kdetrayproxy.c
218 tools_themetoxml_themetoxml_CPPFLAGS = \
222 tools_themetoxml_themetoxml_LDADD = \
226 tools_themetoxml_themetoxml_SOURCES = \
227 tools/themetoxml/themetoxml.c \
228 tools/themetoxml/themetoxml.h \
229 tools/themetoxml/rgb.h
232 ## gnome-panel-control ##
234 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
236 tools_gnome_panel_control_gnome_panel_control_LDADD = \
238 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
239 tools/gnome-panel-control/gnome-panel-control.c
244 mikachu_themedir = $(themedir)/Mikachu/openbox-3
245 dist_mikachu_theme_DATA= \
246 themes/Mikachu/openbox-3/bullet.xbm \
247 themes/Mikachu/openbox-3/close.xbm \
248 themes/Mikachu/openbox-3/desk.xbm \
249 themes/Mikachu/openbox-3/iconify.xbm \
250 themes/Mikachu/openbox-3/max.xbm \
251 themes/Mikachu/openbox-3/themerc
254 natura_themedir = $(themedir)/Natura/openbox-3
255 dist_natura_theme_DATA= \
256 themes/Natura/openbox-3/close_hover.xbm \
257 themes/Natura/openbox-3/close.xbm \
258 themes/Natura/openbox-3/desk_toggled.xbm \
259 themes/Natura/openbox-3/desk.xbm \
260 themes/Natura/openbox-3/iconify_disabled.xbm \
261 themes/Natura/openbox-3/iconify_hover.xbm \
262 themes/Natura/openbox-3/iconify.xbm \
263 themes/Natura/openbox-3/max_disabled.xbm \
264 themes/Natura/openbox-3/max_hover.xbm \
265 themes/Natura/openbox-3/max_toggled.xbm \
266 themes/Natura/openbox-3/max.xbm \
267 themes/Natura/openbox-3/shade.xbm \
268 themes/Natura/openbox-3/themerc
270 artwizboxed_themedir = $(themedir)/artwiz-boxed/openbox-3
271 dist_artwizboxed_theme_DATA= \
272 themes/artwiz-boxed/openbox-3/bullet.xbm \
273 themes/artwiz-boxed/openbox-3/close.xbm \
274 themes/artwiz-boxed/openbox-3/desk_toggled.xbm \
275 themes/artwiz-boxed/openbox-3/desk.xbm \
276 themes/artwiz-boxed/openbox-3/iconify.xbm \
277 themes/artwiz-boxed/openbox-3/max_toggled.xbm \
278 themes/artwiz-boxed/openbox-3/max.xbm \
279 themes/artwiz-boxed/openbox-3/themerc
281 bear2_themedir = $(themedir)/bear2/openbox-3
282 dist_bear2_theme_DATA= \
283 themes/bear2/openbox-3/close_pressed.xbm \
284 themes/bear2/openbox-3/close.xbm \
285 themes/bear2/openbox-3/desk_toggled.xbm \
286 themes/bear2/openbox-3/desk.xbm \
287 themes/bear2/openbox-3/iconify_disabled.xbm \
288 themes/bear2/openbox-3/iconify_pressed.xbm \
289 themes/bear2/openbox-3/iconify.xbm \
290 themes/bear2/openbox-3/max_disabled.xbm \
291 themes/bear2/openbox-3/max_pressed.xbm \
292 themes/bear2/openbox-3/max_toggled.xbm \
293 themes/bear2/openbox-3/max.xbm \
294 themes/bear2/openbox-3/shade_pressed.xbm \
295 themes/bear2/openbox-3/shade.xbm \
296 themes/bear2/openbox-3/themerc
298 orang_themedir = $(themedir)/orang/openbox-3
299 dist_orang_theme_DATA= \
300 themes/orang/openbox-3/themerc
302 syscrash_themedir = $(themedir)/syscrash/openbox-3
303 dist_syscrash_theme_DATA= \
304 themes/syscrash/openbox-3/bullet.xbm \
305 themes/syscrash/openbox-3/close_disabled.xbm \
306 themes/syscrash/openbox-3/close.xbm \
307 themes/syscrash/openbox-3/desk_toggled.xbm \
308 themes/syscrash/openbox-3/desk.xbm \
309 themes/syscrash/openbox-3/iconify.xbm \
310 themes/syscrash/openbox-3/max_disabled.xbm \
311 themes/syscrash/openbox-3/max_pressed.xbm \
312 themes/syscrash/openbox-3/max_toggled.xbm \
313 themes/syscrash/openbox-3/max.xbm \
314 themes/syscrash/openbox-3/shade.xbm \
315 themes/syscrash/openbox-3/themerc
319 pubinclude_HEADERS = \
331 nodist_pubinclude_HEADERS = \
334 nodist_pkgconfig_DATA = \
335 render/obrender-3.0.pc \
336 parser/obparser-3.0.pc
352 -e 's!@version\@!$(VERSION)!' \
353 -e 's!@xsddir\@!$(xsddir)!'
355 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
356 @echo make: creating $@
358 @mkdir data 2>/dev/null || true
359 @$(edit) $(srcdir)/data/rc.xml.in >$@
361 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
362 @echo make: creating $@
364 @mkdir data 2>/dev/null || true
365 @$(edit) $(srcdir)/data/menu.xml.in >$@
367 dist_userscript_DATA = \
368 tools/themeupdate/themeupdate.py
371 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
373 dist_desktopfiles_DATA = \
380 render/obrender-3.0.pc.in \
381 parser/obparser-3.0.pc.in
397 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
400 for d in . m4 po render; do \
401 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \