]> Dogcows Code - chaz/openbox/blob - Makefile.am
a combined client_list_menu, use as client-list-combined-menu in your rc.xml. needs...
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
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
13
14 theme = bear2
15
16 AUTOMAKE_OPTIONS = subdir-objects foreign
17
18 ACLOCAL_AMFLAGS = -I m4
19
20 INCLUDES = -I.
21
22 check_PROGRAMS = \
23 render/rendertest
24
25 lib_LTLIBRARIES = \
26 parser/libobparser.la \
27 render/libobrender.la
28
29 bin_PROGRAMS = \
30 openbox/openbox \
31 tools/kdetrayproxy/kdetrayproxy \
32 tools/gnome-panel-control/gnome-panel-control
33
34 ## render ##
35
36 render_rendertest_CPPFLAGS = \
37 $(XFT_CFLAGS) \
38 $(GLIB_CFLAGS) \
39 -DG_LOG_DOMAIN=\"RenderTest\"
40 render_rendertest_LDADD = \
41 parser/libobparser.la \
42 render/libobrender.la \
43 $(XFT_LIBS) \
44 $(GLIB_LIBS) \
45 $(PANGO_LIBS) \
46 $(XML_LIBS) \
47 $(X_LIBS)
48 render_rendertest_SOURCES = render/test.c
49
50 render_libobrender_la_CPPFLAGS = \
51 $(X_CFLAGS) \
52 $(XFT_CFLAGS) \
53 $(GLIB_CFLAGS) \
54 $(XML_CFLAGS) \
55 $(PANGO_CFLAGS) \
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 \
62 $(X_LIBS) \
63 $(XFT_LIBS) \
64 $(PANGO_LIBS) \
65 $(GLIB_LIBS) \
66 $(XML_LIBS)
67 render_libobrender_la_SOURCES = \
68 gettext.h \
69 render/color.h \
70 render/color.c \
71 render/font.h \
72 render/font.c \
73 render/geom.h \
74 render/gradient.h \
75 render/gradient.c \
76 render/icon.h \
77 render/image.h \
78 render/image.c \
79 render/instance.h \
80 render/instance.c \
81 render/mask.h \
82 render/mask.c \
83 render/render.h \
84 render/render.c \
85 render/theme.h \
86 render/theme.c
87
88 ## parser ##
89
90 parser_libobparser_la_CPPFLAGS = \
91 $(GLIB_CFLAGS) \
92 $(XML_CFLAGS) \
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 = \
100 $(GLIB_LIBS) \
101 $(XML_LIBS)
102 parser_libobparser_la_SOURCES = \
103 parser/parse.h \
104 parser/parse.c
105
106 ## openbox ##
107
108 openbox_openbox_CPPFLAGS = \
109 $(X_CFLAGS) \
110 $(SM_CFLAGS) \
111 $(XFT_CFLAGS) \
112 $(GLIB_CFLAGS) \
113 $(LIBSN_CFLAGS) \
114 $(XML_CFLAGS) \
115 -DLOCALEDIR=\"$(localedir)\" \
116 -DDATADIR=\"$(datadir)\" \
117 -DCONFIGDIR=\"$(configdir)\" \
118 -DG_LOG_DOMAIN=\"Openbox\"
119 openbox_openbox_LDADD = \
120 $(SM_LIBS) \
121 $(XINERAMA_LIBS) \
122 $(XKB_LIBS) \
123 $(XRANDR_LIBS) \
124 $(XSHAPE_LIBS) \
125 $(GLIB_LIBS) \
126 $(X_LIBS) \
127 $(LIBSN_LIBS) \
128 $(XML_LIBS) \
129 $(EFENCE_LIBS) \
130 $(LIBINTL) \
131 render/libobrender.la \
132 parser/libobparser.la
133 openbox_openbox_LDFLAGS = -export-dynamic
134 openbox_openbox_SOURCES = \
135 gettext.h \
136 openbox/action.c \
137 openbox/action.h \
138 openbox/client.c \
139 openbox/client.h \
140 openbox/client_list_menu.c \
141 openbox/client_list_combined_menu.c \
142 openbox/client_list_combined_menu.h \
143 openbox/client_menu.c \
144 openbox/client_menu.h \
145 openbox/config.c \
146 openbox/config.h \
147 openbox/debug.c \
148 openbox/debug.h \
149 openbox/dock.c \
150 openbox/dock.h \
151 openbox/event.c \
152 openbox/event.h \
153 openbox/extensions.c \
154 openbox/extensions.h \
155 openbox/focus.c \
156 openbox/focus.h \
157 openbox/frame.c \
158 openbox/frame.h \
159 openbox/framerender.c \
160 openbox/framerender.h \
161 openbox/geom.h \
162 openbox/grab.c \
163 openbox/grab.h \
164 openbox/group.c \
165 openbox/group.h \
166 openbox/keyboard.c \
167 openbox/keyboard.h \
168 openbox/keytree.c \
169 openbox/keytree.h \
170 openbox/mainloop.c \
171 openbox/mainloop.h \
172 openbox/menuframe.c \
173 openbox/menuframe.h \
174 openbox/menu.c \
175 openbox/menu.h \
176 openbox/misc.h \
177 openbox/mouse.c \
178 openbox/mouse.h \
179 openbox/moveresize.c \
180 openbox/moveresize.h \
181 openbox/mwm.h \
182 openbox/openbox.c \
183 openbox/openbox.h \
184 openbox/place.c \
185 openbox/place.h \
186 openbox/popup.c \
187 openbox/popup.h \
188 openbox/prop.c \
189 openbox/prop.h \
190 openbox/resist.c \
191 openbox/resist.h \
192 openbox/screen.c \
193 openbox/screen.h \
194 openbox/session.c \
195 openbox/session.h \
196 openbox/stacking.c \
197 openbox/stacking.h \
198 openbox/startupnotify.c \
199 openbox/startupnotify.h \
200 openbox/translate.c \
201 openbox/translate.h \
202 openbox/window.c \
203 openbox/window.h \
204 openbox/xerror.c \
205 openbox/xerror.h
206
207
208 ## kdetrayproxy ##
209
210 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
211 $(X_CFLAGS)
212 tools_kdetrayproxy_kdetrayproxy_LDADD = \
213 $(X_LIBS)
214 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
215 tools/kdetrayproxy/kdetrayproxy.c
216
217
218 ## gnome-panel-control ##
219
220 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
221 $(X_CFLAGS)
222 tools_gnome_panel_control_gnome_panel_control_LDADD = \
223 $(X_LIBS)
224 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
225 tools/gnome-panel-control/gnome-panel-control.c
226
227
228 ## themes ##
229
230 mikachu_themedir = $(themedir)/Mikachu/openbox-3
231 dist_mikachu_theme_DATA= \
232 themes/Mikachu/openbox-3/bullet.xbm \
233 themes/Mikachu/openbox-3/close.xbm \
234 themes/Mikachu/openbox-3/desk.xbm \
235 themes/Mikachu/openbox-3/iconify.xbm \
236 themes/Mikachu/openbox-3/max.xbm \
237 themes/Mikachu/openbox-3/themerc
238
239
240 natura_themedir = $(themedir)/Natura/openbox-3
241 dist_natura_theme_DATA= \
242 themes/Natura/openbox-3/close_hover.xbm \
243 themes/Natura/openbox-3/close.xbm \
244 themes/Natura/openbox-3/desk_toggled.xbm \
245 themes/Natura/openbox-3/desk.xbm \
246 themes/Natura/openbox-3/iconify_disabled.xbm \
247 themes/Natura/openbox-3/iconify_hover.xbm \
248 themes/Natura/openbox-3/iconify.xbm \
249 themes/Natura/openbox-3/max_disabled.xbm \
250 themes/Natura/openbox-3/max_hover.xbm \
251 themes/Natura/openbox-3/max_toggled.xbm \
252 themes/Natura/openbox-3/max.xbm \
253 themes/Natura/openbox-3/shade.xbm \
254 themes/Natura/openbox-3/themerc
255
256 artwizboxed_themedir = $(themedir)/artwiz-boxed/openbox-3
257 dist_artwizboxed_theme_DATA= \
258 themes/artwiz-boxed/openbox-3/bullet.xbm \
259 themes/artwiz-boxed/openbox-3/close.xbm \
260 themes/artwiz-boxed/openbox-3/desk_toggled.xbm \
261 themes/artwiz-boxed/openbox-3/desk.xbm \
262 themes/artwiz-boxed/openbox-3/iconify.xbm \
263 themes/artwiz-boxed/openbox-3/max_toggled.xbm \
264 themes/artwiz-boxed/openbox-3/max.xbm \
265 themes/artwiz-boxed/openbox-3/themerc
266
267 bear2_themedir = $(themedir)/bear2/openbox-3
268 dist_bear2_theme_DATA= \
269 themes/bear2/openbox-3/close_pressed.xbm \
270 themes/bear2/openbox-3/close.xbm \
271 themes/bear2/openbox-3/desk_toggled.xbm \
272 themes/bear2/openbox-3/desk.xbm \
273 themes/bear2/openbox-3/iconify_disabled.xbm \
274 themes/bear2/openbox-3/iconify_pressed.xbm \
275 themes/bear2/openbox-3/iconify.xbm \
276 themes/bear2/openbox-3/max_disabled.xbm \
277 themes/bear2/openbox-3/max_pressed.xbm \
278 themes/bear2/openbox-3/max_toggled.xbm \
279 themes/bear2/openbox-3/max.xbm \
280 themes/bear2/openbox-3/shade_pressed.xbm \
281 themes/bear2/openbox-3/shade.xbm \
282 themes/bear2/openbox-3/themerc
283
284 orang_themedir = $(themedir)/orang/openbox-3
285 dist_orang_theme_DATA= \
286 themes/orang/openbox-3/themerc
287
288 syscrash_themedir = $(themedir)/syscrash/openbox-3
289 dist_syscrash_theme_DATA= \
290 themes/syscrash/openbox-3/bullet.xbm \
291 themes/syscrash/openbox-3/close_disabled.xbm \
292 themes/syscrash/openbox-3/close.xbm \
293 themes/syscrash/openbox-3/desk_toggled.xbm \
294 themes/syscrash/openbox-3/desk.xbm \
295 themes/syscrash/openbox-3/iconify.xbm \
296 themes/syscrash/openbox-3/max_disabled.xbm \
297 themes/syscrash/openbox-3/max_pressed.xbm \
298 themes/syscrash/openbox-3/max_toggled.xbm \
299 themes/syscrash/openbox-3/max.xbm \
300 themes/syscrash/openbox-3/shade.xbm \
301 themes/syscrash/openbox-3/themerc
302
303 ## public headers ##
304
305 pubinclude_HEADERS = \
306 render/color.h \
307 render/font.h \
308 render/geom.h \
309 render/gradient.h \
310 render/image.h \
311 render/instance.h \
312 render/mask.h \
313 render/render.h \
314 render/theme.h \
315 parser/parse.h
316
317 nodist_pubinclude_HEADERS = \
318 version.h
319
320 nodist_pkgconfig_DATA = \
321 render/obrender-3.0.pc \
322 parser/obparser-3.0.pc
323
324 ## data ##
325
326 dist_pixmap_DATA = \
327 data/openbox.png
328
329 nodist_rc_DATA = \
330 data/rc.xml \
331 data/menu.xml
332
333 dist_xsd_DATA = \
334 data/rc.xsd \
335 data/menu.xsd
336
337 edit = $(SED) \
338 -e 's!@version\@!$(VERSION)!' \
339 -e 's!@xsddir\@!$(xsddir)!'
340
341 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
342 @echo make: creating $@
343 @rm -f $@
344 @mkdir data 2>/dev/null || true
345 @$(edit) $(srcdir)/data/rc.xml.in >$@
346
347 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
348 @echo make: creating $@
349 @rm -f $@
350 @mkdir data 2>/dev/null || true
351 @$(edit) $(srcdir)/data/menu.xml.in >$@
352
353 dist_userscript_DATA = \
354 tools/themeupdate/themeupdate.py
355
356 install-data-hook:
357 chmod +x $(DESTDIR)$(userscriptdir)/themeupdate.py
358
359 dist_desktopfiles_DATA = \
360 data/openbox.desktop
361
362 dist_noinst_DATA = \
363 version.h.in \
364 data/rc.xml.in \
365 data/menu.xml.in \
366 render/obrender-3.0.pc.in \
367 parser/obparser-3.0.pc.in
368
369 EXTRA_DIST = \
370 config.rpath \
371 mkinstalldirs \
372 CHANGELOG \
373 COMPLIANCE \
374 README \
375 COPYING \
376 AUTHORS
377
378 CLEANFILES = \
379 data/rc.xml \
380 data/menu.xml
381
382 #doc:
383 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
384
385 distclean-local:
386 for d in . m4 po render; do \
387 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
388 rm -f "$$d/$$p"; \
389 done \
390 done
391
392 .PHONY: doc
This page took 0.049483 seconds and 4 git commands to generate.