summaryrefslogtreecommitdiffstats
path: root/src/config/post.in
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-04-21 01:22:26 +0000
committerTheodore Tso <tytso@mit.edu>1995-04-21 01:22:26 +0000
commitb6ed4e93c80e922e23cb651b14424ec7a112838c (patch)
tree27f07f428a4239baad7b80f045f2cc9d77aafc46 /src/config/post.in
parentec0f8db0d47c3fbbadf8a0f5dfff827d5206bcd8 (diff)
downloadkrb5-b6ed4e93c80e922e23cb651b14424ec7a112838c.tar.gz
krb5-b6ed4e93c80e922e23cb651b14424ec7a112838c.tar.xz
krb5-b6ed4e93c80e922e23cb651b14424ec7a112838c.zip
The .depend production rule now does even more cannonicalization of
the generated dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5421 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/post.in')
-rw-r--r--src/config/post.in8
1 files changed, 6 insertions, 2 deletions
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