4 .PATH: ${.CURDIR}/../../dev/dpt
6 SRCS= dpt_scsi.c dpt.h \
12 .if ${MACHINE} != "i386"
13 # Create an empty opt_eisa.h in order to keep kmod.mk from linking in an
14 # existing one from KERNBUILDDIR which possibly has DEV_EISA defined so
15 # dpt.ko is always built without EISA support.
19 .if !defined(KERNBUILDDIR)
20 SRCS+= dpt_eisa.c eisa_if.h
21 #SRCS+= dpt_isa.c isa_if.h
24 echo "#define DEV_EISA 1" > ${.TARGET}
26 DEV_EISA!= sed -n '/DEV_EISA/p' ${KERNBUILDDIR}/opt_eisa.h
28 SRCS+= dpt_eisa.c eisa_if.h
30 #SRCS+= dpt_isa.c isa_if.h
34 .include <bsd.kmod.mk>