Makefile revision 140867
1101131Sscottl 2101131Sscottl# $FreeBSD: head/sys/modules/aic7xxx/ahd/Makefile 140867 2005-01-26 16:29:07Z imp $ 3101131Sscottl 4101131Sscottl.PATH: ${.CURDIR}/../../../dev/aic7xxx 5101131SscottlKMOD= ahd 6101131Sscottl 7136854SruWERROR= 8109708SgibbsGENSRCS= aic79xx_seq.h aic79xx_reg.h 9109708SgibbsREG_PRINT_OPT= 10109708SgibbsAHD_REG_PRETTY_PRINT=1 11109708Sgibbs.ifdef AHD_REG_PRETTY_PRINT 12109708SgibbsGENSRCS += aic79xx_reg_print.c 13109708SgibbsCFLAGS+= -DAHD_REG_PRETTY_PRINT=1 14109708SgibbsREG_PRINT_OPT= -p aic79xx_reg_print.c 15109708Sgibbs.endif 16101131SscottlBEFORE_DEPEND= ${GENSRCS} 17109708Sgibbs 18101131Sscottl../aicasm/aicasm: ${.CURDIR}/../../../dev/aic7xxx/aicasm/*.[chyl] 19101131Sscottl ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; ) 20109708Sgibbs 21109708Sgibbs${GENSRCS}: \ 22102690Sgibbs ${.CURDIR}/../../../dev/aic7xxx/aic79xx.{reg,seq} \ 23106389Sscottl ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm 24102690Sgibbs ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \ 25102690Sgibbs -I${.CURDIR}/../../../dev/aic7xxx \ 26109708Sgibbs -o aic79xx_seq.h -r aic79xx_reg.h \ 27102690Sgibbs ${REG_PRINT_OPT} \ 28102690Sgibbs -i ${.CURDIR}/../../../dev/aic7xxx/aic79xx_osm.h \ 29101131Sscottl ${.CURDIR}/../../../dev/aic7xxx/aic79xx.seq 30101131Sscottl 31101131SscottlSRCS= ${GENSRCS} 32101131SscottlSRCS+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c 33101131SscottlSRCS+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h 34101131SscottlSRCS+= device_if.h bus_if.h pci_if.h 35109708Sgibbs 36101131SscottlCLEANFILES= ${GENSRCS} 37101131Sscottl 38.include <bsd.kmod.mk> 39