
$FreeBSD: ports/audio/aureal-kmod/files/patch-Makefile.inc,v 1.5 2001/06/22 07:22:06 sobomax Exp $

--- Makefile.inc.orig	Thu Jun 21 22:34:06 2001
+++ Makefile.inc	Thu Jun 21 22:37:50 2001
@@ -0,0 +1,14 @@
+.PATH: /sys/dev/sound/pci ${WRKSRC}
+
+KMODDIR=	${PREFIX}/lib/au88x0
+KMOD=	snd_au88${MODEL}
+.if ${OSVERSION} < 500000
+KMODDEPS=	snd_pcm
+.endif
+SRCS+=	au88x0.c
+SRCS+=	device_if.h bus_if.h isa_if.h pci_if.h
+.if ${OSVERSION} > 500000 || defined(HAVE_KOBJ_PCM)
+SRCS+=	ac97_if.h channel_if.h feeder_if.h mixer_if.h
+.endif
+OBJS=	${WRKSRC}/asp${MODEL}.o
+CFLAGS+=	-I${WRKSRC}
