patch-2.2.18 linux/drivers/char/agp/Makefile

Next file: linux/drivers/char/agp/agp.h
Previous file: linux/drivers/char/README.computone
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/agp/Makefile linux/drivers/char/agp/Makefile
@@ -0,0 +1,22 @@
+#
+# Makefile for the agpgart device driver.  This driver adds a user
+# space ioctl interface to use agp memory.  It also adds a kernel interface
+# that other drivers could use to manipulate agp memory.
+
+O_TARGET	:= agp.o
+
+ifeq ($(CONFIG_AGP),y)
+  O_OBJS += agpgart_fe.o
+  OX_OBJS += agpgart_be.o
+else
+  ifeq ($(CONFIG_AGP), m)
+    MI_OBJS += agpgart_fe.o
+    MIX_OBJS += agpgart_be.o
+    M_OBJS += agpgart.o
+  endif
+endif
+
+include $(TOPDIR)/Rules.make
+
+agpgart.o: agpgart_be.o agpgart_fe.o
+	$(LD) $(LD_RFLAG) -r -o $@ agpgart_be.o agpgart_fe.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)