]> Dogcows Code - chaz/openbox/blob - Makefile.am
revamp the autostart functionality, so autostart apps launch after openbox.
[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 libexecdir = $(prefix)/libexec
16 appsdir = $(datadir)/applications
17
18 theme = Clearlooks
19
20 AUTOMAKE_OPTIONS = subdir-objects foreign
21
22 ACLOCAL_AMFLAGS = -I m4
23
24 INCLUDES = -I.
25
26 check_PROGRAMS = \
27 obrender/rendertest
28
29 lib_LTLIBRARIES = \
30 obt/libobt.la \
31 obrender/libobrender.la
32
33 bin_PROGRAMS = \
34 openbox/openbox \
35 tools/gdm-control/gdm-control \
36 tools/gnome-panel-control/gnome-panel-control \
37 tools/obxprop/obxprop
38
39 nodist_bin_SCRIPTS = \
40 data/xsession/openbox-session \
41 data/xsession/openbox-gnome-session \
42 data/xsession/openbox-kde-session
43
44 dist_rc_SCRIPTS = \
45 data/environment \
46 data/autostart/autostart
47
48 dist_libexec_SCRIPTS = \
49 data/autostart/openbox-xdg-autostart \
50 data/autostart/openbox-autostart
51
52
53 ## obrender ##
54
55 obrender_rendertest_CPPFLAGS = \
56 $(PANGO_CFLAGS) \
57 $(GLIB_CFLAGS) \
58 -DG_LOG_DOMAIN=\"RenderTest\"
59 obrender_rendertest_LDADD = \
60 obt/libobt.la \
61 obrender/libobrender.la \
62 $(GLIB_LIBS) \
63 $(PANGO_LIBS) \
64 $(XML_LIBS) \
65 $(X_LIBS)
66 obrender_rendertest_SOURCES = obrender/test.c
67
68 obrender_libobrender_la_CPPFLAGS = \
69 $(X_CFLAGS) \
70 $(GLIB_CFLAGS) \
71 $(XML_CFLAGS) \
72 $(PANGO_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 $(XML_LIBS)
82 obrender_libobrender_la_SOURCES = \
83 gettext.h \
84 obrender/color.h \
85 obrender/color.c \
86 obrender/font.h \
87 obrender/font.c \
88 obrender/geom.h \
89 obrender/gradient.h \
90 obrender/gradient.c \
91 obrender/icon.h \
92 obrender/image.h \
93 obrender/image.c \
94 obrender/imagecache.h \
95 obrender/imagecache.c \
96 obrender/instance.h \
97 obrender/instance.c \
98 obrender/mask.h \
99 obrender/mask.c \
100 obrender/render.h \
101 obrender/render.c \
102 obrender/theme.h \
103 obrender/theme.c
104
105 ## obt ##
106
107 obt_libobt_la_CPPFLAGS = \
108 $(XINERAMA_CFLAGS) \
109 $(XKB_CFLAGS) \
110 $(XRANDR_CFLAGS) \
111 $(XSHAPE_CFLAGS) \
112 $(XSYNC_CFLAGS) \
113 $(GLIB_CFLAGS) \
114 $(XML_CFLAGS) \
115 -DG_LOG_DOMAIN=\"Obt\" \
116 -DLOCALEDIR=\"$(localedir)\" \
117 -DDATADIR=\"$(datadir)\" \
118 -DCONFIGDIR=\"$(configdir)\"
119 obt_libobt_la_LDFLAGS = \
120 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
121 obt_libobt_la_LIBADD = \
122 $(XINERAMA_LIBS) \
123 $(XKB_LIBS) \
124 $(XRANDR_LIBS) \
125 $(XSHAPE_LIBS) \
126 $(XSYNC_LIBS) \
127 $(GLIB_LIBS) \
128 $(XML_LIBS)
129 obt_libobt_la_SOURCES = \
130 obt/display.h \
131 obt/display.c \
132 obt/internal.h \
133 obt/keyboard.h \
134 obt/keyboard.c \
135 obt/mainloop.h \
136 obt/mainloop.c \
137 obt/xml.h \
138 obt/xml.c \
139 obt/ddfile.h \
140 obt/ddfile.c \
141 obt/paths.h \
142 obt/paths.c \
143 obt/prop.h \
144 obt/prop.c \
145 obt/util.h \
146 obt/xevent.h \
147 obt/xevent.c
148
149 ## openbox ##
150
151 openbox_openbox_CPPFLAGS = \
152 $(SM_CFLAGS) \
153 $(X_CFLAGS) \
154 $(XCURSOR_CFLAGS) \
155 $(SM_CFLAGS) \
156 $(PANGO_CFLAGS) \
157 $(GLIB_CFLAGS) \
158 $(LIBSN_CFLAGS) \
159 $(XML_CFLAGS) \
160 $(IMLIB2_CFLAGS) \
161 -DLOCALEDIR=\"$(localedir)\" \
162 -DDATADIR=\"$(datadir)\" \
163 -DCONFIGDIR=\"$(configdir)\" \
164 -DG_LOG_DOMAIN=\"Openbox\"
165 openbox_openbox_LDADD = \
166 $(SM_LIBS) \
167 $(GLIB_LIBS) \
168 $(X_LIBS) \
169 $(XCURSOR_LIBS) \
170 $(LIBSN_LIBS) \
171 $(XML_LIBS) \
172 $(EFENCE_LIBS) \
173 $(LIBINTL) \
174 $(IMLIB2_LIBS) \
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/display.h \
434 obt/keyboard.h \
435 obt/mainloop.h \
436 obt/xml.h \
437 obt/paths.h \
438 obt/prop.h \
439 obt/util.h \
440 obt/version.h \
441 obt/xevent.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/openbox-autostart: $(srcdir)/data/autostart/openbox-autostart.in Makefile
466 @echo make: creating $@
467 @$(edit) $< >$@
468
469 %.desktop: %.desktop.in Makefile
470 @echo make: creating $@
471 @$(edit) $< >$@
472
473 %-session: %-session.in Makefile
474 @echo make: creating $@
475 @$(edit) $< >$@
476
477 %.1.in: %.1.sgml
478 @echo make: creating $@
479 @docbook-to-man $< >$@
480
481 %.1: %.1.in Makefile
482 @echo make: creating $@
483 @$(edit) $< >$@
484
485 dist_gnomewmfiles_DATA = \
486 data/gnome-wm-properties/openbox.desktop
487
488 nodist_xsessions_DATA = \
489 data/xsession/openbox.desktop \
490 data/xsession/openbox-gnome.desktop \
491 data/xsession/openbox-kde.desktop
492
493 dist_noinst_DATA = \
494 data/rc.xsd \
495 data/menu.xsd \
496 data/xsession/openbox.desktop.in \
497 data/xsession/openbox-gnome.desktop.in \
498 data/xsession/openbox-kde.desktop.in \
499 data/xsession/openbox-session.in \
500 data/xsession/openbox-gnome-session.in \
501 data/xsession/openbox-kde-session.in \
502 doc/openbox.1.sgml \
503 doc/openbox.1.in \
504 doc/openbox-session.1.sgml \
505 doc/openbox-session.1.in \
506 doc/openbox-gnome-session.1.sgml \
507 doc/openbox-gnome-session.1.in \
508 doc/openbox-kde-session.1.sgml \
509 doc/openbox-kde-session.1.in \
510 doc/obxprop.1.sgml \
511 doc/obxprop.1.in \
512 obrender/version.h.in \
513 obrender/obrender-3.5.pc.in \
514 obt/obt-3.5.pc.in \
515 obt/version.h.in \
516 tools/themeupdate/themeupdate.py \
517 tests/hideshow.py \
518 tests/Makefile \
519 tests/aspect.c \
520 tests/fullscreen.c \
521 tests/grav.c \
522 tests/grouptran.c \
523 tests/icons.c \
524 tests/modal2.c \
525 tests/modal3.c \
526 tests/modal.c \
527 tests/noresize.c \
528 tests/override.c \
529 tests/positioned.c \
530 tests/strut.c \
531 tests/title.c \
532 tests/urgent.c
533
534 dist_doc_DATA = \
535 COMPLIANCE \
536 README \
537 AUTHORS \
538 CHANGELOG \
539 COPYING \
540 data/rc.xsd \
541 data/menu.xsd \
542 doc/rc-mouse-focus.xml
543
544 nodist_man_MANS = \
545 doc/openbox.1 \
546 doc/openbox-session.1 \
547 doc/openbox-gnome-session.1 \
548 doc/openbox-kde-session.1 \
549 doc/obxprop.1
550
551 EXTRA_DIST = \
552 config.rpath
553
554 # make clean doesn't delete these for some reason, even though they are
555 # built by make
556 CLEANFILES = \
557 doc/openbox.1 \
558 doc/openbox-session.1 \
559 doc/openbox-gnome-session.1 \
560 doc/openbox-kde-session.1 \
561 data/xsession/openbox-session \
562 data/xsession/openbox-gnome-session \
563 data/xsession/openbox-kde-session \
564 data/xsession/openbox.desktop \
565 data/xsession/openbox-gnome.desktop \
566 data/xsession/openbox-kde.desktop
567
568 #doc:
569 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
570
571 distclean-local:
572 for d in . m4 po obrender parser obt openbox; do \
573 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
574 rm -f "$$d/$$p"; \
575 done \
576 done
577
578 .PHONY: doc
This page took 0.062305 seconds and 5 git commands to generate.