diff options
Diffstat (limited to 'util/Makefile.am')
-rw-r--r-- | util/Makefile.am | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/util/Makefile.am b/util/Makefile.am index 63820c6..2637c1e 100644 --- a/util/Makefile.am +++ b/util/Makefile.am | |||
@@ -1,17 +1,33 @@ | |||
1 | # util/Makefile.am for Fluxbox | 1 | # util/Makefile.am for Fluxbox |
2 | SUBDIRS = fbrun | 2 | SUBDIRS= fbrun |
3 | INCLUDES=-I../src/FbTk/ | 3 | INCLUDES= -I../src/FbTk/ |
4 | bin_SCRIPTS = fbsetbg fluxbox-generate_menu | 4 | bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox |
5 | bin_PROGRAMS = bsetroot | 5 | bin_PROGRAMS= bsetroot |
6 | bsetroot_SOURCES = bsetroot.cc bsetroot.hh | 6 | bsetroot_SOURCES= bsetroot.cc bsetroot.hh |
7 | bsetroot_LDADD = ../src/FbRootWindow.o ../src/I18n.o ../src/FbAtoms.o \ | 7 | bsetroot_LDADD= ../src/FbRootWindow.o ../src/I18n.o \ |
8 | ../src/FbTk/libFbTk.a | 8 | ../src/FbAtoms.o ../src/FbTk/libFbTk.a |
9 | 9 | ||
10 | MAINTAINERCLEANFILES = Makefile.in | 10 | MAINTAINERCLEANFILES= Makefile.in |
11 | EXTRA_DIST=fbsetbg fluxbox-generate_menu | 11 | EXTRA_DIST= fbsetbg fluxbox-generate_menu startfluxbox |
12 | |||
13 | all-local: startfluxbox | ||
12 | 14 | ||
13 | distclean-local: | 15 | distclean-local: |
14 | rm -f *\~ Makefile.in | 16 | rm -f *\~ Makefile.in |
17 | |||
18 | clean-local: | ||
19 | rm -f startfluxbox | ||
20 | |||
21 | bsetroot.o: bsetroot.cc ../config.h bsetroot.hh ../src/FbRootWindow.hh ../src/FbAtoms.hh | ||
15 | 22 | ||
16 | bsetroot.o: bsetroot.cc ../config.h bsetroot.hh ../src/FbRootWindow.hh ../src/FbAtoms.hh | 23 | startfluxbox: startfluxbox.in |
24 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \ | ||
25 | -e "s,@pkgbindir@,$(bindir),g" \ | ||
26 | startfluxbox.in > startfluxbox | ||
17 | 27 | ||
28 | ../src/FbRootWindow.o: | ||
29 | cd ../src && make FbRootWindow.o | ||
30 | ../src/I18n.o: | ||
31 | cd ../src && make I18n.o | ||
32 | ../src/FbAtoms.o: | ||
33 | cd ../src && make FbAtoms.o | ||