Fix host tools build for asn1_compile, compile_et, and slc.

This commit is contained in:
jakllsch 2017-01-30 02:38:50 +00:00
parent f2a053e7b1
commit 55e4d28c1e
4 changed files with 9 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2011/08/28 10:28:35 elric Exp $
# $NetBSD: Makefile,v 1.4 2017/01/30 02:38:50 jakllsch Exp $
NOMAN= # defined
@ -50,10 +50,11 @@ CLEANFILES+= print_version.h make-print-version make-print-version.lo
beforedepend:
[ -h krb5 ] || ln -sf . krb5
ln -sf ${HEIMBASE}/include/roken.h
ln -sf ${HEIMBASE}/include/krb5-types.h
ln -sf ${HEIMBASE}/dist/lib/roken/roken-common.h
ln -sf ${HEIMBASE}/dist/lib/roken/getarg.h
CLEANFILES+= krb5 roken.h roken-common.h getarg.h
CLEANFILES+= krb5 roken.h krb5-types.h roken-common.h getarg.h
.ifndef HOSTPROG
HOSTPROG= ${PROG}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2011/04/15 21:02:47 elric Exp $
# $NetBSD: Makefile,v 1.4 2017/01/30 02:38:50 jakllsch Exp $
NOMAN= # defined
@ -37,11 +37,12 @@ print_version.h: make-print-version
beforedepend:
[ -h krb5 ] || ln -sf . krb5
ln -sf ${HEIMBASE}/include/roken.h
ln -sf ${HEIMBASE}/include/krb5-types.h
ln -sf ${HEIMBASE}/dist/lib/roken/roken-common.h
ln -sf ${HEIMBASE}/dist/lib/roken/getarg.h
CLEANFILES+= krb5 roken.h roken-common.h getarg.h \
print_version.h make-print-version \
CLEANFILES+= krb5 roken.h krb5-types.h roken-common.h \
getarg.h print_version.h make-print-version \
make-print-version.lo
# HOSTPROG will be set already if this is a src/tools build.

View File

@ -1,12 +1,6 @@
# $NetBSD: Makefile,v 1.7 2017/01/29 22:16:51 christos Exp $
# $NetBSD: Makefile,v 1.8 2017/01/30 02:38:50 jakllsch 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"

View File

@ -1,12 +1,6 @@
# $NetBSD: Makefile,v 1.9 2017/01/29 22:16:51 christos Exp $
# $NetBSD: Makefile,v 1.10 2017/01/30 02:38:50 jakllsch 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"