5 .PATH: ${.CURDIR}/../../dev/dpt
7 SRCS= dpt_scsi.c dpt.h \
10 opt_cam.h opt_scsi.h \
13 .if ${MK_EISA} == "no"
14 # Create an empty opt_eisa.h in order to keep kmod.mk from linking in an
15 # existing one from KERNBUILDDIR which possibly has DEV_EISA defined so
16 # dpt.ko is always built without EISA support.
20 .if !defined(KERNBUILDDIR)
21 SRCS+= dpt_eisa.c eisa_if.h
22 #SRCS+= dpt_isa.c isa_if.h
25 echo "#define DEV_EISA 1" > ${.TARGET}
27 DEV_EISA!= sed -n '/DEV_EISA/p' ${KERNBUILDDIR}/opt_eisa.h
29 SRCS+= dpt_eisa.c eisa_if.h
31 #SRCS+= dpt_isa.c isa_if.h
35 .include <bsd.kmod.mk>