diff options
author | jlam <jlam> | 2001-05-24 08:53:54 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-24 08:53:54 +0000 |
commit | ea9a943426ae849f8671eeb8718e501bfeadb315 (patch) | |
tree | 5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /misc/chipmunk | |
parent | eb8ff3e130393605c7f87cc5adb1b7df003f0849 (diff) | |
download | pkgsrc-ea9a943426ae849f8671eeb8718e501bfeadb315.tar.gz |
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.
Diffstat (limited to 'misc/chipmunk')
-rw-r--r-- | misc/chipmunk/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/chipmunk/Makefile b/misc/chipmunk/Makefile index 44648fe35c3..953b8053d03 100644 --- a/misc/chipmunk/Makefile +++ b/misc/chipmunk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/05/17 20:17:27 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2001/05/24 08:53:57 jlam Exp $ # DISTNAME= chipmunk-1.4 @@ -11,16 +11,16 @@ COMMENT= shell-like tool for hardware debugging ONLY_FOR_PLATFORM= NetBSD-*-i386 -.include "../../devel/readline/Makefile.readline" +.include "../../devel/readline/buildlink.mk" ALL_TARGET= chipmunk MAKE_ENV+= CONFIG_OPTIONS="${CPPFLAGS}" MAKE_ENV+= EXTRA_LIBS=-li386 -CPPFLAGS+= -I${WRKINCDIR} -LDFLAGS+= -L${WRKLIBDIR} +CPPFLAGS+= -I${BUILDLINK_INCDIR} +LDFLAGS+= -L${BUILDLINK_LIBDIR} -pre-configure: link-readline-headers link-readline-libs +pre-configure: ${BUILDLINK_TARGETS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/chipmunk ${PREFIX}/sbin/chipmunk |