4 .PATH: ${.CURDIR}/../../../dev/aic7xxx
6 SUBDIR= ahc_eisa ahc_isa ahc_pci
8 GENSRCS= aic7xxx_seq.h aic7xxx_reg.h
11 .ifdef AHC_REG_PRETTY_PRINT
12 GENSRCS+= aic7xxx_reg_print.c
13 CFLAGS+= -DAHC_REG_PRETTY_PRINT=1
14 REG_PRINT_OPT= -p aic7xxx_reg_print.c
16 BEFORE_DEPEND = ${GENSRCS}
18 ../aicasm/aicasm: ${.CURDIR}/../../../dev/aci7xxx/aicasm/*.[chyl]
19 ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; )
22 ${.CURDIR}/../../../dev/aic7xxx/aic7xxx.{reg,seq} \
23 ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm
24 ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \
25 -I${.CURDIR}/../../../dev/aic7xxx \
26 -o aic7xxx_seq.h -r aic7xxx_reg.h \
28 -i ${.CURDIR}/../../../dev/aic7xxx/aic7xxx_osm.h \
29 ${.CURDIR}/../../../dev/aic7xxx/aic7xxx.seq
32 SRCS+= aic7xxx.c aic7xxx_93cx6.c aic7xxx_osm.c aic7770.c
33 SRCS+= opt_scsi.h opt_aic7xxx.h opt_cam.h
34 SRCS+= device_if.h bus_if.h pci_if.h
36 CLEANFILES= ${GENSRCS}
38 .include <bsd.kmod.mk>