2002-08-01 01:36:39 +00:00
|
|
|
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../../dev/aic7xxx
|
|
|
|
KMOD= ahc
|
|
|
|
SUBDIR= ahc_eisa ahc_pci
|
|
|
|
|
|
|
|
BEFORE_DEPEND= aic7xxx_{seq,reg}.h
|
|
|
|
|
|
|
|
../aicasm/aicasm:
|
|
|
|
( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; )
|
|
|
|
|
2002-08-31 06:57:50 +00:00
|
|
|
aic7xxx_{seq.h,reg.h,reg_print.c}: \
|
|
|
|
${.CURDIR}/../../../dev/aic7xxx/aic7xxx.{reg,seq} \
|
|
|
|
${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm
|
|
|
|
${.OBJDIR}/../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \
|
|
|
|
-I${.CURDIR}/../../../dev/aic7xxx \
|
|
|
|
-o aic7xxx_seq.h -r aic7xxx_reg.h \
|
|
|
|
-p aic7xxx_reg_print.c \
|
|
|
|
-i ${.CURDIR}/../../../dev/aic7xxx/aic7xxx_osm.h \
|
|
|
|
${.CURDIR}/../../../dev/aic7xxx/aic7xxx.seq
|
2002-08-01 01:36:39 +00:00
|
|
|
|
|
|
|
GENSRCS= aic7xxx_reg.h aic7xxx_seq.h
|
|
|
|
|
2002-08-31 06:57:50 +00:00
|
|
|
AHC_REG_PRETTY_PRINT=1
|
2002-08-01 01:36:39 +00:00
|
|
|
SRCS= ${GENSRCS}
|
2002-08-31 06:57:50 +00:00
|
|
|
.ifdef AHC_REG_PRETTY_PRINT
|
|
|
|
SRCS+= aic7xxx_reg_print.c
|
|
|
|
CFLAGS+= -DAHC_REG_PRETTY_PRINT=1
|
|
|
|
.endif
|
2002-08-01 01:36:39 +00:00
|
|
|
SRCS+= aic7xxx.c aic7xxx_93cx6.c aic7xxx_osm.c
|
|
|
|
SRCS+= opt_scsi.h opt_aic7xxx.h opt_cam.h
|
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
|
|
|
|
2002-08-31 06:57:50 +00:00
|
|
|
CLEANFILES= ${GENSRCS} aic7xxx_reg_print.c
|
2002-08-01 01:36:39 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|