summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-11-08 13:48:05 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-11-08 13:48:05 -0800
commit02379845b074cb252c0cb42d18c6cb8effcdc9f5 (patch)
tree6867197e6c7ce55e3079477fb2cd30b01fda7a7e /Makefile.am
parentc472f5f9257e6dcb9e82042a99ef028e3390e93e (diff)
Fix builds when $(srcdir) != $(objdir)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f10cb95..952ec8c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,7 +62,8 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
sessreg.$(APP_MAN_SUFFIX): filenames.sed
filenames.sed: filenames.sed.c
- $(CPP) $(DEFS) $(srcdir)/filenames.sed.c | grep 's\|__' > $@
+ $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(srcdir)/filenames.sed.c | grep 's\|__' > $@
if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \