diff options
-rw-r--r-- | cad/fasthenry/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
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" |