diff options
Diffstat (limited to 'audio/oss')
-rw-r--r-- | audio/oss/buildlink2.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/audio/oss/buildlink2.mk b/audio/oss/buildlink2.mk new file mode 100644 index 00000000000..9cb7733a6a1 --- /dev/null +++ b/audio/oss/buildlink2.mk @@ -0,0 +1,35 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/03 02:51:12 jlam Exp $ + +.if !defined(OSS_BUILDLINK2_MK) +OSS_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= oss +BUILDLINK_DEPENDS.oss?= oss>=3.97d +BUILDLINK_PKGSRCDIR.oss?= ../../audio/oss + +EVAL_PREFIX+= BUILDLINK_PREFIX.oss=oss +BUILDLINK_PREFIX.oss_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.oss+= lib/oss/include/sys/awe_voice.h +BUILDLINK_FILES.oss+= lib/oss/include/sys/dm.h +BUILDLINK_FILES.oss+= lib/oss/include/sys/soundcard.h +BUILDLINK_FILES.oss+= lib/oss/include/sys/ultrasound.h +BUILDLINK_FILES.oss+= lib/oss/libOSSlib.* + +BUILDLINK_CPPFLAGS.oss= -I${BUILDLINK_PREFIX.oss}/lib/oss/include +BUILDLINK_LDFLAGS.oss= -L${BUILDLINK_PREFIX.oss}/lib/oss \ + -Wl,-R${BUILDLINK_PREFIX.oss}/lib/oss + +BUILDLINK_PREFIX.ossaudio= ${BUILDLINK_PREFIX.oss}/lib/oss +BUILDLINK_FILES.ossaudio= include/sys/awe_voice.h +BUILDLINK_FILES.ossaudio+= include/sys/dm.h +BUILDLINK_FILES.ossaudio+= include/sys/soundcard.h +BUILDLINK_FILES.ossaudio+= include/sys/ultrasound.h + +BUILDLINK_TARGETS+= oss-buildlink + +LIBOSSAUDIO= # empty +DEVOSSAUDIO= /dev/dsp + +oss-buildlink: _BUILDLINK_USE + +.endif # OSS_BUILDLINK2_MK |