freebsd-dev/sys/modules/wcd/Makefile
Peter Wemm a654d07295 Sample initial set of kld-ified modules. Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
1998-10-16 04:30:52 +00:00

30 lines
606 B
Makefile

# $Id: Makefile,v 1.11 1998/02/25 01:40:55 bde Exp $
.PATH: ${.CURDIR}/../../i386/isa
KMOD = wcd
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>