aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am81
1 files changed, 73 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 136824f..1b09b39 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,17 +1,82 @@
1# Makefile.am for Fluxbox - http://fluxbox.org 1# Makefile.am for Fluxbox - http://fluxbox.org
2 2
3# data dir after util so that utils are built for path searching 3ACLOCAL_AMFLAGS = -I m4
4# when generating menu 4AM_CPPFLAGS = \
5 -include $(top_builddir)/config.h
5 6
6SUBDIRS = doc nls src util data 7# the defaults.hh is wrote to builddir
7MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in 8src_incdir = $(top_srcdir)/src -I$(top_builddir)/src
8ACLOCAL_AMFLAGS = -I . 9fbtk_incdir = $(top_srcdir)/src/FbTk
9EXTRA_DIST = acinclude.m4 $(top_srcdir)/3rd/vim/* $(top_srcdir)/3rd/vim/syntax/* 10nls_incdir = $(top_srcdir)/nls
11
12EXTRA_DIST = \
13 3rd/vim/ \
14 build-aux/config.rpath \
15 nls/fluxbox-nls.hh \
16 nls/nlsinfo
17
18CLEANFILES =
19bin_PROGRAMS =
20
21MAINTAINERCLEANFILES = \
22 aclocal.m4 \
23 config.h.in \
24 configure \
25 Makefile.in \
26 stamp-h.in
27
28DEFAULT_MENU=@DEFAULT_MENU@
29DEFAULT_STYLE=@DEFAULT_STYLE@
30DEFAULT_KEYSFILE=@DEFAULT_KEYS@
31DEFAULT_APPSFILE=@DEFAULT_APPS@
32DEFAULT_OVERLAY=@DEFAULT_OVERLAY@
33DEFAULT_INITFILE=@DEFAULT_INIT@
34DEFAULT_WINDOWMENU=@DEFAULT_WINDOWMENU@
35PROGRAM_PREFIX=@program_prefix@
36PROGRAM_SUFFIX=@program_suffix@
37
38# Do not rely on configure.ac AC_CONFIG_FILES for install paths. The
39# paths should be expanded at make time rather than configure.
40edit_cmd = sed \
41 -e 's|@bindir[@]|$(bindir)|g' \
42 -e 's|@datadir[@]|$(datadir)|g' \
43 -e 's|@exec_prefix[@]|$(exec_prefix)|g' \
44 -e 's|@includedir[@]|$(includedir)|g' \
45 -e 's|@localstatedir[@]|$(localstatedir)|g' \
46 -e 's|@pkgbindir[@]|$(pkgbindir)|g' \
47 -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
48 -e 's|@pkgprefix[@]|$(pkgprefix:NONE=)|g' \
49 -e 's|@pkgsuffix[@]|$(pkgsuffix:NONE=)|g' \
50 -e 's|@prefix[@]|$(prefix)|g' \
51 -e 's|@sbindir[@]|$(sbindir)|g' \
52 -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
53 -e 's|@usrbin_execdir[@]|$(usrbin_execdir)|g' \
54 -e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \
55 -e 's|@usrsbin_execdir[@]|$(usrsbin_execdir)|g' \
56 -e 's|@VERSION[@]|$(VERSION)|g'
57
58PATHFILES =
59CLEANFILES += $(PATHFILES)
60EXTRA_DIST += $(PATHFILES:=.in)
61
62$(PATHFILES): Makefile
63 @ rm -f $@ $@.tmp
64 $(AM_V_GEN) srcdir=''; \
65 test -f ./$@.in || srcdir=$(srcdir)/; \
66 $(edit_cmd) $${srcdir}$@.in >$@.tmp
67 @ mv $@.tmp $@
68
69include data/Makemodule.am
70include doc/Makemodule.am
71include nls/Makemodule.am
72include src/FbTk/Makemodule.am
73include src/Makemodule.am
74include src/tests/Makemodule.am
75include util/Makemodule.am
76include util/fbrun/Makemodule.am
10 77
11uninstall-hook: 78uninstall-hook:
12 rmdir $(DESTDIR)$(pkgdatadir) 79 rmdir $(DESTDIR)$(pkgdatadir)
13distclean-local:
14 rm -f *\~
15 80
16source-doc: 81source-doc:
17 doxygen Doxyfile 82 doxygen Doxyfile