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