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 = \
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 mikachu_themedir = $(themedir)/Mikachu/openbox-3
230 dist_mikachu_theme_DATA= \
231 themes/Mikachu/openbox-3/bullet.xbm \
232 themes/Mikachu/openbox-3/close.xbm \
233 themes/Mikachu/openbox-3/desk.xbm \
234 themes/Mikachu/openbox-3/iconify.xbm \
235 themes/Mikachu/openbox-3/max.xbm \
236 themes/Mikachu/openbox-3/themerc
239 natura_themedir = $(themedir)/Natura/openbox-3
240 dist_natura_theme_DATA= \
241 themes/Natura/openbox-3/close_hover.xbm \
242 themes/Natura/openbox-3/close.xbm \
243 themes/Natura/openbox-3/desk_toggled.xbm \
244 themes/Natura/openbox-3/desk.xbm \
245 themes/Natura/openbox-3/iconify_disabled.xbm \
246 themes/Natura/openbox-3/iconify_hover.xbm \
247 themes/Natura/openbox-3/iconify.xbm \
248 themes/Natura/openbox-3/max_disabled.xbm \
249 themes/Natura/openbox-3/max_hover.xbm \
250 themes/Natura/openbox-3/max_toggled.xbm \
251 themes/Natura/openbox-3/max.xbm \
252 themes/Natura/openbox-3/shade.xbm \
253 themes/Natura/openbox-3/themerc
255 artwizboxed_themedir = $(themedir)/artwiz-boxed/openbox-3
256 dist_artwizboxed_theme_DATA= \
257 themes/artwiz-boxed/openbox-3/bullet.xbm \
258 themes/artwiz-boxed/openbox-3/close.xbm \
259 themes/artwiz-boxed/openbox-3/desk_toggled.xbm \
260 themes/artwiz-boxed/openbox-3/desk.xbm \
261 themes/artwiz-boxed/openbox-3/iconify.xbm \
262 themes/artwiz-boxed/openbox-3/max_toggled.xbm \
263 themes/artwiz-boxed/openbox-3/max.xbm \
264 themes/artwiz-boxed/openbox-3/themerc
266 bear2_themedir = $(themedir)/bear2/openbox-3
267 dist_bear2_theme_DATA= \
268 themes/bear2/openbox-3/close_pressed.xbm \
269 themes/bear2/openbox-3/close.xbm \
270 themes/bear2/openbox-3/desk_toggled.xbm \
271 themes/bear2/openbox-3/desk.xbm \
272 themes/bear2/openbox-3/iconify_disabled.xbm \
273 themes/bear2/openbox-3/iconify_pressed.xbm \
274 themes/bear2/openbox-3/iconify.xbm \
275 themes/bear2/openbox-3/max_disabled.xbm \
276 themes/bear2/openbox-3/max_pressed.xbm \
277 themes/bear2/openbox-3/max_toggled.xbm \
278 themes/bear2/openbox-3/max.xbm \
279 themes/bear2/openbox-3/shade_pressed.xbm \
280 themes/bear2/openbox-3/shade.xbm \
281 themes/bear2/openbox-3/themerc
283 orang_themedir = $(themedir)/orang/openbox-3
284 dist_orang_theme_DATA= \
285 themes/orang/openbox-3/themerc
287 syscrash_themedir = $(themedir)/syscrash/openbox-3
288 dist_syscrash_theme_DATA= \
289 themes/syscrash/openbox-3/bullet.xbm \
290 themes/syscrash/openbox-3/close_disabled.xbm \
291 themes/syscrash/openbox-3/close.xbm \
292 themes/syscrash/openbox-3/desk_toggled.xbm \
293 themes/syscrash/openbox-3/desk.xbm \
294 themes/syscrash/openbox-3/iconify.xbm \
295 themes/syscrash/openbox-3/max_disabled.xbm \
296 themes/syscrash/openbox-3/max_pressed.xbm \
297 themes/syscrash/openbox-3/max_toggled.xbm \
298 themes/syscrash/openbox-3/max.xbm \
299 themes/syscrash/openbox-3/shade.xbm \
300 themes/syscrash/openbox-3/themerc
304 pubinclude_HEADERS = \
316 nodist_pubinclude_HEADERS = \
319 nodist_pkgconfig_DATA = \
320 render/obrender-3.0.pc \
321 parser/obparser-3.0.pc
337 -e 's!@version\@!$(VERSION)!' \
338 -e 's!@xsddir\@!$(xsddir)!'
340 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
341 @echo make: creating $@
343 @mkdir data 2>/dev/null || true
344 @$(edit) $(srcdir)/data/rc.xml.in >$@
346 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
347 @echo make: creating $@
349 @mkdir data 2>/dev/null || true
350 @$(edit) $(srcdir)/data/menu.xml.in >$@
352 dist_userscript_DATA = \
353 tools/themeupdate/themeupdate.py
356 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
358 dist_desktopfiles_DATA = \
365 render/obrender-3.0.pc.in \
366 parser/obparser-3.0.pc.in
382 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
385 for d in . m4 po render; do \
386 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \