config root man

Current Path : /sys/modules/dpt/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //sys/modules/dpt/Makefile

# $FreeBSD: release/9.1.0/sys/modules/dpt/Makefile 168600 2007-04-10 20:33:31Z marius $
#

.PATH:	${.CURDIR}/../../dev/dpt
KMOD=	dpt
SRCS=	dpt_scsi.c dpt.h \
	dpt_pci.c pci_if.h \
	opt_dpt.h opt_eisa.h \
	opt_cam.h opt_scsi.h \
	device_if.h bus_if.h

.if ${MACHINE} != "i386"
# Create an empty opt_eisa.h in order to keep kmod.mk from linking in an
# existing one from KERNBUILDDIR which possibly has DEV_EISA defined so
# dpt.ko is always built without EISA support.
opt_eisa.h:
	:> ${.TARGET}
.else
.if !defined(KERNBUILDDIR)
SRCS+=	dpt_eisa.c eisa_if.h
#SRCS+=	dpt_isa.c isa_if.h

opt_eisa.h:
	echo "#define DEV_EISA 1" > ${.TARGET}
.else
DEV_EISA!= sed -n '/DEV_EISA/p' ${KERNBUILDDIR}/opt_eisa.h
.if !empty(DEV_EISA)
SRCS+=	dpt_eisa.c eisa_if.h
.endif
#SRCS+=	dpt_isa.c isa_if.h
.endif
.endif

.include <bsd.kmod.mk>

Man Man