Add the modules for audio, midi, and sequencer
This commit is contained in:
parent
ab52e45ac5
commit
1e50c1dc0e
@ -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
|
||||
|
22
sys/modules/audio/Makefile
Normal file
22
sys/modules/audio/Makefile
Normal 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>
|
9
sys/modules/audio/audio.ioconf
Normal file
9
sys/modules/audio/audio.ioconf
Normal 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
20
sys/modules/midi/Makefile
Normal 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>
|
9
sys/modules/midi/midi.ioconf
Normal file
9
sys/modules/midi/midi.ioconf
Normal 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?
|
18
sys/modules/sequencer/Makefile
Normal file
18
sys/modules/sequencer/Makefile
Normal 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>
|
9
sys/modules/sequencer/sequencer.ioconf
Normal file
9
sys/modules/sequencer/sequencer.ioconf
Normal 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
|
Loading…
Reference in New Issue
Block a user