Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libasn1 Make asn1_files depend on ${ASN1_COMPILE} which ...



details:   https://anonhg.NetBSD.org/src/rev/4c134f128e7f
branches:  trunk
changeset: 516799:4c134f128e7f
user:      jmc <jmc%NetBSD.org@localhost>
date:      Tue Oct 30 09:48:14 2001 +0000

description:
Make asn1_files depend on ${ASN1_COMPILE} which will translate to the right
binary for both the old and new toolchain setups

diffstat:

 lib/libasn1/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 3506ace4ecd6 -r 4c134f128e7f lib/libasn1/Makefile
--- a/lib/libasn1/Makefile      Tue Oct 30 08:44:57 2001 +0000
+++ b/lib/libasn1/Makefile      Tue Oct 30 09:48:14 2001 +0000
@@ -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 <bsd.own.mk>
 
@@ -17,9 +17,9 @@
 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 @@
 
 ${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



Home | Main Index | Thread Index | Old Index