the generated dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5421
dc483132-0cff-0310-8789-
dd5450dbe970
+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
.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