From ea9a943426ae849f8671eeb8718e501bfeadb315 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 24 May 2001 08:53:54 +0000 Subject: Standardize name of file to include for build-links to be "buildlink.mk". Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers and libraries. Create a variable BUILDLINK_TARGETS whose value is the list of build-link targets to execute. --- math/capc-calc/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'math') diff --git a/math/capc-calc/Makefile b/math/capc-calc/Makefile index 900b04ed903..c4f65623afe 100644 --- a/math/capc-calc/Makefile +++ b/math/capc-calc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/05/16 20:28:40 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2001/05/24 08:53:57 jlam Exp $ # DISTNAME= calc-2.11.4t2 @@ -13,12 +13,12 @@ COMMENT= C arbitrary precision calculator NO_CONFIGURE= # defined -.include "../../devel/readline/Makefile.readline" +.include "../../devel/readline/buildlink.mk" MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" -CPPFLAGS+= -I${WRKINCDIR} -LDFLAGS+= -L${WRKLIBDIR} +CPPFLAGS+= -I${BUILDLINK_INCDIR} +LDFLAGS+= -L${BUILDLINK_LIBDIR} -pre-build: link-readline-headers link-readline-libs +pre-build: ${BUILDLINK_TARGETS} .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3