From 1b341e36a2b10921eef7d93c2391883743d6c8be Mon Sep 17 00:00:00 2001 From: jmc Date: Tue, 30 Oct 2001 09:48:14 +0000 Subject: [PATCH] Make asn1_files depend on ${ASN1_COMPILE} which will translate to the right binary for both the old and new toolchain setups --- lib/libasn1/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libasn1/Makefile b/lib/libasn1/Makefile index 518cb0b381e6..07ae4d5d150a 100644 --- a/lib/libasn1/Makefile +++ b/lib/libasn1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/10/25 07:42:38 thorpej Exp $ +# $NetBSD: Makefile,v 1.17 2001/10/30 09:48:14 jmc Exp $ .include @@ -17,9 +17,9 @@ COMPILE_ET?= ${COMPILEETOBJ}/compile_et ASN1COMPILEOBJ!=cd ${.CURDIR}/asn1_compile && ${PRINTOBJDIR} ASN1_COMPILE?= ${ASN1COMPILEOBJ}/asn1_compile -.PHONY: asn1_compile +.PHONY: ${ASN1COMPILEOBJ}/asn1_compile -asn1_compile: +${ASN1COMPILEOBJ}/asn1_compile: @cd ${.CURDIR}/asn1_compile && ${MAKE} .endif @@ -108,7 +108,7 @@ CPPFLAGS+= -I. \ ${gen_files} krb5_asn1.hx: asn1_files -asn1_files: k5.asn1 +asn1_files: k5.asn1 ${ASN1_COMPILE} ${ASN1_COMPILE} ${DIST}/heimdal/lib/asn1/k5.asn1 krb5_asn1 ${SRCS}: krb5_asn1.h