summaryrefslogtreecommitdiffstats
path: root/kerberos5/tools
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-02-05 18:49:35 +0000
committerru <ru@FreeBSD.org>2004-02-05 18:49:35 +0000
commitc991ea760e057b133b17bff2259d0d1d7a223714 (patch)
tree0615a03eb1b67a135ce93fc3b281bd5b9aa74866 /kerberos5/tools
parent6eba071b9aa24afac0eb127c85081615fd791a9a (diff)
downloadFreeBSD-src-c991ea760e057b133b17bff2259d0d1d7a223714.zip
FreeBSD-src-c991ea760e057b133b17bff2259d0d1d7a223714.tar.gz
Try harder to pick up the correct print_version.c. The old version
works before bsd.dep.mk,v 1.44, whether .depend file exists or not, but the contents of .depend file is wrong. With bsd.dep.mk,v 1.44, the contents of .depend file is always broken, and build without a .depend file is broken too. With this change it works reliably in all cases. Ugh.
Diffstat (limited to 'kerberos5/tools')
-rw-r--r--kerberos5/tools/asn1_compile/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/kerberos5/tools/asn1_compile/Makefile b/kerberos5/tools/asn1_compile/Makefile
index d8cac4b6..9a43954 100644
--- a/kerberos5/tools/asn1_compile/Makefile
+++ b/kerberos5/tools/asn1_compile/Makefile
@@ -43,7 +43,6 @@ CLEANFILES= print_version.h roken.h
.include <bsd.prog.mk>
-.PATH: ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/asn1 ${KRB5DIR}/lib/vers
-
-# There are two print_version.c's, select the right one.
-print_version.o: ${KRB5DIR}/lib/vers/print_version.c
+# There are two print_version.c's, the one we need is in ${KRB5DIR}/lib/vers,
+# so the order of paths is important here.
+.PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/asn1
OpenPOWER on IntegriCloud