Makefile revision 109708
1101131Sscottl 2101131Sscottl# $FreeBSD: head/sys/modules/aic7xxx/ahd/Makefile 109708 2003-01-22 21:56:54Z gibbs $ 3101131Sscottl 4101131Sscottl.PATH: ${.CURDIR}/../../../dev/aic7xxx 5101131SscottlKMOD= ahd 6101131Sscottl 7109708SgibbsGENSRCS= aic79xx_{seq,reg}.h 8109708SgibbsREG_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} 16101131Sscottl 17109708Sgibbs../aicasm/aicasm: ${.CURDIR}/../../../dev/aic7xxx/aicasm/*.[chyl] 18101131Sscottl ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; ) 19101131Sscottl 20109708Sgibbs${GENSRCS}: \ 21109708Sgibbs ${.CURDIR}/../../../dev/aic7xxx/aic79xx.{reg,seq} \ 22102690Sgibbs ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm 23106389Sscottl ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \ 24102690Sgibbs -I${.CURDIR}/../../../dev/aic7xxx \ 25102690Sgibbs -o aic79xx_seq.h -r aic79xx_reg.h \ 26109708Sgibbs ${REG_PRINT_OPT} \ 27102690Sgibbs -i ${.CURDIR}/../../../dev/aic7xxx/aic79xx_osm.h \ 28102690Sgibbs ${.CURDIR}/../../../dev/aic7xxx/aic79xx.seq 29101131Sscottl 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 35109708SgibbsCLEANFILES= ${GENSRCS} 36101131Sscottl 37101131Sscottl.include <bsd.kmod.mk> 38