Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 1 | # |
| 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 | |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 5 | ccflags-y := -Iinclude/drm -DCONFIG_NOUVEAU_DEBUG=7 -DCONFIG_NOUVEAU_DEBUG_DEFAULT=3 |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 6 | ccflags-y += -I$(src)/core/include |
| 7 | ccflags-y += -I$(src) |
| 8 | |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 9 | nouveau-y := core/core/client.o |
| 10 | nouveau-y += core/core/engine.o |
Ben Skeggs | 861d210 | 2012-07-11 19:05:01 +1000 | [diff] [blame^] | 11 | nouveau-y += core/core/enum.o |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 12 | nouveau-y += core/core/handle.o |
| 13 | nouveau-y += core/core/mm.o |
| 14 | nouveau-y += core/core/namedb.o |
| 15 | nouveau-y += core/core/object.o |
| 16 | nouveau-y += core/core/option.o |
| 17 | nouveau-y += core/core/parent.o |
| 18 | nouveau-y += core/core/printk.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 19 | nouveau-y += core/core/ramht.o |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 20 | nouveau-y += core/core/subdev.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 21 | |
Ben Skeggs | 70c0f26 | 2012-07-10 10:49:22 +1000 | [diff] [blame] | 22 | nouveau-y += core/subdev/bios/base.o |
| 23 | nouveau-y += core/subdev/bios/bit.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 24 | nouveau-y += core/subdev/bios/conn.o |
Ben Skeggs | e0996ae | 2012-07-10 12:20:17 +1000 | [diff] [blame] | 25 | nouveau-y += core/subdev/bios/dcb.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 26 | nouveau-y += core/subdev/bios/dp.o |
Ben Skeggs | e0996ae | 2012-07-10 12:20:17 +1000 | [diff] [blame] | 27 | nouveau-y += core/subdev/bios/gpio.o |
Ben Skeggs | 4196faa | 2012-07-10 14:36:38 +1000 | [diff] [blame] | 28 | nouveau-y += core/subdev/bios/i2c.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 29 | nouveau-y += core/subdev/bios/init.o |
Ben Skeggs | 70790f4 | 2012-07-10 17:26:46 +1000 | [diff] [blame] | 30 | nouveau-y += core/subdev/bios/pll.o |
Ben Skeggs | 8aceb7d | 2012-07-10 16:45:24 +1000 | [diff] [blame] | 31 | nouveau-y += core/subdev/clock/nv04.o |
| 32 | nouveau-y += core/subdev/clock/nv40.o |
| 33 | nouveau-y += core/subdev/clock/nv50.o |
| 34 | nouveau-y += core/subdev/clock/nva3.o |
| 35 | nouveau-y += core/subdev/clock/nvc0.o |
Ben Skeggs | 70790f4 | 2012-07-10 17:26:46 +1000 | [diff] [blame] | 36 | nouveau-y += core/subdev/clock/pllnv04.o |
| 37 | nouveau-y += core/subdev/clock/pllnva3.o |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 38 | nouveau-y += core/subdev/device/base.o |
| 39 | nouveau-y += core/subdev/device/nv04.o |
| 40 | nouveau-y += core/subdev/device/nv10.o |
| 41 | nouveau-y += core/subdev/device/nv20.o |
| 42 | nouveau-y += core/subdev/device/nv30.o |
| 43 | nouveau-y += core/subdev/device/nv40.o |
| 44 | nouveau-y += core/subdev/device/nv50.o |
| 45 | nouveau-y += core/subdev/device/nvc0.o |
| 46 | nouveau-y += core/subdev/device/nve0.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 47 | nouveau-y += core/subdev/devinit/base.o |
| 48 | nouveau-y += core/subdev/devinit/nv04.o |
| 49 | nouveau-y += core/subdev/devinit/nv05.o |
| 50 | nouveau-y += core/subdev/devinit/nv10.o |
| 51 | nouveau-y += core/subdev/devinit/nv1a.o |
| 52 | nouveau-y += core/subdev/devinit/nv20.o |
| 53 | nouveau-y += core/subdev/devinit/nv50.o |
Ben Skeggs | 861d210 | 2012-07-11 19:05:01 +1000 | [diff] [blame^] | 54 | nouveau-y += core/subdev/fb/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 55 | nouveau-y += core/subdev/fb/nv04.o |
| 56 | nouveau-y += core/subdev/fb/nv10.o |
| 57 | nouveau-y += core/subdev/fb/nv20.o |
| 58 | nouveau-y += core/subdev/fb/nv30.o |
| 59 | nouveau-y += core/subdev/fb/nv40.o |
| 60 | nouveau-y += core/subdev/fb/nv50.o |
| 61 | nouveau-y += core/subdev/fb/nvc0.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 62 | nouveau-y += core/subdev/gpio/base.o |
| 63 | nouveau-y += core/subdev/gpio/nv10.o |
| 64 | nouveau-y += core/subdev/gpio/nv50.o |
Ben Skeggs | e0996ae | 2012-07-10 12:20:17 +1000 | [diff] [blame] | 65 | nouveau-y += core/subdev/gpio/nvd0.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 66 | nouveau-y += core/subdev/i2c/base.o |
Ben Skeggs | 4196faa | 2012-07-10 14:36:38 +1000 | [diff] [blame] | 67 | nouveau-y += core/subdev/i2c/aux.o |
| 68 | nouveau-y += core/subdev/i2c/bit.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 69 | nouveau-y += core/subdev/instmem/nv04.o |
| 70 | nouveau-y += core/subdev/instmem/nv50.o |
| 71 | nouveau-y += core/subdev/instmem/nvc0.o |
Ben Skeggs | 861d210 | 2012-07-11 19:05:01 +1000 | [diff] [blame^] | 72 | nouveau-y += core/subdev/ltcg/nvc0.o |
Ben Skeggs | 7d9115d | 2012-07-11 15:58:56 +1000 | [diff] [blame] | 73 | nouveau-y += core/subdev/mc/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 74 | nouveau-y += core/subdev/mc/nv04.o |
Ben Skeggs | 7d9115d | 2012-07-11 15:58:56 +1000 | [diff] [blame] | 75 | nouveau-y += core/subdev/mc/nv44.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 76 | nouveau-y += core/subdev/mc/nv50.o |
Ben Skeggs | 7d9115d | 2012-07-11 15:58:56 +1000 | [diff] [blame] | 77 | nouveau-y += core/subdev/mc/nv98.o |
| 78 | nouveau-y += core/subdev/mc/nvc0.o |
Ben Skeggs | 5a5c743 | 2012-07-11 16:08:25 +1000 | [diff] [blame] | 79 | nouveau-y += core/subdev/timer/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 80 | nouveau-y += core/subdev/timer/nv04.o |
| 81 | nouveau-y += core/subdev/vm/base.o |
| 82 | nouveau-y += core/subdev/vm/nv50.o |
| 83 | nouveau-y += core/subdev/vm/nvc0.o |
| 84 | |
| 85 | nouveau-y += core/engine/bsp/nv84.o |
| 86 | nouveau-y += core/engine/copy/nva3.o |
| 87 | nouveau-y += core/engine/copy/nvc0.o |
| 88 | nouveau-y += core/engine/crypt/nv84.o |
| 89 | nouveau-y += core/engine/crypt/nv98.o |
Ben Skeggs | 4196faa | 2012-07-10 14:36:38 +1000 | [diff] [blame] | 90 | nouveau-y += core/engine/disp/vga.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 91 | nouveau-y += core/engine/fifo/nv04.o |
| 92 | nouveau-y += core/engine/fifo/nv10.o |
| 93 | nouveau-y += core/engine/fifo/nv17.o |
| 94 | nouveau-y += core/engine/fifo/nv40.o |
| 95 | nouveau-y += core/engine/fifo/nv50.o |
| 96 | nouveau-y += core/engine/fifo/nv84.o |
| 97 | nouveau-y += core/engine/fifo/nvc0.o |
| 98 | nouveau-y += core/engine/fifo/nve0.o |
| 99 | nouveau-y += core/engine/graph/ctxnv40.o |
| 100 | nouveau-y += core/engine/graph/ctxnv50.o |
| 101 | nouveau-y += core/engine/graph/ctxnvc0.o |
| 102 | nouveau-y += core/engine/graph/ctxnve0.o |
| 103 | nouveau-y += core/engine/graph/nv04.o |
| 104 | nouveau-y += core/engine/graph/nv10.o |
| 105 | nouveau-y += core/engine/graph/nv20.o |
| 106 | nouveau-y += core/engine/graph/nv40.o |
| 107 | nouveau-y += core/engine/graph/nv50.o |
| 108 | nouveau-y += core/engine/graph/nvc0.o |
| 109 | nouveau-y += core/engine/graph/nve0.o |
| 110 | nouveau-y += core/engine/mpeg/nv31.o |
| 111 | nouveau-y += core/engine/mpeg/nv50.o |
| 112 | nouveau-y += core/engine/ppp/nv98.o |
| 113 | nouveau-y += core/engine/vp/nv84.o |
| 114 | |
Ben Skeggs | 586c55f | 2012-07-09 14:14:48 +1000 | [diff] [blame] | 115 | nouveau-y += nouveau_drm.o nouveau_compat.o \ |
Ben Skeggs | 9458029 | 2012-07-06 12:14:00 +1000 | [diff] [blame] | 116 | nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \ |
Ben Skeggs | ce22af0 | 2012-05-05 22:19:20 +1000 | [diff] [blame] | 117 | nouveau_gpuobj.o nouveau_irq.o nouveau_notifier.o \ |
Ben Skeggs | d7facf9 | 2010-11-03 10:06:43 +1000 | [diff] [blame] | 118 | nouveau_sgdma.o nouveau_dma.o nouveau_util.o \ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 119 | nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.o \ |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 120 | nouveau_hw.o nouveau_calc.o \ |
Ben Skeggs | 054b93e | 2009-12-15 22:02:47 +1000 | [diff] [blame] | 121 | nouveau_display.o nouveau_connector.o nouveau_fbcon.o \ |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 122 | nouveau_hdmi.o nouveau_dp.o \ |
Ben Skeggs | fade7ad | 2010-09-27 11:18:14 +1000 | [diff] [blame] | 123 | nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \ |
Ben Skeggs | aa4cc5d2 | 2012-07-05 21:36:32 +1000 | [diff] [blame] | 124 | nouveau_mxm.o nouveau_agp.o \ |
Ben Skeggs | 2a259a3 | 2012-05-08 10:24:27 +1000 | [diff] [blame] | 125 | nouveau_abi16.o \ |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 126 | nouveau_bios.o \ |
Ben Skeggs | 5e120f6 | 2012-04-30 13:55:29 +1000 | [diff] [blame] | 127 | nv04_fence.o nv10_fence.o nv84_fence.o nvc0_fence.o \ |
Ben Skeggs | 20abd16 | 2012-04-30 11:33:43 -0500 | [diff] [blame] | 128 | nv04_software.o nv50_software.o nvc0_software.o \ |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 129 | nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \ |
Ben Skeggs | ddbaf79 | 2010-11-24 10:52:43 +1000 | [diff] [blame] | 130 | nv04_crtc.o nv04_display.o nv04_cursor.o \ |
Ben Skeggs | 37b034a | 2011-07-08 14:43:19 +1000 | [diff] [blame] | 131 | nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \ |
| 132 | nv50_cursor.o nv50_display.o \ |
Ben Skeggs | 26f6d88 | 2011-07-04 16:25:18 +1000 | [diff] [blame] | 133 | nvd0_display.o \ |
Ben Skeggs | 37b034a | 2011-07-08 14:43:19 +1000 | [diff] [blame] | 134 | nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \ |
Ben Skeggs | 1262a20 | 2011-07-18 15:15:34 +1000 | [diff] [blame] | 135 | nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \ |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 136 | nouveau_prime.o |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 137 | |
| 138 | nouveau-$(CONFIG_DRM_NOUVEAU_DEBUG) += nouveau_debugfs.o |
| 139 | nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o |
| 140 | nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o |
| 141 | nouveau-$(CONFIG_ACPI) += nouveau_acpi.o |
| 142 | |
| 143 | obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o |