diff options
author | fluxgen <fluxgen> | 2003-06-30 20:33:05 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-30 20:33:05 (GMT) |
commit | cbcc6401c6a87623f8cf714cd699db3b63079915 (patch) | |
tree | 0b70954ec42328d4d02cd97df9158383f370861f | |
parent | aa7f88e27a8ff77296c0ec016654be66d36f342a (diff) | |
download | fluxbox_lack-cbcc6401c6a87623f8cf714cd699db3b63079915.zip fluxbox_lack-cbcc6401c6a87623f8cf714cd699db3b63079915.tar.bz2 |
cleaner compile, default defines in generated defaults.hh file now
-rw-r--r-- | src/Makefile.am | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 412a2e8..b4c4ce8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -29,16 +29,22 @@ DEFAULT_STYLE=$(pkgdatadir)/styles/Clean | |||
29 | DEFAULT_KEYSFILE=$(pkgdatadir)/keys | 29 | DEFAULT_KEYSFILE=$(pkgdatadir)/keys |
30 | DEFAULT_INITFILE= | 30 | DEFAULT_INITFILE= |
31 | 31 | ||
32 | AM_CPPFLAGS= -Wall @CPPFLAGS@ \ | 32 | AM_CPPFLAGS= -Wall @CPPFLAGS@ -IFbTk |
33 | -DLOCALEPATH=\"$(pkgdatadir)/nls\" \ | ||
34 | -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \ | ||
35 | -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \ | ||
36 | -DDEFAULTKEYSFILE=\"$(DEFAULT_KEYSFILE)\"\ | ||
37 | -DDEFAULT_INITFILE=\"$(pkgdatadir)/init\"\ | ||
38 | -IFbTk | ||
39 | 33 | ||
40 | bin_PROGRAMS= fluxbox | 34 | bin_PROGRAMS= fluxbox |
35 | BUILT_SOURCES = defaults.hh | ||
36 | defaults.hh: Makefile | ||
37 | echo '// This file is generated from makefile. Do not edit!' > defaults.hh | ||
38 | echo '#define DEFAULTMENU "$(DEFAULTMENU)"' >> defaults.hh | ||
39 | echo '#define DEFAULTSTYLE "$(DEFAULT_STYLE)"' >> defaults.hh | ||
40 | echo '#define DEFAULTKEYSFILE "$(DEFAULT_KEYSFILE)"' >> defaults.hh | ||
41 | echo '#define DEFAULT_INITFILE "$(pkgdatadir)/init"' >> defaults.hh | ||
42 | echo '#define LOCALEPATH "$(pkgdatadir)/nls"' >> defaults.hh | ||
41 | 43 | ||
44 | # some extra deps for I18n and fluxbox | ||
45 | |||
46 | I18n.$(OBJEXT): defaults.hh | ||
47 | fluxbox.$(OBJEXT): defaults.hh | ||
42 | 48 | ||
43 | if NEWWMSPEC | 49 | if NEWWMSPEC |
44 | newwmspec_SOURCE= Ewmh.hh Ewmh.cc | 50 | newwmspec_SOURCE= Ewmh.hh Ewmh.cc |