summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) \