]> Dogcows Code - chaz/openbox/blob - Makefile.am
move focus cycling into its own file
[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/frame.c \
179 openbox/frame.h \
180 openbox/framerender.c \
181 openbox/framerender.h \
182 openbox/geom.h \
183 openbox/grab.c \
184 openbox/grab.h \
185 openbox/group.c \
186 openbox/group.h \
187 openbox/keyboard.c \
188 openbox/keyboard.h \
189 openbox/keytree.c \
190 openbox/keytree.h \
191 openbox/mainloop.c \
192 openbox/mainloop.h \
193 openbox/menuframe.c \
194 openbox/menuframe.h \
195 openbox/menu.c \
196 openbox/menu.h \
197 openbox/misc.h \
198 openbox/modkeys.c \
199 openbox/modkeys.h \
200 openbox/mouse.c \
201 openbox/mouse.h \
202 openbox/moveresize.c \
203 openbox/moveresize.h \
204 openbox/mwm.h \
205 openbox/openbox.c \
206 openbox/openbox.h \
207 openbox/place.c \
208 openbox/place.h \
209 openbox/popup.c \
210 openbox/popup.h \
211 openbox/prop.c \
212 openbox/prop.h \
213 openbox/propwin.c \
214 openbox/propwin.h \
215 openbox/resist.c \
216 openbox/resist.h \
217 openbox/screen.c \
218 openbox/screen.h \
219 openbox/session.c \
220 openbox/session.h \
221 openbox/stacking.c \
222 openbox/stacking.h \
223 openbox/startupnotify.c \
224 openbox/startupnotify.h \
225 openbox/translate.c \
226 openbox/translate.h \
227 openbox/window.c \
228 openbox/window.h \
229 openbox/xerror.c \
230 openbox/xerror.h
231
232
233 ## themetoxml ##
234
235 tools_themetoxml_themetoxml_CPPFLAGS = \
236 $(X_CFLAGS) \
237 $(GLIB_CFLAGS) \
238 $(XML_CFLAGS)
239 tools_themetoxml_themetoxml_LDADD = \
240 $(X_LIBS) \
241 $(GLIB_LIBS) \
242 $(XML_LIBS)
243 tools_themetoxml_themetoxml_SOURCES = \
244 tools/themetoxml/themetoxml.c \
245 tools/themetoxml/rgb.h
246
247
248 ## gnome-panel-control ##
249
250 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
251 $(X_CFLAGS)
252 tools_gnome_panel_control_gnome_panel_control_LDADD = \
253 $(X_LIBS)
254 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
255 tools/gnome-panel-control/gnome-panel-control.c
256
257
258 ## default button masks ##
259 dist_docxbm_DATA = \
260 data/xbm/bullet.xbm \
261 data/xbm/close.xbm \
262 data/xbm/desk_toggled.xbm \
263 data/xbm/desk.xbm \
264 data/xbm/iconify.xbm \
265 data/xbm/max_toggled.xbm \
266 data/xbm/max.xbm \
267 data/xbm/shade_toggled.xbm \
268 data/xbm/shade.xbm
269
270
271 ## themes ##
272
273 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
274 dist_clearlooks_theme_DATA= \
275 themes/Clearlooks/openbox-3/themerc.xml
276
277 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
278 dist_clearlooksolive_theme_DATA= \
279 themes/Clearlooks-Olive/openbox-3/themerc.xml
280
281 mikachu_themedir = $(themedir)/Mikachu/openbox-3
282 dist_mikachu_theme_DATA= \
283 themes/Mikachu/openbox-3/bullet.xbm \
284 themes/Mikachu/openbox-3/close.xbm \
285 themes/Mikachu/openbox-3/desk.xbm \
286 themes/Mikachu/openbox-3/iconify.xbm \
287 themes/Mikachu/openbox-3/max.xbm \
288 themes/Mikachu/openbox-3/themerc.xml
289
290
291 natura_themedir = $(themedir)/Natura/openbox-3
292 dist_natura_theme_DATA= \
293 themes/Natura/openbox-3/close_hover.xbm \
294 themes/Natura/openbox-3/close.xbm \
295 themes/Natura/openbox-3/desk_toggled.xbm \
296 themes/Natura/openbox-3/desk_hover.xbm \
297 themes/Natura/openbox-3/desk.xbm \
298 themes/Natura/openbox-3/iconify_hover.xbm \
299 themes/Natura/openbox-3/iconify.xbm \
300 themes/Natura/openbox-3/max_hover.xbm \
301 themes/Natura/openbox-3/max_toggled.xbm \
302 themes/Natura/openbox-3/max.xbm \
303 themes/Natura/openbox-3/shade.xbm \
304 themes/Natura/openbox-3/shade_hover.xbm \
305 themes/Natura/openbox-3/themerc.xml
306
307 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
308 dist_artwizboxed_theme_DATA= \
309 themes/Artwiz-boxed/openbox-3/themerc.xml
310
311 bear2_themedir = $(themedir)/Bear2/openbox-3
312 dist_bear2_theme_DATA= \
313 themes/Bear2/openbox-3/close_pressed.xbm \
314 themes/Bear2/openbox-3/close.xbm \
315 themes/Bear2/openbox-3/desk_toggled.xbm \
316 themes/Bear2/openbox-3/desk.xbm \
317 themes/Bear2/openbox-3/iconify_pressed.xbm \
318 themes/Bear2/openbox-3/iconify.xbm \
319 themes/Bear2/openbox-3/max_pressed.xbm \
320 themes/Bear2/openbox-3/max_toggled.xbm \
321 themes/Bear2/openbox-3/max.xbm \
322 themes/Bear2/openbox-3/shade_pressed.xbm \
323 themes/Bear2/openbox-3/shade.xbm \
324 themes/Bear2/openbox-3/themerc.xml
325
326 orang_themedir = $(themedir)/Orang/openbox-3
327 dist_orang_theme_DATA= \
328 themes/Orang/openbox-3/themerc.xml
329
330 syscrash_themedir = $(themedir)/Syscrash/openbox-3
331 dist_syscrash_theme_DATA= \
332 themes/Syscrash/openbox-3/max_disabled.xbm \
333 themes/Syscrash/openbox-3/max_pressed.xbm \
334 themes/Syscrash/openbox-3/max_toggled.xbm \
335 themes/Syscrash/openbox-3/max.xbm \
336 themes/Syscrash/openbox-3/themerc.xml
337
338 ## public headers ##
339
340 pubinclude_HEADERS = \
341 render/color.h \
342 render/font.h \
343 render/geom.h \
344 render/gradient.h \
345 render/image.h \
346 render/instance.h \
347 render/mask.h \
348 render/render.h \
349 render/theme.h \
350 parser/parse.h
351
352 nodist_pubinclude_HEADERS = \
353 version.h
354
355 nodist_pkgconfig_DATA = \
356 render/obrender-3.0.pc \
357 parser/obparser-3.0.pc
358
359 ## data ##
360
361 dist_pixmap_DATA = \
362 data/openbox.png
363
364 dist_rc_DATA = \
365 data/autostart.sh \
366 data/rc.xml \
367 data/menu.xml
368
369 edit = $(SED) \
370 -e 's!@version\@!$(VERSION)!' \
371 -e 's!@configdir\@!$(configdir)!' \
372 -e 's!@bindir\@!$(bindir)!'
373
374 data/xsession/openbox-gnome.desktop: \
375 $(srcdir)/data/xsession/openbox-gnome.desktop.in
376 @echo make: creating $@
377 @mkdir data 2>/dev/null || true
378 @mkdir data/xsession 2>/dev/null || true
379 @$(edit) $< >$@
380
381 data/xsession/openbox-kde.desktop: \
382 $(srcdir)/data/xsession/openbox-kde.desktop.in
383 @echo make: creating $@
384 @mkdir data 2>/dev/null || true
385 @mkdir data/xsession 2>/dev/null || true
386 @$(edit) $< >$@
387
388 data/xsession/openbox.desktop: \
389 $(srcdir)/data/xsession/openbox.desktop.in
390 @echo make: creating $@
391 @mkdir data 2>/dev/null || true
392 @mkdir data/xsession 2>/dev/null || true
393 @$(edit) $< >$@
394
395 data/xsession/openbox-gnome-session: \
396 $(srcdir)/data/xsession/openbox-gnome-session.in
397 @echo make: creating $@
398 @mkdir data 2>/dev/null || true
399 @mkdir data/xsession 2>/dev/null || true
400 @$(edit) $< >$@
401 @chmod a+x $@
402
403 data/xsession/openbox-kde-session: \
404 $(srcdir)/data/xsession/openbox-kde-session.in
405 @echo make: creating $@
406 @mkdir data 2>/dev/null || true
407 @mkdir data/xsession 2>/dev/null || true
408 @$(edit) $< >$@
409 @chmod a+x $@
410
411 data/xsession/openbox-session: \
412 $(srcdir)/data/xsession/openbox-session.in
413 @echo make: creating $@
414 @mkdir data 2>/dev/null || true
415 @mkdir data/xsession 2>/dev/null || true
416 @$(edit) $< >$@
417 @chmod a+x $@
418
419 %.1.in: %.1.sgml
420 @echo make: creating $@
421 @mkdir doc 2>/dev/null || true
422 @docbook-to-man $< >$@
423
424 %.1: %.1.in
425 @echo make: creating $@
426 @mkdir doc 2>/dev/null || true
427 @$(edit) $< >$@
428
429 dist_gnomewmfiles_DATA = \
430 data/gnome-wm-properties/openbox.desktop
431
432 nodist_xsessions_DATA = \
433 data/xsession/openbox.desktop \
434 data/xsession/openbox-gnome.desktop \
435 data/xsession/openbox-kde.desktop
436
437 dist_noinst_DATA = \
438 version.h.in \
439 data/rc.xsd \
440 data/menu.xsd \
441 data/themerc.xsd \
442 data/xsession/openbox.desktop.in \
443 data/xsession/openbox-gnome.desktop.in \
444 data/xsession/openbox-kde.desktop.in \
445 data/xsession/openbox-session.in \
446 data/xsession/openbox-gnome-session.in \
447 data/xsession/openbox-kde-session.in \
448 doc/openbox.1.sgml \
449 doc/openbox.1.in \
450 doc/openbox-session.1.sgml \
451 doc/openbox-session.1.in \
452 doc/openbox-gnome-session.1.sgml \
453 doc/openbox-gnome-session.1.in \
454 doc/openbox-kde-session.1.sgml \
455 doc/openbox-kde-session.1.in \
456 render/obrender-3.0.pc.in \
457 parser/obparser-3.0.pc.in \
458 tools/themeupdate/themeupdate.py \
459 tests/hideshow.py \
460 tests/Makefile \
461 tests/aspect.c \
462 tests/fullscreen.c \
463 tests/grav.c \
464 tests/grouptran.c \
465 tests/icons.c \
466 tests/modal2.c \
467 tests/modal3.c \
468 tests/modal.c \
469 tests/noresize.c \
470 tests/override.c \
471 tests/positioned.c \
472 tests/strut.c \
473 tests/title.c \
474 tests/urgent.c
475
476 dist_doc_DATA = \
477 COMPLIANCE \
478 README \
479 AUTHORS \
480 CHANGELOG \
481 COPYING \
482 data/rc.xsd \
483 data/menu.xsd \
484 data/themerc.xsd \
485 doc/rc-mouse-focus.xml
486
487 dist_man_MANS = \
488 doc/openbox.1 \
489 doc/openbox-session.1 \
490 doc/openbox-gnome-session.1 \
491 doc/openbox-kde-session.1
492
493 EXTRA_DIST = \
494 debian/changelog.in \
495 debian/compat \
496 debian/conffiles \
497 debian/control \
498 debian/copyright \
499 debian/menu \
500 debian/postinst \
501 debian/postrm \
502 debian/rules \
503 config.rpath \
504 mkinstalldirs
505
506 #doc:
507 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
508
509 distclean-local:
510 for d in . m4 po render; do \
511 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
512 rm -f "$$d/$$p"; \
513 done \
514 done
515
516 .PHONY: doc
This page took 0.054106 seconds and 5 git commands to generate.