blob: 0d8342901bd5efd57fae3fd85e1328158a68ce25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: Makefile,v 1.10 1998/02/01 17:53:56 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = wcd_mod
SRCS = wcd.c wdc.h wcd.h opt_atapi.h opt_devfs.h
NOMAN =
CFLAGS += -DWCD_MODULE
CLEANFILES += wdc.h wcd.h opt_atapi.h opt_devfs.h
load: ${PROG}
${MODLOAD} -u -e wcd $(PROG)
unload: ${PROG}
${MODUNLOAD} -n wcd
wdc.h:
echo "#define NWDC 2" > wdc.h
echo "#define NWD 4" >> wdc.h
wcd.h:
echo "#define NWCD 1" > wcd.h
opt_atapi.h:
echo "#define ATAPI 1"> opt_atapi.h
opt_devfs.h:
touch opt_devfs.h
.include <bsd.kmod.mk>
|