1 2# $FreeBSD$ 3 4.PATH: ${.CURDIR}/../../../dev/aic7xxx 5KMOD= ahd 6 7BEFORE_DEPEND= aic79xx_{seq,reg}.h 8 9../aicasm/aicasm: 10 ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; ) 11 12aic79xx_{seq.h,reg.h,reg_print.c}: \ 13 ${.CURDIR}/../../../dev/aic7xxx/aic79xx.{reg,seq} \ 14 ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm 15 ${.OBJDIR}/../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \ 16 -I${.CURDIR}/../../../dev/aic7xxx \ 17 -o aic79xx_seq.h -r aic79xx_reg.h \ 18 -p aic79xx_reg_print.c \ 19 -i ${.CURDIR}/../../../dev/aic7xxx/aic79xx_osm.h \ 20 ${.CURDIR}/../../../dev/aic7xxx/aic79xx.seq 21 22GENSRCS= aic79xx_reg.h aic79xx_seq.h 23 24SRCS= ${GENSRCS} 25AHD_REG_PRETTY_PRINT=1 26.ifdef AHD_REG_PRETTY_PRINT 27SRCS+= aic79xx_reg_print.c 28CFLAGS+= -DAHD_REG_PRETTY_PRINT=1 29.endif 30SRCS+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c 31SRCS+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h 32SRCS+= device_if.h bus_if.h pci_if.h 33 34CLEANFILES= ${GENSRCS} aic79xx_reg_print.c 35 36.include <bsd.kmod.mk> 37