aboutsummaryrefslogtreecommitdiff
path: root/util/Makemodule.am
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2013-05-26 09:30:15 (GMT)
committerSami Kerola <kerolasa@iki.fi>2013-05-26 09:38:11 (GMT)
commit7541054b299bbd61310ab0456cf4f25b7a672de3 (patch)
tree47878d28304cb560a4f31bc98466a9347e8edb6c /util/Makemodule.am
parent82e300c7bac1542f27668a8d7e234b4dd6ea1211 (diff)
downloadfluxbox-7541054b299bbd61310ab0456cf4f25b7a672de3.zip
fluxbox-7541054b299bbd61310ab0456cf4f25b7a672de3.tar.bz2
build-sys: move to non-recursive build
This rather large change will attempts to make 'make' to work better. See excellent paper 'Recursive Make Considered Harmful' by Peter Miller for further explanation why several make files is worse than one for whole project. Note. The tests are build with 'make check' rather than defining TEST. Reference: http://miller.emu.id.au/pmiller/books/rmch/ Reference: http://karelzak.blogspot.co.uk/2013/02/non-recursive-automake.html
Diffstat (limited to 'util/Makemodule.am')
-rw-r--r--util/Makemodule.am58
1 files changed, 58 insertions, 0 deletions
diff --git a/util/Makemodule.am b/util/Makemodule.am
new file mode 100644
index 0000000..44f3002
--- /dev/null
+++ b/util/Makemodule.am
@@ -0,0 +1,58 @@
1# util/Makefile.am for Fluxbox
2
3bin_SCRIPTS = \
4 util/fbsetbg \
5 util/fluxbox-generate_menu \
6 util/startfluxbox
7EXTRA_DIST += \
8 util/fbsetbg
9PATHFILES += \
10 util/startfluxbox \
11 util/fluxbox-generate_menu
12
13bin_PROGRAMS += \
14 fbsetroot \
15 fluxbox-remote \
16 fluxbox-update_configs
17
18fbsetroot_SOURCES = \
19 src/FbAtoms.cc \
20 src/FbRootWindow.cc \
21 util/fbsetroot.cc \
22 util/fbsetroot.hh
23fbsetroot_LDADD = \
24 libFbTk.a
25fbsetroot_CPPFLAGS = \
26 $(AM_CPPFLAGS) \
27 -I$(fbtk_incdir) \
28 -I$(src_incdir) \
29 -I$(nls_incdir)
30fbsetroot_LDFLAGS = \
31 $(FONTCONFIG_LIBS) \
32 $(FRIBIDI_LIBS) \
33 $(X11_LIBS) \
34 $(XFT_LIBS) \
35 $(XRENDER_LIBS)
36
37fluxbox_update_configs_SOURCES = \
38 src/defaults.cc \
39 src/Resources.cc \
40 util/fluxbox-update_configs.cc
41fluxbox_update_configs_CPPFLAGS = \
42 $(AM_CPPFLAGS) \
43 -I$(fbtk_incdir) \
44 -I$(src_incdir) \
45 -I$(nls_incdir)
46fluxbox_update_configs_LDADD = \
47 libFbTk.a
48fluxbox_update_configs_LDFLAGS = \
49 $(FRIBIDI_LIBS) \
50 $(X11_LIBS)
51
52fluxbox_remote_SOURCES = \
53 util/fluxbox-remote.cc
54fluxbox_remote_CPPFLAGS = \
55 $(AM_CPPFLAGS) \
56 -I$(fbtk_incdir)
57fluxbox_remote_LDFLAGS = \
58 $(X11_LIBS)