]> Dogcows Code - chaz/openbox/blob - Makefile.am
i am starting to loathe the composite extension, and xorg in general
[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 $(XRENDER_CFLAGS) \
122 $(XDAMAGE_CFLAGS) \
123 $(XCOMPOSITE_CFLAGS) \
124 $(X_CFLAGS) \
125 $(XCURSOR_CFLAGS) \
126 $(SM_CFLAGS) \
127 $(PANGO_CFLAGS) \
128 $(GLIB_CFLAGS) \
129 $(LIBSN_CFLAGS) \
130 $(XML_CFLAGS) \
131 -DLOCALEDIR=\"$(localedir)\" \
132 -DDATADIR=\"$(datadir)\" \
133 -DCONFIGDIR=\"$(configdir)\" \
134 -DG_LOG_DOMAIN=\"Openbox\"
135 openbox_openbox_LDADD = \
136 $(SM_LIBS) \
137 $(XINERAMA_LIBS) \
138 $(XKB_LIBS) \
139 $(XRANDR_LIBS) \
140 $(XSHAPE_LIBS) \
141 $(XSYNC_LIBS) \
142 $(GLIB_LIBS) \
143 $(XRENDER_LIBS) \
144 $(XDAMAGE_LIBS) \
145 $(XCOMPOSITE_LIBS) \
146 $(X_LIBS) \
147 $(XCURSOR_LIBS) \
148 $(LIBSN_LIBS) \
149 $(XML_LIBS) \
150 $(EFENCE_LIBS) \
151 $(LIBINTL) \
152 render/libobrender.la \
153 parser/libobparser.la
154 openbox_openbox_LDFLAGS = -export-dynamic
155 openbox_openbox_SOURCES = \
156 gettext.h \
157 openbox/action.c \
158 openbox/action.h \
159 openbox/client.c \
160 openbox/client.h \
161 openbox/client_list_menu.c \
162 openbox/client_list_menu.h \
163 openbox/client_list_combined_menu.c \
164 openbox/client_list_combined_menu.h \
165 openbox/client_menu.c \
166 openbox/client_menu.h \
167 openbox/composite.c \
168 openbox/composite.h \
169 openbox/config.c \
170 openbox/config.h \
171 openbox/debug.c \
172 openbox/debug.h \
173 openbox/dock.c \
174 openbox/dock.h \
175 openbox/event.c \
176 openbox/event.h \
177 openbox/extensions.c \
178 openbox/extensions.h \
179 openbox/focus.c \
180 openbox/focus.h \
181 openbox/focus_cycle.c \
182 openbox/focus_cycle.h \
183 openbox/focus_cycle_indicator.c \
184 openbox/focus_cycle_indicator.h \
185 openbox/focus_cycle_popup.c \
186 openbox/focus_cycle_popup.h \
187 openbox/frame.c \
188 openbox/frame.h \
189 openbox/framerender.c \
190 openbox/framerender.h \
191 openbox/geom.h \
192 openbox/grab.c \
193 openbox/grab.h \
194 openbox/group.c \
195 openbox/group.h \
196 openbox/keyboard.c \
197 openbox/keyboard.h \
198 openbox/keytree.c \
199 openbox/keytree.h \
200 openbox/mainloop.c \
201 openbox/mainloop.h \
202 openbox/menuframe.c \
203 openbox/menuframe.h \
204 openbox/menu.c \
205 openbox/menu.h \
206 openbox/misc.h \
207 openbox/modkeys.c \
208 openbox/modkeys.h \
209 openbox/mouse.c \
210 openbox/mouse.h \
211 openbox/moveresize.c \
212 openbox/moveresize.h \
213 openbox/mwm.h \
214 openbox/openbox.c \
215 openbox/openbox.h \
216 openbox/place.c \
217 openbox/place.h \
218 openbox/popup.c \
219 openbox/popup.h \
220 openbox/prop.c \
221 openbox/prop.h \
222 openbox/propwin.c \
223 openbox/propwin.h \
224 openbox/resist.c \
225 openbox/resist.h \
226 openbox/screen.c \
227 openbox/screen.h \
228 openbox/session.c \
229 openbox/session.h \
230 openbox/stacking.c \
231 openbox/stacking.h \
232 openbox/startupnotify.c \
233 openbox/startupnotify.h \
234 openbox/translate.c \
235 openbox/translate.h \
236 openbox/window.c \
237 openbox/window.h \
238 openbox/xerror.c \
239 openbox/xerror.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 ## default button masks ##
253 dist_docxbm_DATA = \
254 data/xbm/bullet.xbm \
255 data/xbm/close.xbm \
256 data/xbm/desk_toggled.xbm \
257 data/xbm/desk.xbm \
258 data/xbm/iconify.xbm \
259 data/xbm/max_toggled.xbm \
260 data/xbm/max.xbm \
261 data/xbm/shade_toggled.xbm \
262 data/xbm/shade.xbm
263
264
265 ## themes ##
266
267 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
268 dist_clearlooks_theme_DATA= \
269 themes/Clearlooks/openbox-3/themerc
270
271 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
272 dist_clearlooksolive_theme_DATA= \
273 themes/Clearlooks-Olive/openbox-3/themerc
274
275 mikachu_themedir = $(themedir)/Mikachu/openbox-3
276 dist_mikachu_theme_DATA= \
277 themes/Mikachu/openbox-3/bullet.xbm \
278 themes/Mikachu/openbox-3/close.xbm \
279 themes/Mikachu/openbox-3/desk.xbm \
280 themes/Mikachu/openbox-3/iconify.xbm \
281 themes/Mikachu/openbox-3/max.xbm \
282 themes/Mikachu/openbox-3/themerc
283
284
285 natura_themedir = $(themedir)/Natura/openbox-3
286 dist_natura_theme_DATA= \
287 themes/Natura/openbox-3/close_hover.xbm \
288 themes/Natura/openbox-3/close.xbm \
289 themes/Natura/openbox-3/desk_toggled.xbm \
290 themes/Natura/openbox-3/desk_hover.xbm \
291 themes/Natura/openbox-3/desk.xbm \
292 themes/Natura/openbox-3/iconify_hover.xbm \
293 themes/Natura/openbox-3/iconify.xbm \
294 themes/Natura/openbox-3/max_hover.xbm \
295 themes/Natura/openbox-3/max_toggled.xbm \
296 themes/Natura/openbox-3/max.xbm \
297 themes/Natura/openbox-3/shade.xbm \
298 themes/Natura/openbox-3/shade_hover.xbm \
299 themes/Natura/openbox-3/themerc
300
301 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
302 dist_artwizboxed_theme_DATA= \
303 themes/Artwiz-boxed/openbox-3/themerc
304
305 bear2_themedir = $(themedir)/Bear2/openbox-3
306 dist_bear2_theme_DATA= \
307 themes/Bear2/openbox-3/close_pressed.xbm \
308 themes/Bear2/openbox-3/close.xbm \
309 themes/Bear2/openbox-3/desk_toggled.xbm \
310 themes/Bear2/openbox-3/desk.xbm \
311 themes/Bear2/openbox-3/iconify_pressed.xbm \
312 themes/Bear2/openbox-3/iconify.xbm \
313 themes/Bear2/openbox-3/max_pressed.xbm \
314 themes/Bear2/openbox-3/max_toggled.xbm \
315 themes/Bear2/openbox-3/max.xbm \
316 themes/Bear2/openbox-3/shade_pressed.xbm \
317 themes/Bear2/openbox-3/shade.xbm \
318 themes/Bear2/openbox-3/themerc
319
320 orang_themedir = $(themedir)/Orang/openbox-3
321 dist_orang_theme_DATA= \
322 themes/Orang/openbox-3/themerc
323
324 onyx_themedir = $(themedir)/Onyx/openbox-3
325 dist_onyx_theme_DATA= \
326 themes/Onyx/openbox-3/themerc
327
328 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
329 dist_onyxcitrus_theme_DATA= \
330 themes/Onyx-Citrus/openbox-3/themerc
331
332 syscrash_themedir = $(themedir)/Syscrash/openbox-3
333 dist_syscrash_theme_DATA= \
334 themes/Syscrash/openbox-3/max_disabled.xbm \
335 themes/Syscrash/openbox-3/max_pressed.xbm \
336 themes/Syscrash/openbox-3/max_toggled.xbm \
337 themes/Syscrash/openbox-3/max.xbm \
338 themes/Syscrash/openbox-3/themerc
339
340 ## public headers ##
341
342 pubinclude_HEADERS = \
343 render/color.h \
344 render/font.h \
345 render/geom.h \
346 render/gradient.h \
347 render/image.h \
348 render/instance.h \
349 render/mask.h \
350 render/render.h \
351 render/theme.h \
352 parser/parse.h
353
354 nodist_pubinclude_HEADERS = \
355 version.h
356
357 nodist_pkgconfig_DATA = \
358 render/obrender-3.0.pc \
359 parser/obparser-3.0.pc
360
361 ## data ##
362
363 dist_pixmap_DATA = \
364 data/openbox.png
365
366 dist_rc_DATA = \
367 data/autostart.sh \
368 data/rc.xml \
369 data/menu.xml
370
371 edit = $(SED) \
372 -e 's!@version\@!$(VERSION)!' \
373 -e 's!@configdir\@!$(configdir)!' \
374 -e 's!@bindir\@!$(bindir)!'
375
376 %.desktop: %.desktop.in Makefile
377 @echo make: creating $@
378 @$(edit) $< >$@
379
380 %-session: %-session.in Makefile
381 @echo make: creating $@
382 @$(edit) $< >$@
383
384 %.1.in: %.1.sgml
385 @echo make: creating $@
386 @docbook-to-man $< >$@
387
388 %.1: %.1.in Makefile
389 @echo make: creating $@
390 @$(edit) $< >$@
391
392 dist_gnomewmfiles_DATA = \
393 data/gnome-wm-properties/openbox.desktop
394
395 nodist_xsessions_DATA = \
396 data/xsession/openbox.desktop \
397 data/xsession/openbox-gnome.desktop \
398 data/xsession/openbox-kde.desktop
399
400 dist_noinst_DATA = \
401 version.h.in \
402 data/rc.xsd \
403 data/menu.xsd \
404 data/xsession/openbox.desktop.in \
405 data/xsession/openbox-gnome.desktop.in \
406 data/xsession/openbox-kde.desktop.in \
407 data/xsession/openbox-session.in \
408 data/xsession/openbox-gnome-session.in \
409 data/xsession/openbox-kde-session.in \
410 doc/openbox.1.sgml \
411 doc/openbox.1.in \
412 doc/openbox-session.1.sgml \
413 doc/openbox-session.1.in \
414 doc/openbox-gnome-session.1.sgml \
415 doc/openbox-gnome-session.1.in \
416 doc/openbox-kde-session.1.sgml \
417 doc/openbox-kde-session.1.in \
418 render/obrender-3.0.pc.in \
419 parser/obparser-3.0.pc.in \
420 tools/themeupdate/themeupdate.py \
421 tests/hideshow.py \
422 tests/Makefile \
423 tests/aspect.c \
424 tests/fullscreen.c \
425 tests/grav.c \
426 tests/grouptran.c \
427 tests/icons.c \
428 tests/modal2.c \
429 tests/modal3.c \
430 tests/modal.c \
431 tests/noresize.c \
432 tests/override.c \
433 tests/positioned.c \
434 tests/strut.c \
435 tests/title.c \
436 tests/urgent.c
437
438 dist_doc_DATA = \
439 COMPLIANCE \
440 README \
441 AUTHORS \
442 CHANGELOG \
443 COPYING \
444 data/rc.xsd \
445 data/menu.xsd \
446 doc/rc-mouse-focus.xml
447
448 nodist_man_MANS = \
449 doc/openbox.1 \
450 doc/openbox-session.1 \
451 doc/openbox-gnome-session.1 \
452 doc/openbox-kde-session.1
453
454 EXTRA_DIST = \
455 debian/changelog.in \
456 debian/compat \
457 debian/conffiles \
458 debian/control \
459 debian/copyright \
460 debian/menu \
461 debian/postinst \
462 debian/postrm \
463 debian/rules \
464 config.rpath \
465 mkinstalldirs
466
467 # make clean doesn't delete these for some reason, even though they are
468 # built by make
469 CLEANFILES = \
470 doc/openbox.1 \
471 doc/openbox-session.1 \
472 doc/openbox-gnome-session.1 \
473 doc/openbox-kde-session.1 \
474 data/xsession/openbox-session \
475 data/xsession/openbox-gnome-session \
476 data/xsession/openbox-kde-session \
477 data/xsession/openbox.desktop \
478 data/xsession/openbox-gnome.desktop \
479 data/xsession/openbox-kde.desktop
480
481 #doc:
482 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
483
484 distclean-local:
485 for d in . m4 po render; do \
486 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
487 rm -f "$$d/$$p"; \
488 done \
489 done
490
491 .PHONY: doc
This page took 0.05395 seconds and 4 git commands to generate.