.include <bsd.own.mk>
-SUBDIR= common .WAIT es1370 es1371 sb16
+SUBDIR= .WAIT es1370 es1371 sb16
.include <bsd.subdir.mk>
.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
+DPADD+= ${LIBAUDIODRIVER} ${LIBDRIVER} ${LIBSYS}
+LDADD+= -laudiodriver -ldriver -lsys
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
#include <machine/pci.h>
-#include "audio_fw.h"
+#include <minix/audio_fw.h>
#include "es1370.h"
#include "ak4531.h"
#include "pci_helper.h"
#include <machine/pci.h>
-#include "audio_fw.h"
+#include <minix/audio_fw.h>
#include "es1371.h"
#include "AC97.h"
#include "sample_rate_converter.h"
#define ES1371_H
/* best viewed with tabsize=4 */
-#include "audio_fw.h"
+#include <minix/audio_fw.h>
#include <sys/types.h>
#include <sys/ioc_sound.h>
#include <minix/sound.h>
#define SB16_H
#include <minix/sound.h>
-#include "audio_fw.h"
+#include <minix/audio_fw.h>
#define AUDIO 0
#define MIXER 1
minix/spin.h minix/sys_config.h minix/sysinfo.h minix/syslib.h \
minix/sysutil.h minix/timers.h minix/tty.h minix/type.h minix/types.h \
minix/u64.h minix/vfsif.h minix/vm.h minix/vtreefs.h \
- minix/compiler.h minix/compiler-ack.h minix/sha2.h minix/sha1.h minix/md5.h
+ minix/compiler.h minix/compiler-ack.h minix/sha2.h minix/sha1.h minix/md5.h \
+ minix/audio_fw.h
INCS+= net/hton.h net/if.h net/ioctl.h net/netlib.h
INCS+= net/gen/arp_io.h net/gen/dhcp.h net/gen/ether.h \
net/gen/eth_hdr.h net/gen/eth_io.h net/gen/icmp.h \
# Makefile for the common audio framework
-LIBISPRIVATE= yes
-
-LIB= common
+LIB= audiodriver
SRCS= audio_fw.c liveupdate.c
.include <bsd.lib.mk>
# rumpfs_lfs rumpfs_msdosfs rumpfs_nfs rumpfs_ntfs rumpfs_syspuffs \
# rumpfs_tmpfs rumpfs_udf rumpfs_ufs
.for _lib in \
- c curses driver netdriver edit end m sys timers util bz2 l hgfs
+ c curses driver netdriver edit end m sys timers util bz2 l hgfs audiodriver
.ifndef LIB${_lib:tu}
LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib}.a
.if ${COMPILER_TYPE} == "ack"