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 \
47 render_rendertest_SOURCES = render/test.c
49 render_libobrender_la_CPPFLAGS = \
54 -DG_LOG_DOMAIN=\"ObRender\" \
55 -DDEFAULT_THEME=\"$(theme)\"
56 render_libobrender_la_LDFLAGS = \
57 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
58 render_libobrender_la_SOURCES = \
81 parser_libobparser_la_CPPFLAGS = \
84 -DG_LOG_DOMAIN=\"ObParser\" \
85 -DLOCALEDIR=\"$(localedir)\" \
86 -DDATADIR=\"$(datadir)\" \
87 -DCONFIGDIR=\"$(configdir)\"
88 parser_libobparser_la_LDFLAGS = \
89 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
90 parser_libobparser_la_SOURCES = \
96 openbox_openbox_CPPFLAGS = \
103 -DLOCALEDIR=\"$(localedir)\" \
104 -DDATADIR=\"$(datadir)\" \
105 -DCONFIGDIR=\"$(configdir)\" \
106 -DG_LOG_DOMAIN=\"Openbox\"
107 openbox_openbox_LDADD = \
121 render/libobrender.la \
122 parser/libobparser.la
123 openbox_openbox_LDFLAGS = -export-dynamic
124 openbox_openbox_SOURCES = \
130 openbox/client_list_menu.c \
131 openbox/client_list_menu.h \
132 openbox/client_menu.c \
133 openbox/client_menu.h \
142 openbox/extensions.c \
143 openbox/extensions.h \
148 openbox/framerender.c \
149 openbox/framerender.h \
161 openbox/menuframe.c \
162 openbox/menuframe.h \
168 openbox/moveresize.c \
169 openbox/moveresize.h \
187 openbox/startupnotify.c \
188 openbox/startupnotify.h \
189 openbox/translate.c \
190 openbox/translate.h \
199 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
201 tools_kdetrayproxy_kdetrayproxy_LDADD = \
203 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
204 tools/kdetrayproxy/kdetrayproxy.c
207 ## gnome-panel-control ##
209 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
211 tools_gnome_panel_control_gnome_panel_control_LDADD = \
213 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
214 tools/gnome-panel-control/gnome-panel-control.c
219 allegro_themedir = $(themedir)/Allegro/openbox-3
220 dist_allegro_theme_DATA = \
221 themes/Allegro/openbox-3/themerc \
222 themes/Allegro/openbox-3/bullet.xbm
224 artwiz_themedir = $(themedir)/Artwiz/openbox-3
225 dist_artwiz_theme_DATA = \
226 themes/Artwiz/openbox-3/themerc
228 blah41_themedir = $(themedir)/Blah41/openbox-3
229 dist_blah41_theme_DATA = \
230 themes/Blah41/openbox-3/themerc
232 om4ob_themedir = $(themedir)/Om4Ob/openbox-3
233 dist_om4ob_theme_DATA = \
234 themes/Om4Ob/openbox-3/themerc \
235 themes/Om4Ob/openbox-3/close_hover.xbm \
236 themes/Om4Ob/openbox-3/close.xbm \
237 themes/Om4Ob/openbox-3/desk_hover.xbm \
238 themes/Om4Ob/openbox-3/desk_toggled.xbm \
239 themes/Om4Ob/openbox-3/desk.xbm \
240 themes/Om4Ob/openbox-3/iconify_hover.xbm \
241 themes/Om4Ob/openbox-3/iconify_pressed.xbm \
242 themes/Om4Ob/openbox-3/iconify.xbm \
243 themes/Om4Ob/openbox-3/max_disabled.xbm \
244 themes/Om4Ob/openbox-3/max_hover.xbm \
245 themes/Om4Ob/openbox-3/max_pressed.xbm \
246 themes/Om4Ob/openbox-3/max_toggled.xbm \
247 themes/Om4Ob/openbox-3/max.xbm \
248 themes/Om4Ob/openbox-3/shade_disabled.xbm \
249 themes/Om4Ob/openbox-3/shade_hover.xbm \
250 themes/Om4Ob/openbox-3/shade_toggled.xbm \
251 themes/Om4Ob/openbox-3/shade.xbm
253 thebear_themedir = $(themedir)/TheBear/openbox-3
254 dist_thebear_theme_DATA = \
255 themes/TheBear/openbox-3/themerc
260 pubinclude_HEADERS = \
265 nodist_pkgconfig_DATA = \
266 render/obrender-3.0.pc \
267 parser/obparser-3.0.pc
283 -e 's!@version\@!$(VERSION)!' \
284 -e 's!@xsddir\@!$(xsddir)!'
286 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
287 @echo make: creating $@
289 @mkdir data 2>/dev/null || true
290 @$(edit) $(srcdir)/data/rc.xml.in >$@
292 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
293 @echo make: creating $@
295 @mkdir data 2>/dev/null || true
296 @$(edit) $(srcdir)/data/menu.xml.in >$@
298 dist_userscript_DATA = \
299 tools/themeupdate/themeupdate.py
302 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
304 dist_desktopfiles_DATA = \
310 render/obrender-3.0.pc.in \
311 parser/obparser-3.0.pc.in
326 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
329 for d in . m4 po render; do \
330 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \