[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / lib / libossaudio

File: [local] / src / lib / libossaudio / Makefile (download)

Revision 1.6, Thu Apr 2 19:57:10 2020 UTC (4 years, 2 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, HEAD
Changes since 1.5: +4 -2 lines

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

#	$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 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 \
	  ${DESTDIR}/usr/include

.include <bsd.lib.mk>