From 87f09e1a3bfae4c6b716ba3355579b652326d8c8 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Wed, 21 Jan 2004 13:24:39 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'RELENG_4'. --- sys/modules/cam/Makefile | 35 +++++++++++++++++++++++++++++++++++ sys/modules/cx/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ sys/modules/umct/Makefile | 9 +++++++++ 3 files changed, 82 insertions(+) create mode 100644 sys/modules/cam/Makefile create mode 100644 sys/modules/cx/Makefile create mode 100644 sys/modules/umct/Makefile (limited to 'sys/modules') diff --git a/sys/modules/cam/Makefile b/sys/modules/cam/Makefile new file mode 100644 index 000000000000..48913cc69aa6 --- /dev/null +++ b/sys/modules/cam/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +MAINTAINER= n_hibma@freebsd.org +S= ${.CURDIR}/../.. + +.PATH: $S/cam $S/cam/scsi + +KMOD= cam + +# See sys/conf/options for the flags that go into the different opt_*.h files. +SRCS= opt_cam.h +SRCS+= opt_scsi.h +SRCS+= opt_cd.h +SRCS+= opt_da.h +SRCS+= opt_hw_wdog.h +SRCS+= opt_pt.h +SRCS+= opt_sa.h +SRCS+= opt_ses.h +SRCS+= device_if.h bus_if.h vnode_if.h +SRCS+= cam.c cam_periph.c cam_queue.c +SRCS+= cam_sim.c cam_xpt.c +SRCS+= scsi_all.c scsi_cd.c scsi_ch.c +SRCS+= scsi_da.c +SRCS+= scsi_pass.c +SRCS+= scsi_pt.c +SRCS+= scsi_sa.c +SRCS+= scsi_ses.c +SRCS+= scsi_targ_bh.c scsi_target.c + +EXPORT_SYMS= YES # XXX evaluate + +opt_scsi.h: + echo "#define SCSI_DELAY 15000" > ${.TARGET} + +.include diff --git a/sys/modules/cx/Makefile b/sys/modules/cx/Makefile new file mode 100644 index 000000000000..eb713d063b02 --- /dev/null +++ b/sys/modules/cx/Makefile @@ -0,0 +1,38 @@ +# Cronyx Id: sys.modules.cx.Makefile,v 1.1.2.2 2003/01/21 15:15:49 rik Exp $ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/cx +KMOD= if_cx +SRCS= if_cx.c cxddk.c csigma.c opt_netgraph.h opt_ng_cronyx.h bpf.h \ + sppp.h device_if.h bus_if.h isa_if.h + +NBPF?= 0 +PROTOS?= -DINET +NG_CRONYX?= 0 +NETGRAPH= ${NG_CRONYX} + + +CFLAGS+= ${PROTOS} +CLEANFILES+= opt_ng_cronyx.h opt_netgraph.h bpf.h cxddk.c csigma.c sppp.h + +opt_netgraph.h: + echo "#define NETGRAPH $(NETGRAPH)" > opt_netgraph.h + +opt_ng_cronyx.h: +.if ${NG_CRONYX} != 0 + echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h +.else + echo "" > opt_ng_cronyx.h +.endif + +sppp.h: +.if ${NG_CRONYX} == 0 + echo "#define NSPPP 1" > sppp.h +.else + echo "#define NSPPP 0" > sppp.h +.endif + +bpf.h: + echo "#define NBPF ${NBPF}" > bpf.h + +.include diff --git a/sys/modules/umct/Makefile b/sys/modules/umct/Makefile new file mode 100644 index 000000000000..f2e88fa0a209 --- /dev/null +++ b/sys/modules/umct/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +S= ${.CURDIR}/../.. +.PATH: $S/dev/usb + +KMOD= umct +SRCS= umct.c ucomvar.h opt_usb.h device_if.h bus_if.h vnode_if.h + +.include -- cgit v1.3