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