aboutsummaryrefslogtreecommitdiff
path: root/kerberos5/tools
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-02-05 18:49:35 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-02-05 18:49:35 +0000
commit88a15798d4de4c01fbf338a18975370b732a566b (patch)
tree0615a03eb1b67a135ce93fc3b281bd5b9aa74866 /kerberos5/tools
parentb00a3c85dac8a3429a32782735dd697746f31302 (diff)
downloadsrc-88a15798d4de4c01fbf338a18975370b732a566b.tar.gz
src-88a15798d4de4c01fbf338a18975370b732a566b.zip
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.
Notes
Notes: svn path=/head/; revision=125490
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 d8cac4b66e7e..9a4395410b33 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