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_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 tdfx-objs := tdfx_drv.o
12 r128-objs := r128_drv.o r128_cce.o r128_state.o r128_irq.o
13 mga-objs := mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o
14 i810-objs := i810_drv.o i810_dma.o
15 i830-objs := i830_drv.o i830_dma.o i830_irq.o
16 i915-objs := i915_drv.o i915_dma.o i915_irq.o i915_mem.o
17 radeon-objs := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o radeon_irq.o r300_cmdbuf.o
18 ffb-objs := ffb_drv.o ffb_context.o
19 sis-objs := sis_drv.o sis_ds.o sis_mm.o
20 savage-objs := savage_drv.o savage_bci.o savage_state.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 via_dmablit.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_TDFX) += tdfx.o
33 obj-$(CONFIG_DRM_R128) += r128.o
34 obj-$(CONFIG_DRM_RADEON)+= radeon.o
35 obj-$(CONFIG_DRM_MGA) += mga.o
36 obj-$(CONFIG_DRM_I810) += i810.o
37 obj-$(CONFIG_DRM_I830) += i830.o
38 obj-$(CONFIG_DRM_I915) += i915.o
39 obj-$(CONFIG_DRM_FFB) += ffb.o
40 obj-$(CONFIG_DRM_SIS) += sis.o
41 obj-$(CONFIG_DRM_SAVAGE)+= savage.o
42 obj-$(CONFIG_DRM_VIA) +=via.o