Source-Changes-HG archive

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

[src/trunk]: src/tools don't try to build links when cleaning or making obj dirs



details:   https://anonhg.NetBSD.org/src/rev/baf18909ade9
branches:  trunk
changeset: 350994:baf18909ade9
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 29 22:16:51 2017 +0000

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

diffstat:

 tools/asn1_compile/Makefile |  4 +++-
 tools/compile_et/Makefile   |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 67bae58eb2eb -r baf18909ade9 tools/asn1_compile/Makefile
--- a/tools/asn1_compile/Makefile       Sun Jan 29 22:09:06 2017 +0000
+++ b/tools/asn1_compile/Makefile       Sun Jan 29 22:16:51 2017 +0000
@@ -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"
diff -r 67bae58eb2eb -r baf18909ade9 tools/compile_et/Makefile
--- a/tools/compile_et/Makefile Sun Jan 29 22:09:06 2017 +0000
+++ b/tools/compile_et/Makefile Sun Jan 29 22:16:51 2017 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index