2000-05-30 11:13:31 -06:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2002-01-27 13:05:42 -07:00
|
|
|
KMOD= tdfx
|
|
|
|
NOMAN= YES
|
|
|
|
SRCS= tdfx_drv.c
|
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h opt_drm_linux.h
|
|
|
|
CFLAGS+= ${DEBUG_FLAGS} -I. -I..
|
2000-05-30 11:13:31 -06:00
|
|
|
|
|
|
|
@:
|
|
|
|
ln -sf /sys @
|
|
|
|
|
|
|
|
machine:
|
|
|
|
ln -sf /sys/i386/include machine
|
|
|
|
|
2002-01-27 13:05:42 -07:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
# This line enables linux ioctl handling
|
|
|
|
# If you want support for this uncomment this line
|
|
|
|
#TDFX_OPTS= "\#define DRM_LINUX" 1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
opt_drm_linux.h:
|
|
|
|
touch opt_drm_linux.h
|
|
|
|
echo $(TDFX_OPTS) >> opt_drm_linux.h
|
|
|
|
|
2000-06-13 11:38:09 -06:00
|
|
|
.include <bsd.kmod.mk>
|