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_SOURCES = \
83 parser_libobparser_la_CPPFLAGS = \
86 -DG_LOG_DOMAIN=\"ObParser\" \
87 -DLOCALEDIR=\"$(localedir)\" \
88 -DDATADIR=\"$(datadir)\" \
89 -DCONFIGDIR=\"$(configdir)\"
90 parser_libobparser_la_LDFLAGS = \
91 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
92 parser_libobparser_la_SOURCES = \
98 openbox_openbox_CPPFLAGS = \
105 -DLOCALEDIR=\"$(localedir)\" \
106 -DDATADIR=\"$(datadir)\" \
107 -DCONFIGDIR=\"$(configdir)\" \
108 -DG_LOG_DOMAIN=\"Openbox\"
109 openbox_openbox_LDADD = \
124 render/libobrender.la \
125 parser/libobparser.la
126 openbox_openbox_LDFLAGS = -export-dynamic
127 openbox_openbox_SOURCES = \
133 openbox/client_list_menu.c \
134 openbox/client_list_menu.h \
135 openbox/client_menu.c \
136 openbox/client_menu.h \
145 openbox/extensions.c \
146 openbox/extensions.h \
151 openbox/framerender.c \
152 openbox/framerender.h \
164 openbox/menuframe.c \
165 openbox/menuframe.h \
171 openbox/moveresize.c \
172 openbox/moveresize.h \
190 openbox/startupnotify.c \
191 openbox/startupnotify.h \
192 openbox/translate.c \
193 openbox/translate.h \
202 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
204 tools_kdetrayproxy_kdetrayproxy_LDADD = \
206 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
207 tools/kdetrayproxy/kdetrayproxy.c
210 ## gnome-panel-control ##
212 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
214 tools_gnome_panel_control_gnome_panel_control_LDADD = \
216 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
217 tools/gnome-panel-control/gnome-panel-control.c
222 allegro_themedir = $(themedir)/Allegro/openbox-3
223 dist_allegro_theme_DATA = \
224 themes/Allegro/openbox-3/themerc \
225 themes/Allegro/openbox-3/bullet.xbm
227 artwiz_themedir = $(themedir)/Artwiz/openbox-3
228 dist_artwiz_theme_DATA = \
229 themes/Artwiz/openbox-3/themerc
231 blah41_themedir = $(themedir)/Blah41/openbox-3
232 dist_blah41_theme_DATA = \
233 themes/Blah41/openbox-3/themerc
235 om4ob_themedir = $(themedir)/Om4Ob/openbox-3
236 dist_om4ob_theme_DATA = \
237 themes/Om4Ob/openbox-3/themerc \
238 themes/Om4Ob/openbox-3/close_hover.xbm \
239 themes/Om4Ob/openbox-3/close.xbm \
240 themes/Om4Ob/openbox-3/desk_hover.xbm \
241 themes/Om4Ob/openbox-3/desk_toggled.xbm \
242 themes/Om4Ob/openbox-3/desk.xbm \
243 themes/Om4Ob/openbox-3/iconify_hover.xbm \
244 themes/Om4Ob/openbox-3/iconify_pressed.xbm \
245 themes/Om4Ob/openbox-3/iconify.xbm \
246 themes/Om4Ob/openbox-3/max_disabled.xbm \
247 themes/Om4Ob/openbox-3/max_hover.xbm \
248 themes/Om4Ob/openbox-3/max_pressed.xbm \
249 themes/Om4Ob/openbox-3/max_toggled.xbm \
250 themes/Om4Ob/openbox-3/max.xbm \
251 themes/Om4Ob/openbox-3/shade_disabled.xbm \
252 themes/Om4Ob/openbox-3/shade_hover.xbm \
253 themes/Om4Ob/openbox-3/shade_toggled.xbm \
254 themes/Om4Ob/openbox-3/shade.xbm
256 thebear_themedir = $(themedir)/TheBear/openbox-3
257 dist_thebear_theme_DATA = \
258 themes/TheBear/openbox-3/themerc
263 pubinclude_HEADERS = \
268 nodist_pubinclude_HEADERS = \
271 nodist_pkgconfig_DATA = \
272 render/obrender-3.0.pc \
273 parser/obparser-3.0.pc
289 -e 's!@version\@!$(VERSION)!' \
290 -e 's!@xsddir\@!$(xsddir)!'
292 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
293 @echo make: creating $@
295 @mkdir data 2>/dev/null || true
296 @$(edit) $(srcdir)/data/rc.xml.in >$@
298 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
299 @echo make: creating $@
301 @mkdir data 2>/dev/null || true
302 @$(edit) $(srcdir)/data/menu.xml.in >$@
304 dist_userscript_DATA = \
305 tools/themeupdate/themeupdate.py
308 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
310 dist_desktopfiles_DATA = \
317 render/obrender-3.0.pc.in \
318 parser/obparser-3.0.pc.in
334 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
337 for d in . m4 po render; do \
338 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \