diff options
author | Theodore Tso <tytso@mit.edu> | 1995-04-21 01:22:26 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1995-04-21 01:22:26 +0000 |
commit | b6ed4e93c80e922e23cb651b14424ec7a112838c (patch) | |
tree | 27f07f428a4239baad7b80f045f2cc9d77aafc46 /src/config/post.in | |
parent | ec0f8db0d47c3fbbadf8a0f5dfff827d5206bcd8 (diff) | |
download | krb5-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.in | 8 |
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 |