]> Dogcows Code - chaz/openbox/blob - Makefile.am
Add a manage
[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/menu.xml
364
365 edit = $(SED) \
366 -e 's!@version\@!$(VERSION)!' \
367 -e 's!@confdir\@!$(confdir)!' \
368 -e 's!@bindir\@!$(bindir)!'
369
370 data/xsession/openbox-gnome-session: Makefile data \
371 $(srcdir)/data/xsession/openbox-gnome-session.in
372 @echo make: creating $@
373 @mkdir data 2>/dev/null || true
374 @mkdir data/xsession 2>/dev/null || true
375 @$(edit) $(srcdir)/data/xsession/openbox-gnome-session.in >$@
376 @chmod a+x $@
377
378 data/xsession/openbox-kde-session: Makefile data \
379 $(srcdir)/data/xsession/openbox-kde-session.in
380 @echo make: creating $@
381 @mkdir data 2>/dev/null || true
382 @mkdir data/xsession 2>/dev/null || true
383 @$(edit) $(srcdir)/data/xsession/openbox-kde-session.in >$@
384 @chmod a+x $@
385
386 doc/openbox.1.in: Makefile doc $(srcdir)/doc/openbox.1.sgml
387 @echo make: creating $@
388 @mkdir doc 2>/dev/null || true
389 docbook-to-man $(srcdir)/doc/openbox.1.sgml > $@
390
391 doc/openbox.1: Makefile doc doc/openbox.1.in
392 @echo make: creating $@
393 @mkdir doc 2>/dev/null || true
394 @$(edit) $(srcdir)/doc/openbox.1.in >$@
395
396 dist_gnomewmfiles_DATA = \
397 data/gnome-wm-properties/openbox.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 debian/changelog.in \
406 debian/compat \
407 debian/conffiles \
408 debian/control \
409 debian/copyright \
410 debian/menu \
411 debian/postinst \
412 debian/postrm \
413 debian/rules \
414 version.h.in \
415 data/rc.xsd \
416 data/menu.xsd \
417 data/themerc.xsd \
418 data/xsession/openbox-gnome-session.in \
419 data/xsession/openbox-kde-session.in \
420 render/obrender-3.0.pc.in \
421 parser/obparser-3.0.pc.in \
422 tools/themeupdate/themeupdate.py \
423 tests/hideshow.py \
424 tests/Makefile \
425 tests/aspect.c \
426 tests/fullscreen.c \
427 tests/grav.c \
428 tests/grouptran.c \
429 tests/icons.c \
430 tests/modal2.c \
431 tests/modal3.c \
432 tests/modal.c \
433 tests/noresize.c \
434 tests/override.c \
435 tests/positioned.c \
436 tests/strut.c \
437 tests/title.c \
438 tests/urgent.c
439
440 dist_doc_DATA = \
441 COMPLIANCE \
442 README \
443 AUTHORS \
444 data/rc.xsd \
445 data/menu.xsd \
446 data/themerc.xsd
447
448 man_MANS = \
449 doc/openbox.1
450
451 EXTRA_DIST = \
452 config.rpath \
453 mkinstalldirs \
454 CHANGELOG \
455 COPYING
456
457 #doc:
458 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
459
460 distclean-local:
461 for d in . m4 po render; do \
462 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
463 rm -f "$$d/$$p"; \
464 done \
465 done
466
467 .PHONY: doc
This page took 0.064813 seconds and 4 git commands to generate.