drm: Add Linux compatibility macros
[dragonfly.git] / sys / dev / drm / radeon / Makefile
CommitLineData
926deccb 1# $FreeBSD: head/sys/modules/drm2/radeonkms/Makefile 254885 2013-08-25 19:37:15Z dumbbell $
7f3c3d6f 2
926deccb
FT
3KMOD = radeonkms
4SRCS = \
5 rn50_reg_safe.h \
6 r100_reg_safe.h \
7 r200_reg_safe.h \
8 rv515_reg_safe.h \
9 r300_reg_safe.h \
10 r420_reg_safe.h \
11 rs600_reg_safe.h \
12 r600_reg_safe.h \
13 evergreen_reg_safe.h \
14 cayman_reg_safe.h
15SRCS += \
16 radeon_acpi.c \
17 radeon_agp.c \
18 radeon_asic.c \
19 radeon_atombios.c \
20 radeon_atpx_handler.c \
21 radeon_benchmark.c \
22 radeon_bios.c \
23 radeon_clocks.c \
24 radeon_combios.c \
25 radeon_connectors.c \
26 radeon_cp.c \
27 radeon_cs.c \
28 radeon_cursor.c \
29 radeon_device.c \
30 radeon_display.c \
31 radeon_drv.c \
32 radeon_encoders.c \
33 radeon_fb.c \
34 radeon_fence.c \
35 radeon_gart.c \
36 radeon_gem.c \
37 radeon_i2c.c \
38 radeon_irq.c \
39 radeon_irq_kms.c \
40 radeon_kms.c \
41 radeon_legacy_crtc.c \
42 radeon_legacy_encoders.c \
43 radeon_legacy_tv.c \
44 radeon_mem.c \
45 radeon_object.c \
46 radeon_pm.c \
47 radeon_ring.c \
48 radeon_sa.c \
49 radeon_semaphore.c \
50 radeon_state.c \
51 radeon_test.c \
52 radeon_ttm.c \
53 atom.c \
54 atombios_crtc.c \
55 atombios_dp.c \
56 atombios_encoders.c \
57 atombios_i2c.c \
58 r100.c \
59 r200.c \
60 r300.c \
61 r300_cmdbuf.c \
62 r420.c \
63 rs400.c \
64 rs600.c \
65 rs690.c \
66 rv515.c \
67 r520.c \
68 r600.c \
69 r600_audio.c \
70 r600_blit.c \
71 r600_blit_kms.c \
72 r600_blit_shaders.c \
73 r600_cp.c \
74 r600_cs.c \
75 r600_hdmi.c \
76 rv770.c \
77 evergreen.c \
78 evergreen_blit_kms.c \
79 evergreen_blit_shaders.c \
80 evergreen_cs.c \
81 evergreen_hdmi.c \
82 cayman_blit_shaders.c \
83 ni.c \
84 si.c \
85 si_blit_shaders.c
7f3c3d6f 86
926deccb
FT
87#radeon_ioc32.c
88#radeon_prime.c
89#--radeon_trace_points.c
7f3c3d6f 90
926deccb
FT
91SRCS += \
92 opt_acpi.h \
93 opt_compat.h \
94 opt_drm.h \
eaaf9508 95 opt_ktr.h \
926deccb
FT
96 acpi_if.h \
97 bus_if.h \
98 device_if.h \
99 iicbb_if.h \
100 iicbus_if.h \
101 pci_if.h
102
0513f306 103CFLAGS+= -I${.CURDIR}/../../../dev/drm/radeon
7eacbf00 104CFLAGS+= -I${SYSDIR}/contrib/dev/acpica/source/include
984263bc 105
18e26a6d
FT
106CFLAGS+= -I${SYSDIR}/dev/drm/include
107
984263bc 108.include <bsd.kmod.mk>