55c75802cef5d1e093953f86cd387aa63713f88f
[mesa.git] / src / mesa / drivers / dri / r300 / Makefile
1 # src/mesa/drivers/dri/r300/Makefile
2
3 TOP = ../../../../..
4 include $(TOP)/configs/current
5
6 LIBNAME = r300_dri.so
7
8 include ../Makefile.defines
9
10 ifeq ($(RADEON_LDFLAGS),)
11 CS_SOURCES = radeon_cs_space_drm.c radeon_bo.c radeon_cs.c
12 endif
13
14 RADEON_COMMON_SOURCES = \
15 radeon_bo_legacy.c \
16 radeon_buffer_objects.c \
17 radeon_common_context.c \
18 radeon_common.c \
19 radeon_cs_legacy.c \
20 radeon_dma.c \
21 radeon_debug.c \
22 radeon_fbo.c \
23 radeon_lock.c \
24 radeon_mipmap_tree.c \
25 radeon_pixel_read.c \
26 radeon_queryobj.c \
27 radeon_span.c \
28 radeon_texture.c \
29 radeon_tex_copy.c \
30 radeon_tile.c
31
32 DRIVER_SOURCES = \
33 radeon_screen.c \
34 r300_blit.c \
35 r300_context.c \
36 r300_draw.c \
37 r300_cmdbuf.c \
38 r300_state.c \
39 r300_render.c \
40 r300_tex.c \
41 r300_texstate.c \
42 r300_vertprog.c \
43 r300_fragprog_common.c \
44 r300_shader.c \
45 radeon_mesa_to_rc.c \
46 r300_emit.c \
47 r300_swtcl.c \
48 $(RADEON_COMMON_SOURCES) \
49 $(EGL_SOURCES) \
50 $(CS_SOURCES)
51
52 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
53
54 DRIVER_DEFINES = -DRADEON_R300
55 # -DRADEON_BO_TRACK \
56
57 INCLUDES += $(RADEON_CFLAGS)
58 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
59
60 SUBDIRS = compiler
61
62 EXTRA_MODULES = compiler/libr300compiler.a
63
64
65 ##### TARGETS #####
66
67 include ../Makefile.targets
68