From a7e66ffe3b89d4bb39898c6667ca787f3563d73c Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 29 Sep 2002 03:31:13 +0000 Subject: buildlink1 -> buildlink2, and use gcc/buildlink2.mk instead of Makefile.gcc. --- cad/fasthenry/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'cad/fasthenry') diff --git a/cad/fasthenry/Makefile b/cad/fasthenry/Makefile index e72bed8da2b..44207cf6873 100644 --- a/cad/fasthenry/Makefile +++ b/cad/fasthenry/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2002/04/20 15:34:44 cjep Exp $ +# $NetBSD: Makefile,v 1.11 2002/09/29 03:31:13 jlam Exp $ # DISTNAME= fasthenry-3.0-12Nov96 @@ -19,6 +19,7 @@ NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_SRC_ON_FTP= ${RESTRICTED} +USE_BUILDLINK2= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./config CONFIGURE_ARGS= default @@ -26,17 +27,20 @@ CONFIGURE_ARGS= default .include "../../mk/bsd.prefs.mk" .if (${MACHINE_ARCH} == "alpha") -DEPENDS+= libffm-[0-9]*:../../math/libffm +# # optimized libffm (free fast math library) +#> +. include "../../math/libffm/buildlink2.mk" +DEPENDS+= libffm-[0-9]*:../../math/libffm LIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lffm -lm MAKE_ENV+= LIBS="${LIBS}" .else LIBS= -lm +MAKE_ENV+= LIBS="${LIBS}" .endif -.if (${MACHINE_ARCH} == arm32) -.include "../../lang/gcc/Makefile.gcc" -MAKE_FLAGS+= CC=${CC} +.if (${MACHINE_ARCH} == "arm32") +. include "../../lang/gcc/buildlink2.mk" .endif .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3