# 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>
+++ /dev/null
-.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
+++ /dev/null
-# Makefile for the Sound Blaster 16 (SB16) common
-
-LIBISPRIVATE= yes
-
-LIB= common
-SRCS= sb16.c
-
-.include <bsd.lib.mk>
+++ /dev/null
-# 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>
+++ /dev/null
-# Makefile for the Sound Blaster 16 (SB16) mixer
-PROG= sb16_mixer
-SRCS= sb16_mixer.c
-
-MAN=
-
-BINDIR?= /usr/sbin
-
-.include <bsd.prog.mk>