From 88a15798d4de4c01fbf338a18975370b732a566b Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 5 Feb 2004 18:49:35 +0000 Subject: [PATCH] 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. --- kerberos5/tools/asn1_compile/Makefile | 7 +++---- 1 file 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 -.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