freebsd-skq/lkm/atapi/Makefile
bde c9dfcc430a Don't handle the `machine' symlink or related include paths here.
bsd.kmod.mk now handles it more generally.
1998-02-01 17:53:56 +00:00

31 lines
753 B
Makefile

# $Id: Makefile,v 1.9 1997/08/07 13:23:31 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = atapi_mod
SRCS = atapi.c wdc.h opt_atapi.h #wcd.h
NOMAN =
CFLAGS += -DATAPI_MODULE
CLEANFILES += $(KMOD) wdc.h wcd.h opt_atapi.h *.b
EXPORT_SYMS = _atapi_mod _atapi_debug_ptr _atapi_intr_ptr \
_atapi_request_callback_ptr _atapi_request_immediate_ptr \
_atapi_request_wait_ptr _atapi_start_ptr
load: ${PROG}
${MODLOAD} -u -e atapi_mod $(PROG)
unload: ${PROG}
${MODUNLOAD} -n atapi
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
.include <bsd.kmod.mk>