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