summaryrefslogtreecommitdiff
path: root/bsd/radeon/Makefile
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2002-02-12 01:22:13 +0000
committerDavid Dawes <dawes@xfree86.org>2002-02-12 01:22:13 +0000
commit2b56c96e70ca4f418105826c440132c7187617e9 (patch)
treecb6bea241632587877c5413bae91b08a1f3cef4e /bsd/radeon/Makefile
parent5d20d2c1d4461a617cabf14a5110de1f1c8023a4 (diff)
Initial merge of trunk into mesa-4-0 branch.
Diffstat (limited to 'bsd/radeon/Makefile')
-rw-r--r--bsd/radeon/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/bsd/radeon/Makefile b/bsd/radeon/Makefile
new file mode 100644
index 00000000..b1d77bf4
--- /dev/null
+++ b/bsd/radeon/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+KMOD = radeon
+NOMAN= YES
+SRCS = radeon_cp.c radeon_drv.c radeon_state.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
+#RADEON_OPTS= "\#define DRM_LINUX" 1
+.endif
+
+opt_drm_linux.h:
+ touch opt_drm_linux.h
+ echo $(RADEON_OPTS) >> opt_drm_linux.h
+
+.include <bsd.kmod.mk>