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.
This commit is contained in:
Ruslan Ermilov 2004-02-05 18:49:35 +00:00
parent b00a3c85da
commit 88a15798d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125490

View File

@ -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