]> Dogcows Code - chaz/openbox/blob - Makefile.am
add the user time window test
[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 xsessionsdir = $(datadir)/xsessions
8 gnomewmfilesdir = $(datadir)/gnome/wm-properties
9 pkgconfigdir = $(libdir)/pkgconfig
10 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
11 pixmapdir = $(datadir)/pixmaps
12 xsddir = $(datadir)/openbox
13
14 theme = Clearlooks
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/gnome-panel-control/gnome-panel-control
32
33 bin_SCRIPTS = \
34 data/xsession/openbox-gnome-session \
35 data/xsession/openbox-kde-session \
36 data/xsession/openbox-gnome \
37 data/xsession/openbox-kde
38
39 noinst_PROGRAMS = \
40 tools/themetoxml/themetoxml
41
42 ## render ##
43
44 render_rendertest_CPPFLAGS = \
45 $(PANGO_CFLAGS) \
46 $(GLIB_CFLAGS) \
47 -DG_LOG_DOMAIN=\"RenderTest\"
48 render_rendertest_LDADD = \
49 parser/libobparser.la \
50 render/libobrender.la \
51 $(GLIB_LIBS) \
52 $(PANGO_LIBS) \
53 $(XML_LIBS) \
54 $(X_LIBS)
55 render_rendertest_SOURCES = render/test.c
56
57 render_libobrender_la_CPPFLAGS = \
58 $(X_CFLAGS) \
59 $(GLIB_CFLAGS) \
60 $(XML_CFLAGS) \
61 $(PANGO_CFLAGS) \
62 -DG_LOG_DOMAIN=\"ObRender\" \
63 -DDEFAULT_THEME=\"$(theme)\"
64 render_libobrender_la_LDFLAGS = \
65 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
66 render_libobrender_la_LIBADD = \
67 parser/libobparser.la \
68 $(X_LIBS) \
69 $(PANGO_LIBS) \
70 $(GLIB_LIBS) \
71 $(XML_LIBS)
72 render_libobrender_la_SOURCES = \
73 gettext.h \
74 render/color.h \
75 render/color.c \
76 render/font.h \
77 render/font.c \
78 render/geom.h \
79 render/gradient.h \
80 render/gradient.c \
81 render/icon.h \
82 render/image.h \
83 render/image.c \
84 render/instance.h \
85 render/instance.c \
86 render/mask.h \
87 render/mask.c \
88 render/render.h \
89 render/render.c \
90 render/theme.h \
91 render/theme.c
92
93 ## parser ##
94
95 parser_libobparser_la_CPPFLAGS = \
96 $(GLIB_CFLAGS) \
97 $(XML_CFLAGS) \
98 -DG_LOG_DOMAIN=\"ObParser\" \
99 -DLOCALEDIR=\"$(localedir)\" \
100 -DDATADIR=\"$(datadir)\" \
101 -DCONFIGDIR=\"$(configdir)\"
102 parser_libobparser_la_LDFLAGS = \
103 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
104 parser_libobparser_la_LIBADD = \
105 $(GLIB_LIBS) \
106 $(XML_LIBS)
107 parser_libobparser_la_SOURCES = \
108 parser/parse.h \
109 parser/parse.c
110
111 ## openbox ##
112
113 openbox_openbox_CPPFLAGS = \
114 $(SM_CFLAGS) \
115 $(XINERAMA_CFLAGS) \
116 $(XKB_CFLAGS) \
117 $(XRANDR_CFLAGS) \
118 $(XSHAPE_CFLAGS) \
119 $(XSYNC_CFLAGS) \
120 $(X_CFLAGS) \
121 $(XCURSOR_CFLAGS) \
122 $(SM_CFLAGS) \
123 $(PANGO_CFLAGS) \
124 $(GLIB_CFLAGS) \
125 $(LIBSN_CFLAGS) \
126 $(XML_CFLAGS) \
127 -DLOCALEDIR=\"$(localedir)\" \
128 -DDATADIR=\"$(datadir)\" \
129 -DCONFIGDIR=\"$(configdir)\" \
130 -DG_LOG_DOMAIN=\"Openbox\"
131 openbox_openbox_LDADD = \
132 $(SM_LIBS) \
133 $(XINERAMA_LIBS) \
134 $(XKB_LIBS) \
135 $(XRANDR_LIBS) \
136 $(XSHAPE_LIBS) \
137 $(XSYNC_LIBS) \
138 $(GLIB_LIBS) \
139 $(X_LIBS) \
140 $(XCURSOR_LIBS) \
141 $(LIBSN_LIBS) \
142 $(XML_LIBS) \
143 $(EFENCE_LIBS) \
144 $(LIBINTL) \
145 render/libobrender.la \
146 parser/libobparser.la
147 openbox_openbox_LDFLAGS = -export-dynamic
148 openbox_openbox_SOURCES = \
149 gettext.h \
150 openbox/action.c \
151 openbox/action.h \
152 openbox/client.c \
153 openbox/client.h \
154 openbox/client_list_menu.c \
155 openbox/client_list_menu.h \
156 openbox/client_list_combined_menu.c \
157 openbox/client_list_combined_menu.h \
158 openbox/client_menu.c \
159 openbox/client_menu.h \
160 openbox/config.c \
161 openbox/config.h \
162 openbox/debug.c \
163 openbox/debug.h \
164 openbox/dock.c \
165 openbox/dock.h \
166 openbox/event.c \
167 openbox/event.h \
168 openbox/extensions.c \
169 openbox/extensions.h \
170 openbox/focus.c \
171 openbox/focus.h \
172 openbox/frame.c \
173 openbox/frame.h \
174 openbox/framerender.c \
175 openbox/framerender.h \
176 openbox/geom.h \
177 openbox/grab.c \
178 openbox/grab.h \
179 openbox/group.c \
180 openbox/group.h \
181 openbox/keyboard.c \
182 openbox/keyboard.h \
183 openbox/keytree.c \
184 openbox/keytree.h \
185 openbox/mainloop.c \
186 openbox/mainloop.h \
187 openbox/menuframe.c \
188 openbox/menuframe.h \
189 openbox/menu.c \
190 openbox/menu.h \
191 openbox/misc.h \
192 openbox/modkeys.c \
193 openbox/modkeys.h \
194 openbox/mouse.c \
195 openbox/mouse.h \
196 openbox/moveresize.c \
197 openbox/moveresize.h \
198 openbox/mwm.h \
199 openbox/openbox.c \
200 openbox/openbox.h \
201 openbox/place.c \
202 openbox/place.h \
203 openbox/popup.c \
204 openbox/popup.h \
205 openbox/prop.c \
206 openbox/prop.h \
207 openbox/propwin.c \
208 openbox/propwin.h \
209 openbox/resist.c \
210 openbox/resist.h \
211 openbox/screen.c \
212 openbox/screen.h \
213 openbox/session.c \
214 openbox/session.h \
215 openbox/stacking.c \
216 openbox/stacking.h \
217 openbox/startupnotify.c \
218 openbox/startupnotify.h \
219 openbox/translate.c \
220 openbox/translate.h \
221 openbox/window.c \
222 openbox/window.h \
223 openbox/xerror.c \
224 openbox/xerror.h
225
226
227 ## themetoxml ##
228
229 tools_themetoxml_themetoxml_CPPFLAGS = \
230 $(X_CFLAGS) \
231 $(GLIB_CFLAGS) \
232 $(XML_CFLAGS)
233 tools_themetoxml_themetoxml_LDADD = \
234 $(X_LIBS) \
235 $(GLIB_LIBS) \
236 $(XML_LIBS)
237 tools_themetoxml_themetoxml_SOURCES = \
238 tools/themetoxml/themetoxml.c \
239 tools/themetoxml/rgb.h
240
241
242 ## gnome-panel-control ##
243
244 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
245 $(X_CFLAGS)
246 tools_gnome_panel_control_gnome_panel_control_LDADD = \
247 $(X_LIBS)
248 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
249 tools/gnome-panel-control/gnome-panel-control.c
250
251
252 ## themes ##
253
254 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
255 dist_clearlooks_theme_DATA= \
256 themes/Clearlooks/openbox-3/bullet.xbm \
257 themes/Clearlooks/openbox-3/close.xbm \
258 themes/Clearlooks/openbox-3/desk_toggled.xbm \
259 themes/Clearlooks/openbox-3/desk.xbm \
260 themes/Clearlooks/openbox-3/iconify.xbm \
261 themes/Clearlooks/openbox-3/max_toggled.xbm \
262 themes/Clearlooks/openbox-3/max.xbm \
263 themes/Clearlooks/openbox-3/themerc.xml
264
265 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
266 dist_clearlooksolive_theme_DATA= \
267 themes/Clearlooks-Olive/openbox-3/bullet.xbm \
268 themes/Clearlooks-Olive/openbox-3/close.xbm \
269 themes/Clearlooks-Olive/openbox-3/desk_toggled.xbm \
270 themes/Clearlooks-Olive/openbox-3/desk.xbm \
271 themes/Clearlooks-Olive/openbox-3/iconify.xbm \
272 themes/Clearlooks-Olive/openbox-3/max_toggled.xbm \
273 themes/Clearlooks-Olive/openbox-3/max.xbm \
274 themes/Clearlooks-Olive/openbox-3/themerc.xml
275
276 mikachu_themedir = $(themedir)/Mikachu/openbox-3
277 dist_mikachu_theme_DATA= \
278 themes/Mikachu/openbox-3/bullet.xbm \
279 themes/Mikachu/openbox-3/close.xbm \
280 themes/Mikachu/openbox-3/desk.xbm \
281 themes/Mikachu/openbox-3/iconify.xbm \
282 themes/Mikachu/openbox-3/max.xbm \
283 themes/Mikachu/openbox-3/themerc.xml
284
285
286 natura_themedir = $(themedir)/Natura/openbox-3
287 dist_natura_theme_DATA= \
288 themes/Natura/openbox-3/close_hover.xbm \
289 themes/Natura/openbox-3/close.xbm \
290 themes/Natura/openbox-3/desk_toggled.xbm \
291 themes/Natura/openbox-3/desk.xbm \
292 themes/Natura/openbox-3/iconify_disabled.xbm \
293 themes/Natura/openbox-3/iconify_hover.xbm \
294 themes/Natura/openbox-3/iconify.xbm \
295 themes/Natura/openbox-3/max_disabled.xbm \
296 themes/Natura/openbox-3/max_hover.xbm \
297 themes/Natura/openbox-3/max_toggled.xbm \
298 themes/Natura/openbox-3/max.xbm \
299 themes/Natura/openbox-3/shade.xbm \
300 themes/Natura/openbox-3/themerc.xml
301
302 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
303 dist_artwizboxed_theme_DATA= \
304 themes/Artwiz-boxed/openbox-3/close.xbm \
305 themes/Artwiz-boxed/openbox-3/desk_toggled.xbm \
306 themes/Artwiz-boxed/openbox-3/desk.xbm \
307 themes/Artwiz-boxed/openbox-3/iconify.xbm \
308 themes/Artwiz-boxed/openbox-3/max_toggled.xbm \
309 themes/Artwiz-boxed/openbox-3/max.xbm \
310 themes/Artwiz-boxed/openbox-3/themerc.xml
311
312 bear2_themedir = $(themedir)/Bear2/openbox-3
313 dist_bear2_theme_DATA= \
314 themes/Bear2/openbox-3/close_pressed.xbm \
315 themes/Bear2/openbox-3/close.xbm \
316 themes/Bear2/openbox-3/desk_toggled.xbm \
317 themes/Bear2/openbox-3/desk.xbm \
318 themes/Bear2/openbox-3/iconify_disabled.xbm \
319 themes/Bear2/openbox-3/iconify_pressed.xbm \
320 themes/Bear2/openbox-3/iconify.xbm \
321 themes/Bear2/openbox-3/max_disabled.xbm \
322 themes/Bear2/openbox-3/max_pressed.xbm \
323 themes/Bear2/openbox-3/max_toggled.xbm \
324 themes/Bear2/openbox-3/max.xbm \
325 themes/Bear2/openbox-3/shade_pressed.xbm \
326 themes/Bear2/openbox-3/shade.xbm \
327 themes/Bear2/openbox-3/themerc.xml
328
329 orang_themedir = $(themedir)/Orang/openbox-3
330 dist_orang_theme_DATA= \
331 themes/Orang/openbox-3/themerc.xml
332
333 syscrash_themedir = $(themedir)/Syscrash/openbox-3
334 dist_syscrash_theme_DATA= \
335 themes/Syscrash/openbox-3/bullet.xbm \
336 themes/Syscrash/openbox-3/close_disabled.xbm \
337 themes/Syscrash/openbox-3/close.xbm \
338 themes/Syscrash/openbox-3/desk_toggled.xbm \
339 themes/Syscrash/openbox-3/desk.xbm \
340 themes/Syscrash/openbox-3/iconify.xbm \
341 themes/Syscrash/openbox-3/max_disabled.xbm \
342 themes/Syscrash/openbox-3/max_pressed.xbm \
343 themes/Syscrash/openbox-3/max_toggled.xbm \
344 themes/Syscrash/openbox-3/max.xbm \
345 themes/Syscrash/openbox-3/shade.xbm \
346 themes/Syscrash/openbox-3/themerc.xml
347
348 ## public headers ##
349
350 pubinclude_HEADERS = \
351 render/color.h \
352 render/font.h \
353 render/geom.h \
354 render/gradient.h \
355 render/image.h \
356 render/instance.h \
357 render/mask.h \
358 render/render.h \
359 render/theme.h \
360 parser/parse.h
361
362 nodist_pubinclude_HEADERS = \
363 version.h
364
365 nodist_pkgconfig_DATA = \
366 render/obrender-3.0.pc \
367 parser/obparser-3.0.pc
368
369 ## data ##
370
371 dist_pixmap_DATA = \
372 data/openbox.png
373
374 nodist_rc_DATA = \
375 data/rc.xml \
376 data/menu.xml
377
378 edit = $(SED) \
379 -e 's!@version\@!$(VERSION)!' \
380 -e 's!@xsddir\@!$(xsddir)!'
381
382 data/rc.xml: Makefile $(srcdir)/data/rc.xml.in data
383 @echo make: creating $@
384 @rm -f $@
385 @mkdir data 2>/dev/null || true
386 @$(edit) $(srcdir)/data/rc.xml.in >$@
387
388 data/menu.xml: Makefile $(srcdir)/data/menu.xml.in data
389 @echo make: creating $@
390 @rm -f $@
391 @mkdir data 2>/dev/null || true
392 @$(edit) $(srcdir)/data/menu.xml.in >$@
393
394 dist_gnomewmfiles_DATA = \
395 data/gnome-wm-properties/openbox.desktop \
396 data/gnome-wm-properties/openbox-gnome.desktop \
397 data/gnome-wm-properties/openbox-kde.desktop
398
399 dist_xsessions_DATA = \
400 data/xsession/openbox.desktop \
401 data/xsession/openbox-gnome.desktop \
402 data/xsession/openbox-kde.desktop
403
404 dist_noinst_DATA = \
405 version.h.in \
406 data/rc.xsd \
407 data/menu.xsd \
408 data/themerc.xsd \
409 data/rc.xml.in \
410 data/menu.xml.in \
411 render/obrender-3.0.pc.in \
412 parser/obparser-3.0.pc.in \
413 tools/themeupdate/themeupdate.py \
414 tests/hideshow.py \
415 tests/Makefile \
416 tests/aspect.c \
417 tests/fullscreen.c \
418 tests/grav.c \
419 tests/grouptran.c \
420 tests/icons.c \
421 tests/modal2.c \
422 tests/modal3.c \
423 tests/modal.c \
424 tests/noresize.c \
425 tests/override.c \
426 tests/positioned.c \
427 tests/strut.c \
428 tests/title.c \
429 tests/urgent.c
430
431 EXTRA_DIST = \
432 config.rpath \
433 mkinstalldirs \
434 CHANGELOG \
435 COMPLIANCE \
436 README \
437 COPYING \
438 AUTHORS
439
440 CLEANFILES = \
441 data/rc.xml \
442 data/menu.xml
443
444 #doc:
445 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
446
447 distclean-local:
448 for d in . m4 po render; do \
449 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
450 rm -f "$$d/$$p"; \
451 done \
452 done
453
454 .PHONY: doc
This page took 0.056947 seconds and 4 git commands to generate.