nrelease - fix/improve livecd
[dragonfly.git] / sys / dev / drm / drm / Makefile
1 .PATH:  ${.CURDIR}/.. ${.CURDIR}/../ttm
2 KMOD    = drm
3 SRCS    = \
4         drm_atomic.c \
5         drm_atomic_helper.c \
6         drm_auth.c \
7         drm_blend.c \
8         drm_bridge.c \
9         drm_bufs.c \
10         drm_cache.c \
11         drm_color_mgmt.c \
12         drm_connector.c \
13         drm_context.c \
14         drm_crtc.c \
15         drm_crtc_helper.c \
16         drm_dma.c \
17         drm_dp_aux_dev.c \
18         drm_dp_dual_mode_helper.c \
19         drm_dp_helper.c \
20         drm_dp_mst_topology.c \
21         drm_dragonfly.c \
22         drm_drv.c \
23         drm_dumb_buffers.c \
24         drm_edid.c \
25         drm_edid_load.c \
26         drm_encoder.c \
27         drm_encoder_slave.c \
28         drm_fb_helper.c \
29         drm_file.c \
30         drm_fourcc.c \
31         drm_framebuffer.c \
32         drm_gem.c \
33         drm_gem_framebuffer_helper.c \
34         drm_global.c \
35         drm_hashtab.c \
36         drm_ioctl.c \
37         drm_irq.c \
38         drm_lock.c \
39         drm_memory.c \
40         drm_mipi_dsi.c \
41         drm_mm.c \
42         drm_mode_config.c \
43         drm_mode_object.c \
44         drm_modes.c \
45         drm_modeset_lock.c \
46         drm_modeset_helper.c \
47         drm_panel.c \
48         drm_pci.c \
49         drm_plane.c \
50         drm_plane_helper.c \
51         drm_prime.c \
52         drm_print.c \
53         drm_probe_helper.c \
54         drm_property.c \
55         drm_rect.c \
56         drm_scatter.c \
57         drm_scdc_helper.c \
58         drm_syncobj.c \
59         drm_sysctl.c \
60         drm_sysfs.c \
61         drm_vblank.c \
62         drm_vm.c \
63         drm_vma_manager.c \
64         linux_async.c \
65         linux_compat.c \
66         linux_completion.c \
67         linux_dma.c \
68         linux_dma-buf.c \
69         linux_dmi.c \
70         linux_fence.c \
71         linux_fence-array.c \
72         linux_hdmi.c \
73         linux_hrtimer.c \
74         linux_i2c.c \
75         linux_interval_tree.c \
76         linux_iomapping.c \
77         linux_irq.c \
78         linux_kobject.c \
79         linux_kthread.c \
80         linux_list_sort.c \
81         linux_pci.c \
82         linux_printf.c \
83         linux_radix.c \
84         linux_rcu.c \
85         linux_reservation.c \
86         linux_scatterlist.c \
87         linux_sched.c \
88         linux_shmem.c \
89         linux_sort.c \
90         linux_tasklet.c \
91         linux_vmalloc.c \
92         linux_wait.c \
93         linux_workqueue.c \
94         linux_wwmutex.c \
95         ttm_memory.c \
96         ttm_tt.c \
97         ttm_bo.c \
98         ttm_bo_util.c \
99         ttm_bo_vm.c \
100         ttm_module.c \
101         ttm_object.c \
102         ttm_lock.c \
103         ttm_execbuf_util.c \
104         ttm_page_alloc.c \
105         ttm_bo_manager.c \
106         ttm_page_alloc_dma.c
107
108 # if CONFIG_AGP is set
109 #SRCS+= drm_agpsupport.c \
110 #SRCS+= ttm_agp_backend.c \
111
112 SRCS    += \
113         opt_ddb.h \
114         opt_drm.h \
115         bus_if.h \
116         device_if.h \
117         pci_if.h
118
119 KCFLAGS+= -I${SYSDIR}/dev/drm/include
120 KCFLAGS+= -I${SYSDIR}/dev/drm/include/drm
121 KCFLAGS+= -I${SYSDIR}/dev/drm/include/uapi
122 KCFLAGS+= -include ${SYSDIR}/dev/drm/kconfig.h
123 KCFLAGS+= -DKBUILD_MODNAME=\"${KMOD}\"
124 # KCFLAGS+= -DDRM_DEBUG=2
125
126 .include <bsd.kmod.mk>