Module Name:    src
Committed By:   christos
Date:           Sun Jan 29 22:16:51 UTC 2017

Modified Files:
        src/tools/asn1_compile: Makefile
        src/tools/compile_et: Makefile

Log Message:
don't try to build links when cleaning or making obj dirs


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tools/asn1_compile/Makefile
cvs rdiff -u -r1.8 -r1.9 src/tools/compile_et/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/asn1_compile/Makefile
diff -u src/tools/asn1_compile/Makefile:1.6 src/tools/asn1_compile/Makefile:1.7
--- src/tools/asn1_compile/Makefile:1.6	Sun Jan 29 14:23:52 2017
+++ src/tools/asn1_compile/Makefile	Sun Jan 29 17:16:51 2017
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile,v 1.6 2017/01/29 19:23:52 christos Exp $
+#	$NetBSD: Makefile,v 1.7 2017/01/29 22:16:51 christos Exp $
 
 HOSTPROGNAME=	${_TOOL_PREFIX}asn1_compile
 HOST_SRCDIR=	crypto/external/bsd/heimdal/lib/libasn1/asn1_compile
 CPPFLAGS+=	-I.
 
+.if !make(obj) && !make(clean) && !make(cleandir)
 .BEGIN:
 	ln -sf ${NETBSDSRCDIR}/crypto/external/bsd/heimdal/include krb5
+.endif
 
 .include "${.CURDIR}/../Makefile.host"

Index: src/tools/compile_et/Makefile
diff -u src/tools/compile_et/Makefile:1.8 src/tools/compile_et/Makefile:1.9
--- src/tools/compile_et/Makefile:1.8	Sun Jan 29 14:23:52 2017
+++ src/tools/compile_et/Makefile	Sun Jan 29 17:16:51 2017
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile,v 1.8 2017/01/29 19:23:52 christos Exp $
+#	$NetBSD: Makefile,v 1.9 2017/01/29 22:16:51 christos Exp $
 
 HOSTPROGNAME=	${_TOOL_PREFIX}compile_et
 HOST_SRCDIR=	crypto/external/bsd/heimdal/lib/libcom_err/compile_et
 CPPFLAGS+=	-I.
 
+.if !make(obj) && !make(clean) && !make(cleandir)
 .BEGIN:
 	ln -sf ${NETBSDSRCDIR}/crypto/external/bsd/heimdal/include krb5
+.endif
 
 .include "${.CURDIR}/../Makefile.host"

Reply via email to