Add the modules for audio, midi, and sequencer

This commit is contained in:
pgoyette 2017-06-01 09:58:27 +00:00
parent ab52e45ac5
commit 1e50c1dc0e
7 changed files with 91 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.191 2017/04/19 00:01:38 riastradh Exp $
# $NetBSD: Makefile,v 1.192 2017/06/01 09:58:27 pgoyette Exp $
.include <bsd.own.mk>
@ -8,6 +8,7 @@ SUBDIR= accf_dataready
SUBDIR+= accf_httpready
SUBDIR+= adosfs
SUBDIR+= aio
SUBDIR+= audio
SUBDIR+= blowfish
SUBDIR+= bpf
SUBDIR+= bpf_filter
@ -77,6 +78,7 @@ SUBDIR+= lua
SUBDIR+= luasystm
SUBDIR+= luapmf
SUBDIR+= mfs
SUBDIR+= midi
SUBDIR+= miiverbose
SUBDIR+= miniroot
SUBDIR+= mqueue
@ -113,6 +115,7 @@ SUBDIR+= secmodel_bsd44
SUBDIR+= secmodel_extensions
SUBDIR+= secmodel_overlay
SUBDIR+= securelevel
SUBDIR+= sequencer
SUBDIR+= skipjack
SUBDIR+= slcompress
SUBDIR+= smbfs

View File

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
.include "../Makefile.inc"
.PATH: ${S}/dev
KMOD= audio
IOCONF= audio.ioconf
SRCS= audio.c \
auconv.c \
aurateconv.c \
auvolconv.c \
mulaw.c
CPPFLAGS+= -DNAUDIO=1 -DNAURATECONV=1 -DNMULAW=1
# Rather than our usual WARNS=4, we need to use 3, since there are a
# lot of signed-vs-unsigned compares
WARNS= 3
.include <bsd.kmodule.mk>

View File

@ -0,0 +1,9 @@
# $NetBSD: audio.ioconf,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
ioconf audio
include "conf/files"
pseudo-root audiobus*
audio* at audiobus?

20
sys/modules/midi/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
.include "../Makefile.inc"
.PATH: ${S}/dev
KMOD= midi
IOCONF= midi.ioconf
SRCS= midi.c \
midictl.c \
midisyn.c
CPPFLAGS+= -DNMIDI=1 -DNSEQUENCER=1
# Rather than our usual WARNS=4, we need to use 3, since there are a
# lot of signed-vs-unsigned compares
WARNS= 3
.include <bsd.kmodule.mk>

View File

@ -0,0 +1,9 @@
# $NetBSD: midi.ioconf,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
ioconf midi
include "conf/files"
pseudo-root midibus*
midi* at midibus?

View File

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
.include "../Makefile.inc"
.PATH: ${S}/dev
KMOD= sequencer
IOCONF= sequencer.ioconf
SRCS= sequencer.c
CPPFLAGS+= -DNSEQUENCER=1 -DNMIDI=1
# Rather than our usual WARNS=4, we need to use 3, since there are a
# lot of signed-vs-unsigned compares
WARNS= 3
.include <bsd.kmodule.mk>

View File

@ -0,0 +1,9 @@
# $NetBSD: sequencer.ioconf,v 1.1 2017/06/01 09:58:27 pgoyette Exp $
ioconf sequencer
include "conf/files"
pseudo-root midi*
pseudo-device sequencer