diff options
-rw-r--r-- | devel/libmpeg3/buildlink.mk | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/devel/libmpeg3/buildlink.mk b/devel/libmpeg3/buildlink.mk new file mode 100644 index 00000000000..d5a88f78e50 --- /dev/null +++ b/devel/libmpeg3/buildlink.mk @@ -0,0 +1,56 @@ +# $NetBSD: buildlink.mk,v 1.1 2002/07/22 09:28:55 agc Exp $ +# +# This Makefile fragment is included by packages that use libmpeg3. +# +# This file was created automatically using createbuildlink 1.5. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.libmpeg3 to the dependency pattern +# for the version of libmpeg3 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(LIBMPEG3_BUILDLINK_MK) +LIBMPEG3_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.libmpeg3?= libmpeg3>=1.3nb2 +DEPENDS+= ${BUILDLINK_DEPENDS.libmpeg3}:../../devel/libmpeg3 + +EVAL_PREFIX+= BUILDLINK_PREFIX.libmpeg3=libmpeg3 +BUILDLINK_PREFIX.libmpeg3_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.libmpeg3+= include/mpeg3/libmpeg3.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/bitstream.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3atrack.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3css.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3demux.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3io.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3private.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3private.inc +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3title.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/mpeg3vtrack.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/timecode.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/audio/ac3.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/audio/mpeg3audio.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/idct.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/mpeg3video.h +BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/slice.h +BUILDLINK_FILES.libmpeg3+= lib/libmpeg3.* + +USE_PTHREAD= native pth + +.include "../../mk/bsd.prefs.mk" +.include "../../mk/pthread.buildlink.mk" + +BUILDLINK_TARGETS.libmpeg3= libmpeg3-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libmpeg3} + +pre-configure: ${BUILDLINK_TARGETS} +libmpeg3-buildlink: _BUILDLINK_USE + +.endif # LIBMPEG3_BUILDLINK_MK |