allow LIBISPRIVATE to be overriden, and install everything again.

helpful for mknative-gcc.
This commit is contained in:
mrg 2011-09-21 02:06:42 +00:00
parent 53e8c72cbd
commit a2a54c3f32
3 changed files with 21 additions and 6 deletions

View File

@ -1,9 +1,14 @@
# $NetBSD: Makefile,v 1.4 2011/07/21 03:13:30 mrg Exp $
# $NetBSD: Makefile,v 1.5 2011/09/21 02:06:42 mrg Exp $
.include <bsd.init.mk>
# We don't install mpc, just provide it for GCC.
LIBISPRIVATE= yes
LIBISPRIVATE?= yes
.if ${LIBISPRIVATE} != "yes"
INCS= mpc.h mpc-log.h
INCSDIR= /usr/include
.endif
LIB= mpc

View File

@ -1,9 +1,14 @@
# $NetBSD: Makefile,v 1.11 2011/08/09 13:01:34 joerg Exp $
# $NetBSD: Makefile,v 1.12 2011/09/21 02:06:42 mrg Exp $
.include <bsd.init.mk>
# We don't install gmp, just provide it for GCC.
LIBISPRIVATE= yes
LIBISPRIVATE?= yes
.if ${LIBISPRIVATE} != "yes"
INCS= gmp.h
INCSDIR= /usr/include
.endif
DIST=${.CURDIR}/../../dist

View File

@ -1,9 +1,14 @@
# $NetBSD: Makefile,v 1.8 2011/07/21 03:13:30 mrg Exp $
# $NetBSD: Makefile,v 1.9 2011/09/21 02:06:42 mrg Exp $
.include <bsd.init.mk>
# We don't install mpfr, just provide it for GCC.
LIBISPRIVATE= yes
LIBISPRIVATE?= yes
.if ${LIBISPRIVATE} != "yes"
INCS= mpf2mpfr.h mpfr.h
INCSDIR= /usr/include
.endif
# XXX get_d.c triggers lint div zero errors (which is valid?)
MKLINT=no