Import 2.3.18pre1
[davej-history.git] / drivers / char / drm / Makefile
blobd72b726c09fabcaa7384c350cf1811194411f743
2 # Makefile for the drm device driver. This driver provides support for
3 # the Direct Rendering Infrastructure (DRI) in XFree86 4.x.
5 # Note! Dependencies are done automagically by 'make dep', which also
6 # removes any old dependencies. DON'T put your own dependencies here
7 # unless it's something special (ie not a .c file).
9 # Note 2! The CFLAGS definitions are now inherited from the
10 # parent makes..
13 L_TARGET := libdrm.a
15 L_OBJS := init.o memory.o proc.o auth.o context.o drawable.o bufs.o \
16 lists.o lock.o ioctl.o fops.o vm.o dma.o
18 M_OBJS :=
20 ifdef CONFIG_DRM_GAMMA
21 M_OBJS += gamma.o
22 endif
24 include $(TOPDIR)/Rules.make
26 gamma.o: gamma_drv.o gamma_dma.o $(L_TARGET)
27 $(LD) $(LD_RFLAG) -r -o $@ gamma_drv.o gamma_dma.o -L. -ldrm