radeon/r200: make setTexOffset work again
[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 RADEON_COMMON_SOURCES = \
15 radeon_texture.c \
16 radeon_common_context.c \
17 radeon_common.c \
18 radeon_dma.c \
19 radeon_lock.c \
20 radeon_bo_legacy.c \
21 radeon_cs_legacy.c \
22 radeon_mipmap_tree.c \
23 radeon_span.c
24
25
26 DRIVER_SOURCES = r200_context.c \
27 r200_ioctl.c \
28 r200_state.c \
29 r200_state_init.c \
30 r200_cmdbuf.c \
31 r200_pixel.c \
32 r200_tex.c \
33 r200_texstate.c \
34 r200_tcl.c \
35 r200_swtcl.c \
36 r200_maos.c \
37 r200_sanity.c \
38 r200_fragshader.c \
39 r200_vertprog.c \
40 radeon_screen.c \
41 $(EGL_SOURCES) \
42 $(RADEON_COMMON_SOURCES)
43
44 C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)
45
46 X86_SOURCES =
47
48 DRIVER_DEFINES = -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200
49
50 SYMLINKS = \
51 server/radeon_egl.c \
52 server/radeon_dri.c \
53 server/radeon_dri.h \
54 server/radeon.h \
55 server/radeon_macros.h \
56 server/radeon_reg.h
57
58 COMMON_SYMLINKS = \
59 radeon_chipset.h \
60 radeon_screen.c \
61 radeon_screen.h \
62 radeon_bo_legacy.c \
63 radeon_cs_legacy.c \
64 radeon_bo_legacy.h \
65 radeon_cs_legacy.h \
66 radeon_bocs_wrapper.h \
67 radeon_span.h \
68 radeon_span.c \
69 radeon_lock.c \
70 radeon_lock.h \
71 radeon_common.c \
72 radeon_common_context.c \
73 radeon_common_context.h \
74 radeon_common.h \
75 radeon_cmdbuf.h \
76 radeon_mipmap_tree.c \
77 radeon_mipmap_tree.h \
78 radeon_texture.c \
79 radeon_texture.h \
80 radeon_dma.c \
81 radeon_dma.h
82
83 DRI_LIB_DEPS += #-ldrm_radeon
84
85 ##### TARGETS #####
86
87
88 include ../Makefile.template
89
90 #INCLUDES += -I../radeon/server
91
92 server:
93 mkdir -p server
94
95 $(SYMLINKS): server
96 @[ -e $@ ] || ln -sf ../../radeon/$@ server/
97
98
99 $(COMMON_SYMLINKS):
100 @[ -e $@ ] || ln -sf ../radeon/$@ ./
101
102 symlinks: $(SYMLINKS) $(COMMON_SYMLINKS)
103