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