]> Dogcows Code - chaz/openbox/blob - Makefile.am
6fa3a8e6ac4ea7a22c40fd83f51a0fbfcc758b3c
[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 onyx_themedir = $(themedir)/Onyx/openbox-3
317 dist_onyx_theme_DATA= \
318 themes/Onyx/openbox-3/themerc
319
320 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
321 dist_onyxcitrus_theme_DATA= \
322 themes/Onyx-Citrus/openbox-3/themerc
323
324 syscrash_themedir = $(themedir)/Syscrash/openbox-3
325 dist_syscrash_theme_DATA= \
326 themes/Syscrash/openbox-3/max_disabled.xbm \
327 themes/Syscrash/openbox-3/max_pressed.xbm \
328 themes/Syscrash/openbox-3/max_toggled.xbm \
329 themes/Syscrash/openbox-3/max.xbm \
330 themes/Syscrash/openbox-3/themerc
331
332 ## public headers ##
333
334 pubinclude_HEADERS = \
335 render/color.h \
336 render/font.h \
337 render/geom.h \
338 render/gradient.h \
339 render/image.h \
340 render/instance.h \
341 render/mask.h \
342 render/render.h \
343 render/theme.h \
344 parser/parse.h
345
346 nodist_pubinclude_HEADERS = \
347 version.h
348
349 nodist_pkgconfig_DATA = \
350 render/obrender-3.0.pc \
351 parser/obparser-3.0.pc
352
353 ## data ##
354
355 dist_pixmap_DATA = \
356 data/openbox.png
357
358 dist_rc_DATA = \
359 data/autostart.sh \
360 data/rc.xml \
361 data/menu.xml
362
363 edit = $(SED) \
364 -e 's!@version\@!$(VERSION)!' \
365 -e 's!@configdir\@!$(configdir)!' \
366 -e 's!@bindir\@!$(bindir)!'
367
368 %.desktop: %.desktop.in Makefile
369 @echo make: creating $@
370 @$(edit) $< >$@
371
372 %-session: %-session.in Makefile
373 @echo make: creating $@
374 @$(edit) $< >$@
375
376 %.1.in: %.1.sgml
377 @echo make: creating $@
378 @docbook-to-man $< >$@
379
380 %.1: %.1.in Makefile
381 @echo make: creating $@
382 @$(edit) $< >$@
383
384 dist_gnomewmfiles_DATA = \
385 data/gnome-wm-properties/openbox.desktop
386
387 nodist_xsessions_DATA = \
388 data/xsession/openbox.desktop \
389 data/xsession/openbox-gnome.desktop \
390 data/xsession/openbox-kde.desktop
391
392 dist_noinst_DATA = \
393 version.h.in \
394 data/rc.xsd \
395 data/menu.xsd \
396 data/xsession/openbox.desktop.in \
397 data/xsession/openbox-gnome.desktop.in \
398 data/xsession/openbox-kde.desktop.in \
399 data/xsession/openbox-session.in \
400 data/xsession/openbox-gnome-session.in \
401 data/xsession/openbox-kde-session.in \
402 doc/openbox.1.sgml \
403 doc/openbox.1.in \
404 doc/openbox-session.1.sgml \
405 doc/openbox-session.1.in \
406 doc/openbox-gnome-session.1.sgml \
407 doc/openbox-gnome-session.1.in \
408 doc/openbox-kde-session.1.sgml \
409 doc/openbox-kde-session.1.in \
410 render/obrender-3.0.pc.in \
411 parser/obparser-3.0.pc.in \
412 tools/themeupdate/themeupdate.py \
413 tests/hideshow.py \
414 tests/Makefile \
415 tests/aspect.c \
416 tests/fullscreen.c \
417 tests/grav.c \
418 tests/grouptran.c \
419 tests/icons.c \
420 tests/modal2.c \
421 tests/modal3.c \
422 tests/modal.c \
423 tests/noresize.c \
424 tests/override.c \
425 tests/positioned.c \
426 tests/strut.c \
427 tests/title.c \
428 tests/urgent.c
429
430 dist_doc_DATA = \
431 COMPLIANCE \
432 README \
433 AUTHORS \
434 CHANGELOG \
435 COPYING \
436 data/rc.xsd \
437 data/menu.xsd \
438 doc/rc-mouse-focus.xml
439
440 nodist_man_MANS = \
441 doc/openbox.1 \
442 doc/openbox-session.1 \
443 doc/openbox-gnome-session.1 \
444 doc/openbox-kde-session.1
445
446 EXTRA_DIST = \
447 debian/changelog.in \
448 debian/compat \
449 debian/conffiles \
450 debian/control \
451 debian/copyright \
452 debian/menu \
453 debian/postinst \
454 debian/postrm \
455 debian/rules \
456 config.rpath \
457 mkinstalldirs
458
459 # make clean doesn't delete these for some reason, even though they are
460 # built by make
461 CLEANFILES = \
462 doc/openbox.1 \
463 doc/openbox-session.1 \
464 doc/openbox-gnome-session.1 \
465 doc/openbox-kde-session.1 \
466 data/xsession/openbox-session \
467 data/xsession/openbox-gnome-session \
468 data/xsession/openbox-kde-session \
469 data/xsession/openbox.desktop \
470 data/xsession/openbox-gnome.desktop \
471 data/xsession/openbox-kde.desktop
472
473 #doc:
474 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
475
476 distclean-local:
477 for d in . m4 po render; do \
478 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
479 rm -f "$$d/$$p"; \
480 done \
481 done
482
483 .PHONY: doc
This page took 0.059466 seconds and 3 git commands to generate.