diff options
author | jlam <jlam> | 2002-10-03 02:51:12 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-03 02:51:12 +0000 |
commit | 126b129e443f0ae5341b18d6a0a6b7f7c83e38fe (patch) | |
tree | f742f0f0e4d55ed4d0664530f71b4841879ad69b /audio/oss | |
parent | 9f8b5a1835f2313130815700712efefcd179119a (diff) | |
download | pkgsrc-126b129e443f0ae5341b18d6a0a6b7f7c83e38fe.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.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 |