pkgsrc/graphics/libflash/buildlink2.mk
jlam 7dbda9e2ef Bump PKGREVISIONs of libflash, flashplayer, and moz-flash. These
packages can now use audio/oss for OSS audio support.  Convert to use
buildlink2 and make libflash.so link against the proper libraries so
that all inter-library dependencies are recorded.  Also build moz-flash
using libtool instead of guessing at the link command for the shared
module.
2003-01-30 12:22:45 +00:00

25 lines
769 B
Makefile

# $NetBSD: buildlink2.mk,v 1.1 2003/01/30 12:22:47 jlam Exp $
.if !defined(LIBFLASH_BUILDLINK2_MK)
LIBFLASH_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= libflash
BUILDLINK_DEPENDS.libflash?= libflash>=0.4.10nb4
BUILDLINK_PKGSRCDIR.libflash?= ../../graphics/libflash
EVAL_PREFIX+= BUILDLINK_PREFIX.libflash=libflash
BUILDLINK_PREFIX.libflash_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.libflash+= include/flash/*.h
BUILDLINK_FILES.libflash+= lib/libflash.*
BUILDLINK_CPPFLAGS.libflash= -I${BUILDLINK_PREFIX.libflash}/include/flash
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.libflash}
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
BUILDLINK_TARGETS+= libflash-buildlink
libflash-buildlink: _BUILDLINK_USE
.endif # LIBFLASH_BUILDLINK2_MK