]> Dogcows Code - chaz/openbox/blob - Makefile.am
Merge branch 'backport'
[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 obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
12 rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/render
13 pixmapdir = $(datadir)/pixmaps
14 xsddir = $(datadir)/openbox
15
16 theme = Clearlooks
17
18 AUTOMAKE_OPTIONS = subdir-objects foreign
19
20 ACLOCAL_AMFLAGS = -I m4
21
22 INCLUDES = -I.
23
24 check_PROGRAMS = \
25 render/rendertest
26
27 lib_LTLIBRARIES = \
28 render/libobrender.la \
29 obt/libobt.la
30
31 bin_PROGRAMS = \
32 openbox/openbox \
33 tools/gnome-panel-control/gnome-panel-control
34
35 bin_SCRIPTS = \
36 tools/xdg-autostart/xdg-autostart
37
38 nodist_bin_SCRIPTS = \
39 data/xsession/openbox-session \
40 data/xsession/openbox-gnome-session \
41 data/xsession/openbox-kde-session
42
43 ## render ##
44
45 render_rendertest_CPPFLAGS = \
46 $(PANGO_CFLAGS) \
47 $(XFT_CFLAGS) \
48 $(GLIB_CFLAGS) \
49 -DG_LOG_DOMAIN=\"RenderTest\"
50 render_rendertest_LDADD = \
51 obt/libobt.la \
52 render/libobrender.la \
53 $(GLIB_LIBS) \
54 $(PANGO_LIBS) \
55 $(XFT_LIBS) \
56 $(XML_LIBS) \
57 $(X_LIBS)
58 render_rendertest_SOURCES = render/test.c
59
60 render_libobrender_la_CPPFLAGS = \
61 $(X_CFLAGS) \
62 $(GLIB_CFLAGS) \
63 $(XML_CFLAGS) \
64 $(PANGO_CFLAGS) \
65 $(XFT_CFLAGS) \
66 -DG_LOG_DOMAIN=\"ObRender\" \
67 -DDEFAULT_THEME=\"$(theme)\"
68 render_libobrender_la_LDFLAGS = \
69 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
70 render_libobrender_la_LIBADD = \
71 obt/libobt.la \
72 $(X_LIBS) \
73 $(PANGO_LIBS) \
74 $(XFT_LIBS) \
75 $(GLIB_LIBS) \
76 $(XML_LIBS)
77 render_libobrender_la_SOURCES = \
78 gettext.h \
79 render/color.h \
80 render/color.c \
81 render/font.h \
82 render/font.c \
83 render/geom.h \
84 render/gradient.h \
85 render/gradient.c \
86 render/icon.h \
87 render/image.h \
88 render/image.c \
89 render/instance.h \
90 render/instance.c \
91 render/mask.h \
92 render/mask.c \
93 render/render.h \
94 render/render.c \
95 render/theme.h \
96 render/theme.c
97
98 ## obt ##
99
100 obt_libobt_la_CPPFLAGS = \
101 $(XINERAMA_CFLAGS) \
102 $(XKB_CFLAGS) \
103 $(XRANDR_CFLAGS) \
104 $(XSHAPE_CFLAGS) \
105 $(XSYNC_CFLAGS) \
106 $(GLIB_CFLAGS) \
107 $(XML_CFLAGS) \
108 -DG_LOG_DOMAIN=\"Obt\" \
109 -DLOCALEDIR=\"$(localedir)\" \
110 -DDATADIR=\"$(datadir)\" \
111 -DCONFIGDIR=\"$(configdir)\"
112 obt_libobt_la_LDFLAGS = \
113 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
114 obt_libobt_la_LIBADD = \
115 $(XINERAMA_LIBS) \
116 $(XKB_LIBS) \
117 $(XRANDR_LIBS) \
118 $(XSHAPE_LIBS) \
119 $(XSYNC_LIBS) \
120 $(GLIB_LIBS) \
121 $(XML_LIBS)
122 obt_libobt_la_SOURCES = \
123 obt/display.h \
124 obt/display.c \
125 obt/internal.h \
126 obt/keyboard.h \
127 obt/keyboard.c \
128 obt/mainloop.h \
129 obt/mainloop.c \
130 obt/parse.h \
131 obt/parse.c \
132 obt/paths.h \
133 obt/paths.c \
134 obt/prop.h \
135 obt/prop.c \
136 obt/util.h \
137 obt/xevent.h \
138 obt/xevent.c
139
140 ## openbox ##
141
142 openbox_openbox_CPPFLAGS = \
143 $(SM_CFLAGS) \
144 $(X_CFLAGS) \
145 $(XCURSOR_CFLAGS) \
146 $(SM_CFLAGS) \
147 $(PANGO_CFLAGS) \
148 $(GLIB_CFLAGS) \
149 $(LIBSN_CFLAGS) \
150 $(XML_CFLAGS) \
151 -DLOCALEDIR=\"$(localedir)\" \
152 -DDATADIR=\"$(datadir)\" \
153 -DCONFIGDIR=\"$(configdir)\" \
154 -DG_LOG_DOMAIN=\"Openbox\"
155 openbox_openbox_LDADD = \
156 $(SM_LIBS) \
157 $(GLIB_LIBS) \
158 $(X_LIBS) \
159 $(XCURSOR_LIBS) \
160 $(LIBSN_LIBS) \
161 $(XML_LIBS) \
162 $(EFENCE_LIBS) \
163 $(LIBINTL) \
164 render/libobrender.la \
165 obt/libobt.la
166 openbox_openbox_LDFLAGS = -export-dynamic
167 openbox_openbox_SOURCES = \
168 gettext.h \
169 openbox/actions/all.c \
170 openbox/actions/all.h \
171 openbox/actions/addremovedesktop.c \
172 openbox/actions/breakchroot.c \
173 openbox/actions/close.c \
174 openbox/actions/cyclewindows.c \
175 openbox/actions/debug.c \
176 openbox/actions/decorations.c \
177 openbox/actions/desktop.c \
178 openbox/actions/dockautohide.c \
179 openbox/actions/directionalwindows.c \
180 openbox/actions/execute.c \
181 openbox/actions/exit.c \
182 openbox/actions/focus.c \
183 openbox/actions/focustobottom.c \
184 openbox/actions/fullscreen.c \
185 openbox/actions/growtoedge.c \
186 openbox/actions/iconify.c \
187 openbox/actions/if.c \
188 openbox/actions/kill.c \
189 openbox/actions/layer.c \
190 openbox/actions/lower.c \
191 openbox/actions/maximize.c \
192 openbox/actions/move.c \
193 openbox/actions/moverelative.c \
194 openbox/actions/moveresizeto.c \
195 openbox/actions/movetoedge.c \
196 openbox/actions/omnipresent.c \
197 openbox/actions/raise.c \
198 openbox/actions/raiselower.c \
199 openbox/actions/reconfigure.c \
200 openbox/actions/resize.c \
201 openbox/actions/resizerelative.c \
202 openbox/actions/restart.c \
203 openbox/actions/shade.c \
204 openbox/actions/showdesktop.c \
205 openbox/actions/showmenu.c \
206 openbox/actions/unfocus.c \
207 openbox/actions.c \
208 openbox/actions.h \
209 openbox/client.c \
210 openbox/client.h \
211 openbox/client_list_menu.c \
212 openbox/client_list_menu.h \
213 openbox/client_list_combined_menu.c \
214 openbox/client_list_combined_menu.h \
215 openbox/client_menu.c \
216 openbox/client_menu.h \
217 openbox/config.c \
218 openbox/config.h \
219 openbox/debug.c \
220 openbox/debug.h \
221 openbox/dock.c \
222 openbox/dock.h \
223 openbox/event.c \
224 openbox/event.h \
225 openbox/focus.c \
226 openbox/focus.h \
227 openbox/focus_cycle.c \
228 openbox/focus_cycle.h \
229 openbox/focus_cycle_indicator.c \
230 openbox/focus_cycle_indicator.h \
231 openbox/focus_cycle_popup.c \
232 openbox/focus_cycle_popup.h \
233 openbox/frame.c \
234 openbox/frame.h \
235 openbox/framerender.c \
236 openbox/framerender.h \
237 openbox/geom.h \
238 openbox/grab.c \
239 openbox/grab.h \
240 openbox/group.c \
241 openbox/group.h \
242 openbox/keyboard.c \
243 openbox/keyboard.h \
244 openbox/keytree.c \
245 openbox/keytree.h \
246 openbox/menuframe.c \
247 openbox/menuframe.h \
248 openbox/menu.c \
249 openbox/menu.h \
250 openbox/misc.h \
251 openbox/mouse.c \
252 openbox/mouse.h \
253 openbox/moveresize.c \
254 openbox/moveresize.h \
255 openbox/mwm.h \
256 openbox/openbox.c \
257 openbox/openbox.h \
258 openbox/ping.c \
259 openbox/ping.h \
260 openbox/place.c \
261 openbox/place.h \
262 openbox/prompt.c \
263 openbox/prompt.h \
264 openbox/popup.c \
265 openbox/popup.h \
266 openbox/resist.c \
267 openbox/resist.h \
268 openbox/screen.c \
269 openbox/screen.h \
270 openbox/session.c \
271 openbox/session.h \
272 openbox/stacking.c \
273 openbox/stacking.h \
274 openbox/startupnotify.c \
275 openbox/startupnotify.h \
276 openbox/translate.c \
277 openbox/translate.h \
278 openbox/window.c \
279 openbox/window.h
280
281 ## gnome-panel-control ##
282
283 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
284 $(X_CFLAGS)
285 tools_gnome_panel_control_gnome_panel_control_LDADD = \
286 $(X_LIBS)
287 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
288 tools/gnome-panel-control/gnome-panel-control.c
289
290
291 ## default button masks ##
292 dist_docxbm_DATA = \
293 data/xbm/bullet.xbm \
294 data/xbm/close.xbm \
295 data/xbm/desk_toggled.xbm \
296 data/xbm/desk.xbm \
297 data/xbm/iconify.xbm \
298 data/xbm/max_toggled.xbm \
299 data/xbm/max.xbm \
300 data/xbm/shade_toggled.xbm \
301 data/xbm/shade.xbm
302
303
304 ## themes ##
305
306 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
307 dist_clearlooks_theme_DATA= \
308 themes/Clearlooks/openbox-3/themerc
309
310 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
311 dist_clearlooks34_theme_DATA= \
312 themes/Clearlooks-3.4/openbox-3/themerc
313
314 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
315 dist_clearlooksolive_theme_DATA= \
316 themes/Clearlooks-Olive/openbox-3/themerc
317
318 mikachu_themedir = $(themedir)/Mikachu/openbox-3
319 dist_mikachu_theme_DATA= \
320 themes/Mikachu/openbox-3/bullet.xbm \
321 themes/Mikachu/openbox-3/close.xbm \
322 themes/Mikachu/openbox-3/desk.xbm \
323 themes/Mikachu/openbox-3/iconify.xbm \
324 themes/Mikachu/openbox-3/max.xbm \
325 themes/Mikachu/openbox-3/themerc
326
327
328 natura_themedir = $(themedir)/Natura/openbox-3
329 dist_natura_theme_DATA= \
330 themes/Natura/openbox-3/close_hover.xbm \
331 themes/Natura/openbox-3/close.xbm \
332 themes/Natura/openbox-3/desk_toggled.xbm \
333 themes/Natura/openbox-3/desk_hover.xbm \
334 themes/Natura/openbox-3/desk.xbm \
335 themes/Natura/openbox-3/iconify_hover.xbm \
336 themes/Natura/openbox-3/iconify.xbm \
337 themes/Natura/openbox-3/max_hover.xbm \
338 themes/Natura/openbox-3/max_toggled.xbm \
339 themes/Natura/openbox-3/max.xbm \
340 themes/Natura/openbox-3/shade.xbm \
341 themes/Natura/openbox-3/shade_hover.xbm \
342 themes/Natura/openbox-3/themerc
343
344 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
345 dist_artwizboxed_theme_DATA= \
346 themes/Artwiz-boxed/openbox-3/themerc
347
348 bear2_themedir = $(themedir)/Bear2/openbox-3
349 dist_bear2_theme_DATA= \
350 themes/Bear2/openbox-3/close_pressed.xbm \
351 themes/Bear2/openbox-3/close.xbm \
352 themes/Bear2/openbox-3/desk_toggled.xbm \
353 themes/Bear2/openbox-3/desk.xbm \
354 themes/Bear2/openbox-3/iconify_pressed.xbm \
355 themes/Bear2/openbox-3/iconify.xbm \
356 themes/Bear2/openbox-3/max_pressed.xbm \
357 themes/Bear2/openbox-3/max_toggled.xbm \
358 themes/Bear2/openbox-3/max.xbm \
359 themes/Bear2/openbox-3/shade_pressed.xbm \
360 themes/Bear2/openbox-3/shade.xbm \
361 themes/Bear2/openbox-3/themerc
362
363 orang_themedir = $(themedir)/Orang/openbox-3
364 dist_orang_theme_DATA= \
365 themes/Orang/openbox-3/themerc
366
367 onyx_themedir = $(themedir)/Onyx/openbox-3
368 dist_onyx_theme_DATA= \
369 themes/Onyx/openbox-3/themerc
370
371 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
372 dist_onyxcitrus_theme_DATA= \
373 themes/Onyx-Citrus/openbox-3/themerc
374
375 syscrash_themedir = $(themedir)/Syscrash/openbox-3
376 dist_syscrash_theme_DATA= \
377 themes/Syscrash/openbox-3/max_disabled.xbm \
378 themes/Syscrash/openbox-3/max_pressed.xbm \
379 themes/Syscrash/openbox-3/max_toggled.xbm \
380 themes/Syscrash/openbox-3/max.xbm \
381 themes/Syscrash/openbox-3/themerc
382
383 ## public headers ##
384
385 rrpubinclude_HEADERS = \
386 render/color.h \
387 render/font.h \
388 render/geom.h \
389 render/gradient.h \
390 render/image.h \
391 render/instance.h \
392 render/mask.h \
393 render/render.h \
394 render/theme.h \
395 render/version.h
396
397 obtpubinclude_HEADERS = \
398 obt/display.h \
399 obt/keyboard.h \
400 obt/mainloop.h \
401 obt/parse.h \
402 obt/paths.h \
403 obt/prop.h \
404 obt/util.h \
405 obt/version.h \
406 obt/xevent.h
407
408 nodist_pkgconfig_DATA = \
409 render/obrender-4.0.pc \
410 obt/obt-4.0.pc
411
412 ## data ##
413
414 dist_pixmap_DATA = \
415 data/openbox.png
416
417 dist_rc_DATA = \
418 data/autostart.sh \
419 data/rc.xml \
420 data/menu.xml
421
422 edit = $(SED) \
423 -e 's!@version\@!$(VERSION)!' \
424 -e 's!@configdir\@!$(configdir)!' \
425 -e 's!@bindir\@!$(bindir)!'
426
427 %.desktop: %.desktop.in Makefile
428 @echo make: creating $@
429 @$(edit) $< >$@
430
431 %-session: %-session.in Makefile
432 @echo make: creating $@
433 @$(edit) $< >$@
434
435 %.1.in: %.1.sgml
436 @echo make: creating $@
437 @docbook-to-man $< >$@
438
439 %.1: %.1.in Makefile
440 @echo make: creating $@
441 @$(edit) $< >$@
442
443 dist_gnomewmfiles_DATA = \
444 data/gnome-wm-properties/openbox.desktop
445
446 nodist_xsessions_DATA = \
447 data/xsession/openbox.desktop \
448 data/xsession/openbox-gnome.desktop \
449 data/xsession/openbox-kde.desktop
450
451 dist_noinst_DATA = \
452 data/rc.xsd \
453 data/menu.xsd \
454 data/xsession/openbox.desktop.in \
455 data/xsession/openbox-gnome.desktop.in \
456 data/xsession/openbox-kde.desktop.in \
457 data/xsession/openbox-session.in \
458 data/xsession/openbox-gnome-session.in \
459 data/xsession/openbox-kde-session.in \
460 doc/openbox.1.sgml \
461 doc/openbox.1.in \
462 doc/openbox-session.1.sgml \
463 doc/openbox-session.1.in \
464 doc/openbox-gnome-session.1.sgml \
465 doc/openbox-gnome-session.1.in \
466 doc/openbox-kde-session.1.sgml \
467 doc/openbox-kde-session.1.in \
468 render/version.h.in \
469 render/obrender-4.0.pc.in \
470 obt/obt-4.0.pc.in \
471 obt/version.h.in \
472 tools/themeupdate/themeupdate.py \
473 tests/hideshow.py \
474 tests/Makefile \
475 tests/aspect.c \
476 tests/fullscreen.c \
477 tests/grav.c \
478 tests/grouptran.c \
479 tests/icons.c \
480 tests/modal2.c \
481 tests/modal3.c \
482 tests/modal.c \
483 tests/noresize.c \
484 tests/override.c \
485 tests/positioned.c \
486 tests/strut.c \
487 tests/title.c \
488 tests/urgent.c
489
490 dist_doc_DATA = \
491 COMPLIANCE \
492 README \
493 AUTHORS \
494 CHANGELOG \
495 COPYING \
496 data/rc.xsd \
497 data/menu.xsd \
498 doc/rc-mouse-focus.xml
499
500 nodist_man_MANS = \
501 doc/openbox.1 \
502 doc/openbox-session.1 \
503 doc/openbox-gnome-session.1 \
504 doc/openbox-kde-session.1
505
506 EXTRA_DIST = \
507 config.rpath
508
509 # make clean doesn't delete these for some reason, even though they are
510 # built by make
511 CLEANFILES = \
512 doc/openbox.1 \
513 doc/openbox-session.1 \
514 doc/openbox-gnome-session.1 \
515 doc/openbox-kde-session.1 \
516 data/xsession/openbox-session \
517 data/xsession/openbox-gnome-session \
518 data/xsession/openbox-kde-session \
519 data/xsession/openbox.desktop \
520 data/xsession/openbox-gnome.desktop \
521 data/xsession/openbox-kde.desktop
522
523 #doc:
524 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
525
526 distclean-local:
527 for d in . m4 po render parser obt openbox; do \
528 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
529 rm -f "$$d/$$p"; \
530 done \
531 done
532
533 .PHONY: doc
This page took 0.062901 seconds and 5 git commands to generate.