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