summaryrefslogtreecommitdiff
path: root/linux/Makefile.kernel
diff options
context:
space:
mode:
authorDaryll Strauss <daryll@users.sourceforge.net>1999-12-05 23:10:37 +0000
committerDaryll Strauss <daryll@users.sourceforge.net>1999-12-05 23:10:37 +0000
commitb6a28bfe98f2c89cfb91079bd3c7b63fb0144eb1 (patch)
tree23f9527b5ef5e99277c0c5f1e7d896abdb69a33a /linux/Makefile.kernel
parenta8ab34ed47c1880b1206812c9b1b8312cd7a3357 (diff)
First DRI release of 3dfx driver.
Diffstat (limited to 'linux/Makefile.kernel')
-rw-r--r--linux/Makefile.kernel28
1 files changed, 28 insertions, 0 deletions
diff --git a/linux/Makefile.kernel b/linux/Makefile.kernel
new file mode 100644
index 00000000..c286d8fd
--- /dev/null
+++ b/linux/Makefile.kernel
@@ -0,0 +1,28 @@
+#
+# Makefile for the drm device driver. This driver provides support for
+# the Direct Rendering Infrastructure (DRI) in XFree86 4.x.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definitions are now inherited from the
+# parent makes..
+#
+# $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Makefile.kernel,v 1.2 1999/09/27 14:59:24 dawes Exp $
+
+L_TARGET := libdrm.a
+
+L_OBJS := init.o memory.o proc.o auth.o context.o drawable.o bufs.o \
+ lists.o lock.o ioctl.o fops.o vm.o dma.o
+
+M_OBJS :=
+
+ifdef CONFIG_DRM_GAMMA
+M_OBJS += gamma.o
+endif
+
+include $(TOPDIR)/Rules.make
+
+gamma.o: gamma_drv.o gamma_dma.o $(L_TARGET)
+ $(LD) $(LD_RFLAG) -r -o $@ gamma_drv.o gamma_dma.o -L. -ldrm