freebsd-dev/sys/modules/3dfx/Makefile
Coleman Kane 0debd63a71 Finish up the fixing of the linux ioctl stuff. Add line to remove the dev
entry upon unload.

Fix the module makefile.
2000-06-23 05:54:26 +00:00

23 lines
504 B
Makefile

# $FreeBSD$
.PATH: $(.CURDIR)/../../dev/tdfx
KMOD = tdfx
NOMAN = YES
SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
tdfx_vars.h tdfx_pci.c
INCSRC = ../../sys
# This line enables linux ioctl handling by default
# comment out if you don't want it
TDFX_OPTS = "\#define TDFX_LINUX"
# Uncomment this for debugging messages
#CFLAGS += -DDEBUG
pci.h:
echo "#define NPCI 1" > pci.h
opt_tdfx.h:
touch opt_tdfx.h
echo $(TDFX_OPTS) >> opt_tdfx.h
.include <bsd.kmod.mk>