summaryrefslogtreecommitdiff
path: root/lib/libsndio/Makefile
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-10-27 00:26:34 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-10-27 00:26:34 +0000
commite49f338e25ec3f687abb4ac15bf268103da0747a (patch)
tree9b2117020c878f8cda427aad375f988efd9ca146 /lib/libsndio/Makefile
parentc115d68c48608bed0ff4568325d5c7e0bef55268 (diff)
rename libsa to libsndio
requested by many, "just go for it" deraadt@
Diffstat (limited to 'lib/libsndio/Makefile')
-rw-r--r--lib/libsndio/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/libsndio/Makefile b/lib/libsndio/Makefile
new file mode 100644
index 00000000000..6c0943fa968
--- /dev/null
+++ b/lib/libsndio/Makefile
@@ -0,0 +1,30 @@
+# $OpenBSD: Makefile,v 1.1 2008/10/27 00:26:33 ratchov Exp $
+
+LIB= sndio
+MAN= sio_open.3
+SRCS= aucat.c sun.c sndio.c
+CFLAGS+=-Wall -Wstrict-prototypes -Werror -Wundef -DDEBUG \
+ -I${.CURDIR} -I${.CURDIR}/../../usr.bin/aucat
+
+MLINKS = \
+ sio_open.3 sio_close.3 \
+ sio_open.3 sio_setpar.3 \
+ sio_open.3 sio_getpar.3 \
+ sio_open.3 sio_getcap.3 \
+ sio_open.3 sio_start.3 \
+ sio_open.3 sio_stop.3 \
+ sio_open.3 sio_read.3 \
+ sio_open.3 sio_write.3 \
+ sio_open.3 sio_onmove.3 \
+ sio_open.3 sio_nfds.3 \
+ sio_open.3 sio_pollfd.3 \
+ sio_open.3 sio_revents.3 \
+ sio_open.3 sio_eof.3 \
+ sio_open.3 sio_initpar.3
+
+includes:
+ @cd ${.CURDIR}; cmp -s sndio.h ${DESTDIR}/usr/include/sndio.h || \
+ ${INSTALL} ${INSTALL_COPY} -o $(BINOWN) -g $(BINGRP) \
+ -m 444 sndio.h ${DESTDIR}/usr/include
+
+.include <bsd.lib.mk>