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