summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/ChangeLog7
-rw-r--r--src/config/post.in8
2 files changed, 13 insertions, 2 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog
index 6a192bd7ab..de36fddf72 100644
--- a/src/config/ChangeLog
+++ b/src/config/ChangeLog
@@ -1,3 +1,10 @@
+Thu Apr 20 20:00:42 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * post.in: The .depend production rule now does even more
+ cannonicalization of the generated dependencies.
+
+ * post.in: cc should be $(CC)
+
Tue Apr 18 09:36:00 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
* post.in (.depend, depend): Add production for creating the
diff --git a/src/config/post.in b/src/config/post.in
index afdc53cf70..1425f56045 100644
--- a/src/config/post.in
+++ b/src/config/post.in
@@ -7,8 +7,12 @@ check::
.depend: $(SRCS) $(SRCTOP)/util/depfix.sed
if test -n "$(SRCS)" ; then \
- cc -M $(CFLAGS) $(SRCS) | sed -f $(SRCTOP)/util/depfix.sed | \
- sed -e 's;$(srcdir)/;$$(srcdir)/;g' > .depend; \
+ $(CC) -M $(CFLAGS) $(SRCS) | \
+ sed -f $(SRCTOP)/util/depfix.sed | \
+ sed -e 's; $(SRCTOP)/; $$(SRCTOP)/;g' | \
+ sed -e 's; $(srcdir)/; $$(srcdir)/;g' | \
+ sed -e 's; $(BUILDTOP)/; $$(BUILDTOP)/;g' | \
+ sed -e 's; \./; ;g' > .depend; \
else :; fi
depend:: .depend