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 \
46 render_rendertest_SOURCES = render/test.c
48 render_libobrender_la_CPPFLAGS = \
53 -DG_LOG_DOMAIN=\"ObRender\" \
54 -DDEFAULT_THEME=\"$(theme)\"
55 render_libobrender_la_LIBADD = \
57 render_libobrender_la_LDFLAGS = \
58 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
59 render_libobrender_la_SOURCES = \
82 parser_libobparser_la_CPPFLAGS = \
85 -DG_LOG_DOMAIN=\"ObParser\" \
86 -DLOCALEDIR=\"$(localedir)\" \
87 -DDATADIR=\"$(datadir)\" \
88 -DCONFIGDIR=\"$(configdir)\"
89 parser_libobparser_la_LDFLAGS = \
90 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
91 parser_libobparser_la_SOURCES = \
97 openbox_openbox_CPPFLAGS = \
104 -DLOCALEDIR=\"$(localedir)\" \
105 -DDATADIR=\"$(datadir)\" \
106 -DCONFIGDIR=\"$(configdir)\" \
107 -DG_LOG_DOMAIN=\"Openbox\"
108 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 \