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