1 # src/mesa/drivers/dri/r300/Makefile
4 include $(TOP
)/configs
/current
6 CFLAGS
+= $(RADEON_CFLAGS
)
10 MINIGLX_SOURCES
= server
/radeon_dri.c
12 ifeq ($(USING_EGL
), 1)
13 EGL_SOURCES
= server
/radeon_egl.c
17 ..
/..
/common
/driverfuncs.c \
22 ..
/common
/xmlconfig.c \
25 RADEON_COMMON_SOURCES
= \
27 radeon_common_context.c \
33 radeon_mipmap_tree.c \
48 radeon_program_alu.c \
49 radeon_program_pair.c \
52 r300_fragprog_common.c \
54 r300_fragprog_swizzle.c \
55 r300_fragprog_emit.c \
57 r500_fragprog_emit.c \
61 $(RADEON_COMMON_SOURCES
) \
64 C_SOURCES
= $(COMMON_SOURCES
) $(DRIVER_SOURCES
)
66 DRIVER_DEFINES
= -DCOMPILE_R300
-DR200_MERGED
=0 \
67 -DRADEON_COMMON
=1 -DRADEON_COMMON_FOR_R300 \
75 server
/radeon_macros.h \
89 radeon_bocs_wrapper.h \
94 radeon_common_context.c \
95 radeon_common_context.h \
99 radeon_mipmap_tree.c \
100 radeon_mipmap_tree.h \
105 DRI_LIB_DEPS
+= $(RADEON_LDFLAGS
)
109 include ..
/Makefile.template
115 @
[ -e
$@
] || ln
-sf ..
/..
/radeon
/$@ server
/
118 @
[ -e
$@
] || ln
-sf ..
/radeon
/$@ .
/
120 symlinks
: $(SYMLINKS
) $(COMMON_SYMLINKS
)