radeon/r200: drop legacy texture heap code
[mesa.git] / src / mesa / drivers / dri / r200 / Makefile
1 # src/mesa/drivers/dri/r200/Makefile
2
3 TOP = ../../../../..
4 include $(TOP)/configs/current
5
6 CFLAGS += $(RADEON_CFLAGS)
7
8 LIBNAME = r200_dri.so
9
10 MINIGLX_SOURCES = server/radeon_dri.c
11
12 ifeq ($(USING_EGL), 1)
13 EGL_SOURCES = server/radeon_egl.c
14 endif
15
16 RADEON_COMMON_SOURCES = \
17 radeon_texture.c \
18 radeon_common_context.c \
19 radeon_common.c \
20 radeon_dma.c \
21 radeon_lock.c \
22 radeon_bo_legacy.c \
23 radeon_cs_legacy.c \
24 radeon_mipmap_tree.c \
25 radeon_span.c
26
27
28 DRIVER_SOURCES = r200_context.c \
29 r200_ioctl.c \
30 r200_state.c \
31 r200_state_init.c \
32 r200_cmdbuf.c \
33 r200_pixel.c \
34 r200_tex.c \
35 r200_texstate.c \
36 r200_tcl.c \
37 r200_swtcl.c \
38 r200_maos.c \
39 r200_sanity.c \
40 r200_fragshader.c \
41 r200_vertprog.c \
42 radeon_screen.c \
43 $(EGL_SOURCES) \
44 $(RADEON_COMMON_SOURCES)
45
46 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
47
48 X86_SOURCES =
49
50 DRIVER_DEFINES = -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200
51
52 SYMLINKS = \
53 server/radeon_egl.c \
54 server/radeon_dri.c \
55 server/radeon_dri.h \
56 server/radeon.h \
57 server/radeon_macros.h \
58 server/radeon_reg.h
59
60 COMMON_SYMLINKS = \
61 radeon_chipset.h \
62 radeon_screen.c \
63 radeon_screen.h \
64 radeon_bo_legacy.c \
65 radeon_cs_legacy.c \
66 radeon_bo_legacy.h \
67 radeon_cs_legacy.h \
68 radeon_bocs_wrapper.h \
69 radeon_span.h \
70 radeon_span.c \
71 radeon_lock.c \
72 radeon_lock.h \
73 radeon_common.c \
74 radeon_common_context.c \
75 radeon_common_context.h \
76 radeon_common.h \
77 radeon_cmdbuf.h \
78 radeon_mipmap_tree.c \
79 radeon_mipmap_tree.h \
80 radeon_texture.c \
81 radeon_texture.h \
82 radeon_dma.c \
83 radeon_dma.h
84
85 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
86
87 ##### TARGETS #####
88
89
90 include ../Makefile.template
91
92 #INCLUDES += -I../radeon/server
93
94 server:
95 mkdir -p server
96
97 $(SYMLINKS): server
98 @[ -e $@ ] || ln -sf ../../radeon/$@ server/
99
100
101 $(COMMON_SYMLINKS):
102 @[ -e $@ ] || ln -sf ../radeon/$@ ./
103
104 symlinks: $(SYMLINKS) $(COMMON_SYMLINKS)
105