blob: 9cb7733a6a17e903a5e4e8258f6d1397e4a09c95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|