sb16: flatten mixer, common, dsp hierarchy into 2-PROGS dir

This commit is contained in:
Ben Gras 2010-08-25 09:57:10 +00:00
parent 36fa521a0e
commit cb86231930
10 changed files with 9 additions and 42 deletions

View file

@ -1,7 +1,13 @@
# Makefile for the Sound Blaster 16 (SB16) driver
.include <bsd.own.mk>
PROGS=sb16_mixer sb16_dsp
SUBDIR= common .WAIT dsp mixer
SRCS.sb16_dsp=sb16.c sb16_dsp.c sb16_dsp_liveupdate.c
SRCS.sb16_mixer=sb16.c sb16_mixer.c
MAN.sb16_dsp=
MAN.sb16_mixer=
.include <bsd.subdir.mk>
DPADD+= ${LIBDRIVER} ${LIBSYS}
LDADD+= -ldriver -lsys
.include <bsd.prog.mk>

View file

@ -1,13 +0,0 @@
.include <bsd.own.mk>
LIBCOMMON != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../common
DPADD+= ${LIBCOMMON}/libcommon.a
LDADD+= -L${LIBCOMMON} -lcommon
DPADD+= ${LIBDRIVER} ${LIBSYS}
LDADD+= -ldriver -lsys
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif

View file

@ -1,8 +0,0 @@
# Makefile for the Sound Blaster 16 (SB16) common
LIBISPRIVATE= yes
LIB= common
SRCS= sb16.c
.include <bsd.lib.mk>

View file

@ -1,9 +0,0 @@
# Makefile for the Sound Blaster 16 (SB16) dsp
PROG= sb16_dsp
SRCS= sb16_dsp.c sb16_dsp_liveupdate.c
MAN=
BINDIR?= /usr/sbin
.include <bsd.prog.mk>

View file

@ -1,9 +0,0 @@
# Makefile for the Sound Blaster 16 (SB16) mixer
PROG= sb16_mixer
SRCS= sb16_mixer.c
MAN=
BINDIR?= /usr/sbin
.include <bsd.prog.mk>