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