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 \
46 radeon_program_alu.c \
47 radeon_program_pair.c \
51 r300_fragprog_swizzle.c \
52 r300_fragprog_emit.c \
54 r500_fragprog_emit.c \
58 $(RADEON_COMMON_SOURCES
) \
61 C_SOURCES
= $(COMMON_SOURCES
) $(DRIVER_SOURCES
)
63 DRIVER_DEFINES
= -DCOMPILE_R300
-DR200_MERGED
=0 \
64 -DRADEON_COMMON
=1 -DRADEON_COMMON_FOR_R300 \
72 server
/radeon_macros.h \
86 radeon_bocs_wrapper.h \
91 radeon_common_context.c \
92 radeon_common_context.h \
96 radeon_mipmap_tree.c \
97 radeon_mipmap_tree.h \
101 DRI_LIB_DEPS
+= $(RADEON_LDFLAGS
)
105 include ..
/Makefile.template
111 @
[ -e
$@
] || ln
-sf ..
/..
/radeon
/$@ server
/
114 @
[ -e
$@
] || ln
-sf ..
/radeon
/$@ .
/
116 symlinks
: $(SYMLINKS
) $(COMMON_SYMLINKS
)