r200: emit elts into a separate ELT bo
[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 LIBNAME = r200_dri.so
7
8 MINIGLX_SOURCES = server/radeon_dri.c
9
10 ifeq ($(USING_EGL), 1)
11 EGL_SOURCES = server/radeon_egl.c
12 endif
13
14 DRIVER_SOURCES = r200_context.c \
15 r200_ioctl.c \
16 r200_state.c \
17 r200_state_init.c \
18 r200_cmdbuf.c \
19 r200_pixel.c \
20 r200_tex.c \
21 r200_texmem.c \
22 r200_texstate.c \
23 r200_tcl.c \
24 r200_swtcl.c \
25 r200_span.c \
26 r200_maos.c \
27 r200_sanity.c \
28 r200_fragshader.c \
29 r200_vertprog.c \
30 radeon_screen.c \
31 common_lock.c \
32 common_misc.c \
33 radeon_bo_legacy.c \
34 radeon_cs_legacy.c \
35 radeon_mipmap_tree.c \
36 $(EGL_SOURCES)
37
38 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
39
40 X86_SOURCES =
41
42 DRIVER_DEFINES = -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200
43
44 SYMLINKS = \
45 server/radeon_egl.c \
46 server/radeon_dri.c \
47 server/radeon_dri.h \
48 server/radeon.h \
49 server/radeon_macros.h \
50 server/radeon_reg.h
51
52 COMMON_SYMLINKS = \
53 radeon_chipset.h \
54 radeon_screen.c \
55 radeon_screen.h \
56 radeon_bo_legacy.c \
57 radeon_cs_legacy.c \
58 radeon_bo_legacy.h \
59 radeon_cs_legacy.h \
60 radeon_buffer.h \
61 common_context.h \
62 common_lock.c \
63 common_lock.h \
64 common_misc.h \
65 common_misc.c \
66 common_cmdbuf.h \
67 radeon_mipmap_tree.c \
68 radeon_mipmap_tree.h
69
70 DRI_LIB_DEPS += -ldrm_radeon
71
72 ##### TARGETS #####
73
74
75 include ../Makefile.template
76
77 #INCLUDES += -I../radeon/server
78
79 server:
80 mkdir -p server
81
82 $(SYMLINKS): server
83 @[ -e $@ ] || ln -sf ../../radeon/$@ server/
84
85
86 $(COMMON_SYMLINKS):
87 @[ -e $@ ] || ln -sf ../radeon/$@ ./
88
89 symlinks: $(SYMLINKS) $(COMMON_SYMLINKS)
90