Merge branch '7.8'
[mesa.git] / src / mesa / drivers / dri / r600 / Makefile
1 # src/mesa/drivers/dri/r300/Makefile
2
3 TOP = ../../../../..
4 include $(TOP)/configs/current
5
6 CFLAGS += $(RADEON_CFLAGS)
7
8 LIBNAME = r600_dri.so
9
10 ifeq ($(RADEON_LDFLAGS),)
11 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
12 endif
13
14 COMMON_SOURCES = \
15 ../../common/driverfuncs.c \
16 ../common/mm.c \
17 ../common/utils.c \
18 ../common/texmem.c \
19 ../common/vblank.c \
20 ../common/xmlconfig.c \
21 ../common/dri_util.c
22
23 RADEON_COMMON_SOURCES = \
24 radeon_bo_legacy.c \
25 radeon_common_context.c \
26 radeon_buffer_objects.c \
27 radeon_common.c \
28 radeon_cs_legacy.c \
29 radeon_dma.c \
30 radeon_debug.c \
31 radeon_fbo.c \
32 radeon_lock.c \
33 radeon_mipmap_tree.c \
34 radeon_pixel_read.c \
35 radeon_queryobj.c \
36 radeon_span.c \
37 radeon_texture.c \
38 radeon_tex_copy.c \
39 radeon_tex_getimage.c \
40 radeon_tile.c
41
42 DRIVER_SOURCES = \
43 radeon_screen.c \
44 r600_context.c \
45 r600_cmdbuf.c \
46 r600_emit.c \
47 r700_assembler.c \
48 r700_fragprog.c \
49 r700_vertprog.c \
50 r700_shader.c \
51 r700_shaderinst.c \
52 r700_ioctl.c \
53 r700_oglprog.c \
54 r700_chip.c \
55 r700_state.c \
56 r700_clear.c \
57 r700_render.c \
58 r600_tex.c \
59 r600_texstate.c \
60 r600_blit.c \
61 r700_debug.c \
62 $(RADEON_COMMON_SOURCES) \
63 $(EGL_SOURCES) \
64 $(CS_SOURCES)
65
66 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
67
68 DRIVER_DEFINES = -DRADEON_R600
69 # -DRADEON_BO_TRACK \
70
71 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
72
73 ##### TARGETS #####
74
75 include ../Makefile.template
76