1998-10-16 04:30:52 +00:00
|
|
|
# $Id: Makefile,v 1.11 1998/02/25 01:40:55 bde Exp $
|
1996-05-07 23:19:49 +00:00
|
|
|
|
1998-10-16 04:30:52 +00:00
|
|
|
.PATH: ${.CURDIR}/../../i386/isa
|
|
|
|
KMOD = wcd
|
1998-01-24 02:21:53 +00:00
|
|
|
SRCS = wcd.c wdc.h wcd.h opt_atapi.h opt_devfs.h
|
1995-10-14 15:47:29 +00:00
|
|
|
NOMAN =
|
1998-02-01 17:53:56 +00:00
|
|
|
CFLAGS += -DWCD_MODULE
|
1998-02-25 01:40:55 +00:00
|
|
|
CLEANFILES += wdc.h wcd.h opt_atapi.h opt_devfs.h
|
1995-10-14 15:47:29 +00:00
|
|
|
|
|
|
|
load: ${PROG}
|
1996-10-06 22:17:16 +00:00
|
|
|
${MODLOAD} -u -e wcd $(PROG)
|
1995-10-14 15:47:29 +00:00
|
|
|
|
|
|
|
unload: ${PROG}
|
1996-10-06 22:17:16 +00:00
|
|
|
${MODUNLOAD} -n wcd
|
1995-10-14 15:47:29 +00:00
|
|
|
|
|
|
|
wdc.h:
|
|
|
|
echo "#define NWDC 2" > wdc.h
|
|
|
|
echo "#define NWD 4" >> wdc.h
|
|
|
|
|
|
|
|
wcd.h:
|
|
|
|
echo "#define NWCD 1" > wcd.h
|
|
|
|
|
1996-09-06 23:32:55 +00:00
|
|
|
opt_atapi.h:
|
|
|
|
echo "#define ATAPI 1"> opt_atapi.h
|
|
|
|
|
1998-01-24 02:21:53 +00:00
|
|
|
opt_devfs.h:
|
|
|
|
touch opt_devfs.h
|
|
|
|
|
1995-10-14 15:47:29 +00:00
|
|
|
.include <bsd.kmod.mk>
|