2 # Makefile for the drm device driver. This driver provides support for the
3 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
5 drm-objs := drm_auth.o drm_bufs.o drm_context.o drm_dma.o drm_drawable.o \
6 drm_drv.o drm_fops.o drm_init.o drm_ioctl.o drm_irq.o \
7 drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
8 drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
11 gamma-objs := gamma_drv.o gamma_dma.o
12 tdfx-objs := tdfx_drv.o
13 r128-objs := r128_drv.o r128_cce.o r128_state.o r128_irq.o
14 mga-objs := mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o
15 i810-objs := i810_drv.o i810_dma.o
16 i830-objs := i830_drv.o i830_dma.o i830_irq.o
17 i915-objs := i915_drv.o i915_dma.o i915_irq.o i915_mem.o
18 radeon-objs := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o radeon_irq.o
19 ffb-objs := ffb_drv.o ffb_context.o
20 sis-objs := sis_drv.o sis_ds.o sis_mm.o
21 via-objs := via_irq.o via_drv.o via_ds.o via_map.o via_mm.o via_dma.o via_verifier.o via_video.o
23 ifeq ($(CONFIG_COMPAT),y)
24 drm-objs += drm_ioc32.o
25 radeon-objs += radeon_ioc32.o
26 mga-objs += mga_ioc32.o
27 r128-objs += r128_ioc32.o
28 i915-objs += i915_ioc32.o
31 obj-$(CONFIG_DRM) += drm.o
32 obj-$(CONFIG_DRM_GAMMA) += gamma.o
33 obj-$(CONFIG_DRM_TDFX) += tdfx.o
34 obj-$(CONFIG_DRM_R128) += r128.o
35 obj-$(CONFIG_DRM_RADEON)+= radeon.o
36 obj-$(CONFIG_DRM_MGA) += mga.o
37 obj-$(CONFIG_DRM_I810) += i810.o
38 obj-$(CONFIG_DRM_I830) += i830.o
39 obj-$(CONFIG_DRM_I915) += i915.o
40 obj-$(CONFIG_DRM_FFB) += ffb.o
41 obj-$(CONFIG_DRM_SIS) += sis.o
42 obj-$(CONFIG_DRM_VIA) +=via.o