summaryrefslogtreecommitdiff
path: root/bsd/i810/Makefile
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2002-01-27 18:23:04 +0000
committerDavid Dawes <dawes@xfree86.org>2002-01-27 18:23:04 +0000
commit14945ada16218e9f918c24e0d702979fae9b07f6 (patch)
treea8a7ff9b78e8900730673e5a06b12a786004926e /bsd/i810/Makefile
parent16bd14926e02e4dbc6e74689bdb3eb90f30a0233 (diff)
Import of XFree86 4.2.0
Diffstat (limited to 'bsd/i810/Makefile')
-rw-r--r--bsd/i810/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/bsd/i810/Makefile b/bsd/i810/Makefile
new file mode 100644
index 00000000..c518c7ef
--- /dev/null
+++ b/bsd/i810/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+KMOD= i810
+NOMAN= YES
+SRCS= i810_drv.c i810_dma.c
+SRCS+= device_if.h bus_if.h pci_if.h opt_drm_linux.h
+CFLAGS+= ${DEBUG_FLAGS} -I. -I..
+
+@:
+ ln -sf /sys @
+
+machine:
+ ln -sf /sys/i386/include machine
+
+.if ${MACHINE_ARCH} == "i386"
+# This line enables linux ioctl handling
+# If you want support for this uncomment this line
+#I810_OPTS= "\#define DRM_LINUX" 1
+.endif
+
+opt_drm_linux.h:
+ touch opt_drm_linux.h
+ echo $(I810_OPTS) >> opt_drm_linux.h
+
+.include <bsd.kmod.mk>