summaryrefslogtreecommitdiffstats
path: root/sys/modules/aic7xxx/ahd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/aic7xxx/ahd/Makefile')
-rw-r--r--sys/modules/aic7xxx/ahd/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/modules/aic7xxx/ahd/Makefile b/sys/modules/aic7xxx/ahd/Makefile
new file mode 100644
index 0000000..b9d5364
--- /dev/null
+++ b/sys/modules/aic7xxx/ahd/Makefile
@@ -0,0 +1,27 @@
+
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/aic7xxx
+KMOD= ahd
+
+BEFORE_DEPEND= aic79xx_{seq,reg}.h
+
+../aicasm/aicasm:
+ ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; )
+
+aic79xx_{seq,reg}.h: ${.CURDIR}/../../../dev/aic7xxx/aic79xx.{reg,seq} \
+ ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm
+ ${.CURDIR}/../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \
+ -I${.CURDIR}/../../../dev/aic7xxx -o aic79xx_seq.h -r aic79xx_reg.h \
+ ${.CURDIR}/../../../dev/aic7xxx/aic79xx.seq
+
+GENSRCS= aic79xx_reg.h aic79xx_seq.h
+
+SRCS= ${GENSRCS}
+SRCS+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c
+SRCS+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h
+SRCS+= device_if.h bus_if.h pci_if.h
+
+CLEANFILES= ${GENSRCS}
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud