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