blob: 1283ded88ead726231924cc6c26868be6a85aa95 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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.
4
5drm-objs := drm_auth.o drm_bufs.o drm_context.o drm_dma.o drm_drawable.o \
Dave Airlie3f9df542005-11-10 22:28:56 +11006 drm_drv.o drm_fops.o drm_ioctl.o drm_irq.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 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 \
Thomas Hellstrom3a1bd922006-08-07 21:30:28 +10009 drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Linus Torvalds1da177e2005-04-16 15:20:36 -070011tdfx-objs := tdfx_drv.o
12r128-objs := r128_drv.o r128_cce.o r128_state.o r128_irq.o
13mga-objs := mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o
14i810-objs := i810_drv.o i810_dma.o
15i830-objs := i830_drv.o i830_dma.o i830_irq.o
16i915-objs := i915_drv.o i915_dma.o i915_irq.o i915_mem.o
Dave Airlie414ed532005-08-16 20:43:16 +100017radeon-objs := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o radeon_irq.o r300_cmdbuf.o
Thomas Hellstromce65a442006-08-07 22:03:22 +100018sis-objs := sis_drv.o sis_mm.o
Dave Airlie282a1672005-08-07 15:43:54 +100019savage-objs := savage_drv.o savage_bci.o savage_state.o
Thomas Hellstromce65a442006-08-07 22:03:22 +100020via-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
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Dave Airlie9a186642005-06-23 21:29:18 +100022ifeq ($(CONFIG_COMPAT),y)
23drm-objs += drm_ioc32.o
24radeon-objs += radeon_ioc32.o
Dave Airlie8ca7c1d2005-07-07 21:51:26 +100025mga-objs += mga_ioc32.o
26r128-objs += r128_ioc32.o
27i915-objs += i915_ioc32.o
Dave Airlie9a186642005-06-23 21:29:18 +100028endif
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030obj-$(CONFIG_DRM) += drm.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070031obj-$(CONFIG_DRM_TDFX) += tdfx.o
32obj-$(CONFIG_DRM_R128) += r128.o
33obj-$(CONFIG_DRM_RADEON)+= radeon.o
34obj-$(CONFIG_DRM_MGA) += mga.o
35obj-$(CONFIG_DRM_I810) += i810.o
36obj-$(CONFIG_DRM_I830) += i830.o
37obj-$(CONFIG_DRM_I915) += i915.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_DRM_SIS) += sis.o
Dave Airlie282a1672005-08-07 15:43:54 +100039obj-$(CONFIG_DRM_SAVAGE)+= savage.o
Dave Airlie22f579c2005-06-28 22:48:56 +100040obj-$(CONFIG_DRM_VIA) +=via.o