The Makefiles for the modules for the USB device drivers.

Finally.
This commit is contained in:
Nick Hibma 1999-10-07 21:23:08 +00:00
parent 33ccf7c7a9
commit 2592a72537
8 changed files with 169 additions and 0 deletions

View File

@ -10,6 +10,7 @@ SUBDIR= aha al ax ccd cd9660 coda dm fdesc fxp if_disc if_ppp if_sl if_tun \
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=amr bktr coff fpu gnufpu ibcs2 linux mlx ncp nwfs splash streams \
svr4 syscons vesa vinum
SUBDIR+=ugen uhid ukbd ulpt ums umodem umass
.endif
.include <bsd.subdir.mk>

22
sys/modules/ugen/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../dev/usb
.PATH: ${SOURCE}
KMOD = ugen_mod
SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h ugen.c
NOMAN =
CFLAGS += -g -O
CLEANFILES += bus_if.h device_if.h vnode_if.h opt_usb.h \
vnode_if.c
opt_usb.h:
echo > opt_usb.h
bus_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
.include <bsd.kmod.mk>

22
sys/modules/uhid/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../dev/usb
.PATH: ${SOURCE}
KMOD = uhid_mod
SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h uhid.c
NOMAN =
CFLAGS += -g -O
CLEANFILES += bus_if.h device_if.h vnode_if.h opt_usb.h \
vnode_if.c
opt_usb.h:
echo > opt_usb.h
bus_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
.include <bsd.kmod.mk>

29
sys/modules/ukbd/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../dev/usb
.PATH: ${SOURCE}
KMOD = ukbd_mod
SRCS = bus_if.h device_if.h vnode_if.h \
opt_usb.h ukbd.h opt_kbd.h \
ukbd.c
NOMAN =
CFLAGS += -g -O
CLEANFILES += bus_if.h device_if.h vnode_if.h \
opt_usb.h ukbd.h opt_ukbd.h \
vnode_if.c
opt_usb.h:
echo > opt_usb.h
ukbd.h:
echo > ukbd.h
opt_kbd.h:
echo '#define KBD_INSTALL_CDEV 1' > opt_kbd.h
bus_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
.include <bsd.kmod.mk>

22
sys/modules/ulpt/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../dev/usb
.PATH: ${SOURCE}
KMOD = ulpt_mod
SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h ulpt.c
NOMAN =
CFLAGS += -g -O
CLEANFILES += bus_if.h device_if.h vnode_if.h opt_usb.h \
vnode_if.c
opt_usb.h:
echo >opt_usb.h
bus_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
.include <bsd.kmod.mk>

View File

@ -0,0 +1,29 @@
# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../dev/usb
.PATH: ${SOURCE}
KMOD = umass_mod
SRCS = bus_if.h device_if.h vnode_if.h \
opt_usb.h opt_cam.h opt_scsi.h \
umass.c
NOMAN =
CFLAGS += -g -O
CLEANFILES += bus_if.h device_if.h vnode_if.h \
opt_usb.h opt_cam.h opt_scsi.h \
vnode_if.c
opt_usb.h:
echo > opt_usb.h
opt_scsi.h:
echo '#define SCSI_DELAY 15000' > opt_scsi.h
opt_cam.h:
echo > opt_cam.h
bus_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
.include <bsd.kmod.mk>

View File

@ -0,0 +1,22 @@
# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../dev/usb
.PATH: ${SOURCE}
KMOD = umodem_mod
SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h umodem.c
NOMAN =
CFLAGS += -g -O
CLEANFILES += bus_if.h device_if.h vnode_if.h opt_usb.h \
vnode_if.c
opt_usb.h:
echo > opt_usb.h
bus_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
.include <bsd.kmod.mk>

22
sys/modules/ums/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../dev/usb
.PATH: ${SOURCE}
KMOD = ums_mod
SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h ums.c
NOMAN =
CFLAGS += -g -O
CLEANFILES += bus_if.h device_if.h vnode_if.h opt_usb.h \
vnode_if.c
opt_usb.h:
echo > opt_usb.h
bus_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m
.include <bsd.kmod.mk>