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 \
9 drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.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 sis-objs := sis_drv.o sis_mm.o
19 savage-objs := savage_drv.o savage_bci.o savage_state.o
20 via-objs := via_irq.o via_drv.o via_map.o via_mm.o via_dma.o via_verifier.o via_video.o via_dmablit.o
22 ifeq ($(CONFIG_COMPAT),y)
23 drm-objs += drm_ioc32.o
24 radeon-objs += radeon_ioc32.o
25 mga-objs += mga_ioc32.o
26 r128-objs += r128_ioc32.o
27 i915-objs += i915_ioc32.o
30 obj-$(CONFIG_DRM) += drm.o
31 obj-$(CONFIG_DRM_TDFX) += tdfx.o
32 obj-$(CONFIG_DRM_R128) += r128.o
33 obj-$(CONFIG_DRM_RADEON)+= radeon.o
34 obj-$(CONFIG_DRM_MGA) += mga.o
35 obj-$(CONFIG_DRM_I810) += i810.o
36 obj-$(CONFIG_DRM_I830) += i830.o
37 obj-$(CONFIG_DRM_I915) += i915.o
38 obj-$(CONFIG_DRM_SIS) += sis.o
39 obj-$(CONFIG_DRM_SAVAGE)+= savage.o
40 obj-$(CONFIG_DRM_VIA) +=via.o