From 02379845b074cb252c0cb42d18c6cb8effcdc9f5 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 8 Nov 2006 13:48:05 -0800 Subject: Fix builds when $(srcdir) != $(objdir) --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) \ -- cgit v1.2.3