blob: f1898cd9659739fa6c613b0d979633220d9df454 [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 \
9 drm_sysfs.o
10
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070018ffb-objs := ffb_drv.o ffb_context.o
19sis-objs := sis_drv.o sis_ds.o sis_mm.o
Dave Airlie282a1672005-08-07 15:43:54 +100020savage-objs := savage_drv.o savage_bci.o savage_state.o
Dave Airlie22f579c2005-06-28 22:48:56 +100021via-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
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
Dave Airlie9a186642005-06-23 21:29:18 +100023ifeq ($(CONFIG_COMPAT),y)
24drm-objs += drm_ioc32.o
25radeon-objs += radeon_ioc32.o
Dave Airlie8ca7c1d2005-07-07 21:51:26 +100026mga-objs += mga_ioc32.o
27r128-objs += r128_ioc32.o
28i915-objs += i915_ioc32.o
Dave Airlie9a186642005-06-23 21:29:18 +100029endif
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031obj-$(CONFIG_DRM) += drm.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070032obj-$(CONFIG_DRM_TDFX) += tdfx.o
33obj-$(CONFIG_DRM_R128) += r128.o
34obj-$(CONFIG_DRM_RADEON)+= radeon.o
35obj-$(CONFIG_DRM_MGA) += mga.o
36obj-$(CONFIG_DRM_I810) += i810.o
37obj-$(CONFIG_DRM_I830) += i830.o
38obj-$(CONFIG_DRM_I915) += i915.o
39obj-$(CONFIG_DRM_FFB) += ffb.o
40obj-$(CONFIG_DRM_SIS) += sis.o
Dave Airlie282a1672005-08-07 15:43:54 +100041obj-$(CONFIG_DRM_SAVAGE)+= savage.o
Dave Airlie22f579c2005-06-28 22:48:56 +100042obj-$(CONFIG_DRM_VIA) +=via.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070043
Dave Airlie282a1672005-08-07 15:43:54 +100044