freebsd-dev/sys/modules/3dfx/Makefile
Marcel Moolenaar 05c313d4ec Don't enable Linuxulator support if not on an i386.
PR: 20873
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
2000-08-28 03:17:49 +00:00

29 lines
609 B
Makefile

# $FreeBSD$
.PATH: $(.CURDIR)/../../dev/tdfx
MAINTAINER= cokane@FreeBSD.org
KMOD= 3dfx
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
CLEANFILES= pci.h
.if ${MACHINE_ARCH} == "i386"
# This line enables linux ioctl handling by default
# comment out if you don't want it
TDFX_OPTS= "\#define TDFX_LINUX"
.endif
# 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>