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