summaryrefslogtreecommitdiff
path: root/lib/libossaudio/Makefile
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2020-04-02 19:57:11 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2020-04-02 19:57:11 +0000
commitbae9dc7ea6180f0f48ab3d0fa9d84071a6d849ca (patch)
tree79569ff32760e0de743dddd711d281ccbcc57c25 /lib/libossaudio/Makefile
parent985e302384b3dae70817212fec405b7f90ba764a (diff)
Makes libossaudio use sndio instead of the kernel mixer(4) interface.
Programs will see the device handled by sndiod (instead of the first one) and will always get access at least the sndiod master level control. If present, hardware master input and output volumes are exposed as well. feedback from landry and sthen, "do it" deraadt
Diffstat (limited to 'lib/libossaudio/Makefile')
-rw-r--r--lib/libossaudio/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libossaudio/Makefile b/lib/libossaudio/Makefile
index de1d0e7deeb..ee99b60db10 100644
--- a/lib/libossaudio/Makefile
+++ b/lib/libossaudio/Makefile
@@ -1,13 +1,15 @@
-# $OpenBSD: Makefile,v 1.5 2014/07/16 20:02:17 okan Exp $
+# $OpenBSD: Makefile,v 1.6 2020/04/02 19:57:10 ratchov Exp $
# $NetBSD: Makefile,v 1.5 1998/04/13 14:18:45 lukem Exp $
LIB= ossaudio
MAN= ossaudio.3
-SRCS= ossaudio.c
+SRCS= ossaudio.c aucat.c debug.c sioctl.c sioctl_aucat.c sioctl_sun.c
CPPFLAGS+= -I${.CURDIR}
+.PATH: ${.CURDIR}/../libsndio
+
includes:
@cd ${.CURDIR}; cmp -s soundcard.h ${DESTDIR}/usr/include/soundcard.h || \
${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) soundcard.h \