summaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-03 02:51:12 +0000
committerjlam <jlam@pkgsrc.org>2002-10-03 02:51:12 +0000
commit75fa03d948ddd8a572e695329663cdf024528205 (patch)
treef742f0f0e4d55ed4d0664530f71b4841879ad69b /audio/oss
parentd0f9e394b270d82ba3453a138676c07a2c9919ff (diff)
downloadpkgsrc-75fa03d948ddd8a572e695329663cdf024528205.tar.gz
Add a buildlink2.mk file. This file shouldn't ever really need to be
included because it will be included indirectly by ossaudio.buildlink2.mk, which should be the only file included by packages that want OSS.
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/buildlink2.mk35
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