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