summaryrefslogtreecommitdiffstats
path: root/config/depend.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/depend.in')
-rw-r--r--config/depend.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/depend.in b/config/depend.in
index dc72d74..7c61f4f 100644
--- a/config/depend.in
+++ b/config/depend.in
@@ -32,10 +32,10 @@ dep depend: .distdep
@for dep in $? dummy; do \
if [ $$dep != "dummy" ]; then \
echo Building dependencies for $$dep; \
- obj=`echo $$dep | sed 's/\.c/\\\\.o/'`; \
+ obj=`echo $$dep | sed 's/\.c/\\\\.lo/'`; \
sed '\%$$obj%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
$(TRACE) $$dep; \
- $(CC) -M -MG $(CPPFLAGS) $$dep >>$@; \
+ $(CC) -M -MG $(CPPFLAGS) $$dep |sed 's/\.o/.lo/' >>$@; \
fi; \
done;
-perl -p $(top_srcdir)/bin/distdep .depend >.distdep