diff options
author | jlam <jlam> | 2001-06-26 18:09:19 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-26 18:09:19 +0000 |
commit | 140576f08b90c514d0d9d1be15e0644eaeccae50 (patch) | |
tree | 62c5007fa3a6a453cfdaa9765429be9b08142d7d /audio | |
parent | 6439a35f2d758da756f37bbbd57abaeff8d32fe9 (diff) | |
download | pkgsrc-140576f08b90c514d0d9d1be15e0644eaeccae50.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libsidplay/buildlink.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/libsidplay/buildlink.mk b/audio/libsidplay/buildlink.mk new file mode 100644 index 00000000000..2964e7275e8 --- /dev/null +++ b/audio/libsidplay/buildlink.mk @@ -0,0 +1,33 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/26 18:09:19 jlam Exp $ +# +# This Makefile fragment is included by packages that use libsidplay. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.libsidplay to the dependency pattern +# for the version of libsidplay desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(LIBSIDPLAY_BUILDLINK_MK) +LIBSIDPLAY_BUILDLINK_MK= # defined + +BUILDLINK_DEPENDS.libsidplay?= libsidplay>=1.36.38 +DEPENDS+= ${BUILDLINK_DEPENDS.libsidplay}:../../audio/libsidplay + +BUILDLINK_PREFIX.libsidplay= ${LOCALBASE} +BUILDLINK_FILES.libsidplay= include/sidplay/* +BUILDLINK_FILES.libsidplay+= lib/libsidplay.* + +BUILDLINK_TARGETS.libsidplay= libsidplay-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libsidplay} + +pre-configure: ${BUILDLINK_TARGETS.libsidplay} +libsidplay-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # LIBSIDPLAY_BUILDLINK_MK |