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