Makefile revision 136854
1101131Sscottl 2101131Sscottl# $FreeBSD: head/sys/modules/aic7xxx/ahd/Makefile 136854 2004-10-24 07:54:44Z ru $ 3101131Sscottl 4101131Sscottl.PATH: ${.CURDIR}/../../../dev/aic7xxx 5101131SscottlKMOD= ahd 6101131Sscottl 7140867SimpGENSRCS= aic79xx_seq.h aic79xx_reg.h 8136854SruREG_PRINT_OPT= 9109708SgibbsAHD_REG_PRETTY_PRINT=1 10109708Sgibbs.ifdef AHD_REG_PRETTY_PRINT 11109708SgibbsGENSRCS += aic79xx_reg_print.c 12109708SgibbsCFLAGS+= -DAHD_REG_PRETTY_PRINT=1 13109708SgibbsREG_PRINT_OPT= -p aic79xx_reg_print.c 14109708Sgibbs.endif 15109708SgibbsBEFORE_DEPEND= ${GENSRCS} 16109708Sgibbs 17101131Sscottl../aicasm/aicasm: ${.CURDIR}/../../../dev/aic7xxx/aicasm/*.[chyl] 18109708Sgibbs ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; ) 19101131Sscottl 20101131Sscottl${GENSRCS}: \ 21109708Sgibbs ${.CURDIR}/../../../dev/aic7xxx/aic79xx.{reg,seq} \ 22109708Sgibbs ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm 23102690Sgibbs ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \ 24106389Sscottl -I${.CURDIR}/../../../dev/aic7xxx \ 25102690Sgibbs -o aic79xx_seq.h -r aic79xx_reg.h \ 26102690Sgibbs ${REG_PRINT_OPT} \ 27109708Sgibbs -i ${.CURDIR}/../../../dev/aic7xxx/aic79xx_osm.h \ 28102690Sgibbs ${.CURDIR}/../../../dev/aic7xxx/aic79xx.seq 29102690Sgibbs 30101131SscottlSRCS= ${GENSRCS} 31101131SscottlSRCS+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c 32101131SscottlSRCS+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h 33101131SscottlSRCS+= device_if.h bus_if.h pci_if.h 34101131Sscottl 35101131SscottlCLEANFILES= ${GENSRCS} 36109708Sgibbs 37101131Sscottl.include <bsd.kmod.mk> 38101131Sscottl