1
| 1
|
2# $FreeBSD: head/sys/modules/aic7xxx/ahc/Makefile 106389 2002-11-03 23:48:14Z scottl $
| 2# $FreeBSD: head/sys/modules/aic7xxx/ahc/Makefile 109708 2003-01-22 21:56:54Z gibbs $
|
3 4.PATH: ${.CURDIR}/../../../dev/aic7xxx 5KMOD= ahc 6SUBDIR= ahc_eisa ahc_pci 7
| 3 4.PATH: ${.CURDIR}/../../../dev/aic7xxx 5KMOD= ahc 6SUBDIR= ahc_eisa ahc_pci 7
|
8BEFORE_DEPEND= aic7xxx_{seq,reg}.h
| 8GENSRCS= aic7xxx_{seq,reg}.h 9AHC_REG_PRETTY_PRINT=1 10REG_PRINT_OPT= 11.ifdef AHC_REG_PRETTY_PRINT 12GENSRCS+= aic7xxx_reg_print.c 13CFLAGS+= -DAHC_REG_PRETTY_PRINT=1 14REG_PRINT_OPT= -p aic7xxx_reg_print.c 15.endif 16BEFORE_DEPEND = ${GENSRCS}
|
9
| 17
|
10../aicasm/aicasm:
| 18../aicasm/aicasm: ${.CURDIR}/../../../dev/aci7xxx/aicasm/*.[chyl]
|
11 ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; ) 12
| 19 ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; ) 20
|
13aic7xxx_{seq.h,reg.h,reg_print.c}: \ 14 ${.CURDIR}/../../../dev/aic7xxx/aic7xxx.{reg,seq} \
| 21${GENSRCS}: \ 22 ${.CURDIR}/../../../dev/aic7xxx/aic7xxx.{reg,seq} \
|
15 ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm 16 ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \ 17 -I${.CURDIR}/../../../dev/aic7xxx \ 18 -o aic7xxx_seq.h -r aic7xxx_reg.h \
| 23 ${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm 24 ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \ 25 -I${.CURDIR}/../../../dev/aic7xxx \ 26 -o aic7xxx_seq.h -r aic7xxx_reg.h \
|
19 -p aic7xxx_reg_print.c \
| 27 ${REG_PRINT_OPT} \
|
20 -i ${.CURDIR}/../../../dev/aic7xxx/aic7xxx_osm.h \ 21 ${.CURDIR}/../../../dev/aic7xxx/aic7xxx.seq 22
| 28 -i ${.CURDIR}/../../../dev/aic7xxx/aic7xxx_osm.h \ 29 ${.CURDIR}/../../../dev/aic7xxx/aic7xxx.seq 30
|
23GENSRCS= aic7xxx_reg.h aic7xxx_seq.h 24 25AHC_REG_PRETTY_PRINT=1
| |
26SRCS= ${GENSRCS}
| 31SRCS= ${GENSRCS}
|
27.ifdef AHC_REG_PRETTY_PRINT 28SRCS+= aic7xxx_reg_print.c 29CFLAGS+= -DAHC_REG_PRETTY_PRINT=1 30.endif
| |
31SRCS+= aic7xxx.c aic7xxx_93cx6.c aic7xxx_osm.c 32SRCS+= opt_scsi.h opt_aic7xxx.h opt_cam.h 33SRCS+= device_if.h bus_if.h pci_if.h 34
| 32SRCS+= aic7xxx.c aic7xxx_93cx6.c aic7xxx_osm.c 33SRCS+= opt_scsi.h opt_aic7xxx.h opt_cam.h 34SRCS+= device_if.h bus_if.h pci_if.h 35
|
35CLEANFILES= ${GENSRCS} aic7xxx_reg_print.c
| 36CLEANFILES= ${GENSRCS}
|
36 37.include <bsd.kmod.mk>
| 37 38.include <bsd.kmod.mk>
|