]> Dogcows Code - chaz/openbox/blob - Makefile.am
syscrash changed his theme up
[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_combined_menu.c \
140 openbox/client_list_combined_menu.h \
141 openbox/client_menu.c \
142 openbox/client_menu.h \
143 openbox/config.c \
144 openbox/config.h \
145 openbox/debug.c \
146 openbox/debug.h \
147 openbox/dock.c \
148 openbox/dock.h \
149 openbox/event.c \
150 openbox/event.h \
151 openbox/extensions.c \
152 openbox/extensions.h \
153 openbox/focus.c \
154 openbox/focus.h \
155 openbox/frame.c \
156 openbox/frame.h \
157 openbox/framerender.c \
158 openbox/framerender.h \
159 openbox/geom.h \
160 openbox/grab.c \
161 openbox/grab.h \
162 openbox/group.c \
163 openbox/group.h \
164 openbox/keyboard.c \
165 openbox/keyboard.h \
166 openbox/keytree.c \
167 openbox/keytree.h \
168 openbox/mainloop.c \
169 openbox/mainloop.h \
170 openbox/menuframe.c \
171 openbox/menuframe.h \
172 openbox/menu.c \
173 openbox/menu.h \
174 openbox/misc.h \
175 openbox/mouse.c \
176 openbox/mouse.h \
177 openbox/moveresize.c \
178 openbox/moveresize.h \
179 openbox/mwm.h \
180 openbox/openbox.c \
181 openbox/openbox.h \
182 openbox/place.c \
183 openbox/place.h \
184 openbox/popup.c \
185 openbox/popup.h \
186 openbox/prop.c \
187 openbox/prop.h \
188 openbox/resist.c \
189 openbox/resist.h \
190 openbox/screen.c \
191 openbox/screen.h \
192 openbox/session.c \
193 openbox/session.h \
194 openbox/stacking.c \
195 openbox/stacking.h \
196 openbox/startupnotify.c \
197 openbox/startupnotify.h \
198 openbox/translate.c \
199 openbox/translate.h \
200 openbox/window.c \
201 openbox/window.h \
202 openbox/xerror.c \
203 openbox/xerror.h
204
205
206 ## themetoxml ##
207
208 tools_themetoxml_themetoxml_CPPFLAGS = \
209 $(X_CFLAGS) \
210 $(GLIB_CFLAGS) \
211 $(XML_CFLAGS)
212 tools_themetoxml_themetoxml_LDADD = \
213 $(X_LIBS) \
214 $(GLIB_LIBS) \
215 $(XML_LIBS)
216 tools_themetoxml_themetoxml_SOURCES = \
217 tools/themetoxml/themetoxml.c \
218 tools/themetoxml/themetoxml.h \
219 tools/themetoxml/rgb.h
220
221
222 ## gnome-panel-control ##
223
224 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
225 $(X_CFLAGS)
226 tools_gnome_panel_control_gnome_panel_control_LDADD = \
227 $(X_LIBS)
228 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
229 tools/gnome-panel-control/gnome-panel-control.c
230
231
232 ## themes ##
233
234 mikachu_themedir = $(themedir)/Mikachu/openbox-3
235 dist_mikachu_theme_DATA= \
236 themes/Mikachu/openbox-3/bullet.xbm \
237 themes/Mikachu/openbox-3/close.xbm \
238 themes/Mikachu/openbox-3/desk.xbm \
239 themes/Mikachu/openbox-3/iconify.xbm \
240 themes/Mikachu/openbox-3/max.xbm \
241 themes/Mikachu/openbox-3/themerc.xml
242
243
244 natura_themedir = $(themedir)/Natura/openbox-3
245 dist_natura_theme_DATA= \
246 themes/Natura/openbox-3/close_hover.xbm \
247 themes/Natura/openbox-3/close.xbm \
248 themes/Natura/openbox-3/desk_toggled.xbm \
249 themes/Natura/openbox-3/desk.xbm \
250 themes/Natura/openbox-3/iconify_disabled.xbm \
251 themes/Natura/openbox-3/iconify_hover.xbm \
252 themes/Natura/openbox-3/iconify.xbm \
253 themes/Natura/openbox-3/max_disabled.xbm \
254 themes/Natura/openbox-3/max_hover.xbm \
255 themes/Natura/openbox-3/max_toggled.xbm \
256 themes/Natura/openbox-3/max.xbm \
257 themes/Natura/openbox-3/shade.xbm \
258 themes/Natura/openbox-3/themerc.xml
259
260 artwizboxed_themedir = $(themedir)/artwiz-boxed/openbox-3
261 dist_artwizboxed_theme_DATA= \
262 themes/artwiz-boxed/openbox-3/bullet.xbm \
263 themes/artwiz-boxed/openbox-3/close.xbm \
264 themes/artwiz-boxed/openbox-3/desk_toggled.xbm \
265 themes/artwiz-boxed/openbox-3/desk.xbm \
266 themes/artwiz-boxed/openbox-3/iconify.xbm \
267 themes/artwiz-boxed/openbox-3/max_toggled.xbm \
268 themes/artwiz-boxed/openbox-3/max.xbm \
269 themes/artwiz-boxed/openbox-3/themerc.xml
270
271 bear2_themedir = $(themedir)/bear2/openbox-3
272 dist_bear2_theme_DATA= \
273 themes/bear2/openbox-3/close_pressed.xbm \
274 themes/bear2/openbox-3/close.xbm \
275 themes/bear2/openbox-3/desk_toggled.xbm \
276 themes/bear2/openbox-3/desk.xbm \
277 themes/bear2/openbox-3/iconify_disabled.xbm \
278 themes/bear2/openbox-3/iconify_pressed.xbm \
279 themes/bear2/openbox-3/iconify.xbm \
280 themes/bear2/openbox-3/max_disabled.xbm \
281 themes/bear2/openbox-3/max_pressed.xbm \
282 themes/bear2/openbox-3/max_toggled.xbm \
283 themes/bear2/openbox-3/max.xbm \
284 themes/bear2/openbox-3/shade_pressed.xbm \
285 themes/bear2/openbox-3/shade.xbm \
286 themes/bear2/openbox-3/themerc.xml
287
288 orang_themedir = $(themedir)/orang/openbox-3
289 dist_orang_theme_DATA= \
290 themes/orang/openbox-3/themerc.xml
291
292 syscrash_themedir = $(themedir)/syscrash/openbox-3
293 dist_syscrash_theme_DATA= \
294 themes/syscrash/openbox-3/bullet.xbm \
295 themes/syscrash/openbox-3/close_disabled.xbm \
296 themes/syscrash/openbox-3/close.xbm \
297 themes/syscrash/openbox-3/desk_toggled.xbm \
298 themes/syscrash/openbox-3/desk.xbm \
299 themes/syscrash/openbox-3/iconify.xbm \
300 themes/syscrash/openbox-3/max_disabled.xbm \
301 themes/syscrash/openbox-3/max_pressed.xbm \
302 themes/syscrash/openbox-3/max_toggled.xbm \
303 themes/syscrash/openbox-3/max.xbm \
304 themes/syscrash/openbox-3/shade.xbm \
305 themes/syscrash/openbox-3/themerc.xml
306
307 ## public headers ##
308
309 pubinclude_HEADERS = \
310 render/color.h \
311 render/font.h \
312 render/geom.h \
313 render/gradient.h \
314 render/image.h \
315 render/instance.h \
316 render/mask.h \
317 render/render.h \
318 render/theme.h \
319 parser/parse.h
320
321 nodist_pubinclude_HEADERS = \
322 version.h
323
324 nodist_pkgconfig_DATA = \
325 render/obrender-3.0.pc \
326 parser/obparser-3.0.pc
327
328 ## data ##
329
330 dist_pixmap_DATA = \
331 data/openbox.png
332
333 nodist_rc_DATA = \
334 data/rc.xml \
335 data/menu.xml
336
337 dist_xsd_DATA = \
338 data/rc.xsd \
339 data/menu.xsd
340
341 edit = $(SED) \
342 -e 's!@version\@!$(VERSION)!' \
343 -e 's!@xsddir\@!$(xsddir)!'
344
345 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
346 @echo make: creating $@
347 @rm -f $@
348 @mkdir data 2>/dev/null || true
349 @$(edit) $(srcdir)/data/rc.xml.in >$@
350
351 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
352 @echo make: creating $@
353 @rm -f $@
354 @mkdir data 2>/dev/null || true
355 @$(edit) $(srcdir)/data/menu.xml.in >$@
356
357 dist_desktopfiles_DATA = \
358 data/openbox.desktop
359
360 dist_noinst_DATA = \
361 tools/themeupdate/themeupdate.py \
362 version.h.in \
363 data/rc.xml.in \
364 data/menu.xml.in \
365 render/obrender-3.0.pc.in \
366 parser/obparser-3.0.pc.in
367
368 EXTRA_DIST = \
369 config.rpath \
370 mkinstalldirs \
371 CHANGELOG \
372 COMPLIANCE \
373 README \
374 COPYING \
375 AUTHORS
376
377 CLEANFILES = \
378 data/rc.xml \
379 data/menu.xml
380
381 #doc:
382 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
383
384 distclean-local:
385 for d in . m4 po render; do \
386 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
387 rm -f "$$d/$$p"; \
388 done \
389 done
390
391 .PHONY: doc
This page took 0.057971 seconds and 4 git commands to generate.