summaryrefslogtreecommitdiffstats
path: root/config/depend1.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/depend1.in')
-rw-r--r--config/depend1.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/depend1.in b/config/depend1.in
index 0e714b9..ee51733 100644
--- a/config/depend1.in
+++ b/config/depend1.in
@@ -37,6 +37,9 @@ $(srcdir)/Dependencies: .depend
sed '\%$$obj%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
$(TRACE) $$dep; \
$(CC) -M -MG $(CPPFLAGS) $$dep 2>/dev/null | \
+ sed 's% $(srcdir)/% $$(srcdir)/%g' | \
+ sed 's% $(top_srcdir)/% $$(top_srcdir)/%g' | \
+ sed 's% $(top_builddir)/% $$(top_builddir)/%g' | \
sed 's/\.o/.lo/' >>$@; \
fi; \
done;