The .depend production rule now does even more cannonicalization of
authorTheodore Tso <tytso@mit.edu>
Fri, 21 Apr 1995 01:22:26 +0000 (01:22 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 21 Apr 1995 01:22:26 +0000 (01:22 +0000)
the generated dependencies.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5421 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/post.in

index 6a192bd7ab60800e5cfe1278982f5b5474cb984e..de36fddf72433cb56ebb18c63f3069ffe99f8e8c 100644 (file)
@@ -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
index afdc53cf7016561089df7d3515b6981f1c606f08..1425f5604509ffb1a927ee259dbba5ae862bad8b 100644 (file)
@@ -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