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 \
47 radeon_program_alu.c \
48 radeon_program_pair.c \
52 r300_fragprog_swizzle.c \
53 r300_fragprog_emit.c \
55 r500_fragprog_emit.c \
59 $(RADEON_COMMON_SOURCES
) \
62 C_SOURCES
= $(COMMON_SOURCES
) $(DRIVER_SOURCES
)
64 DRIVER_DEFINES
= -DCOMPILE_R300
-DR200_MERGED
=0 \
65 -DRADEON_COMMON
=1 -DRADEON_COMMON_FOR_R300 \
73 server
/radeon_macros.h \
87 radeon_bocs_wrapper.h \
92 radeon_common_context.c \
93 radeon_common_context.h \
97 radeon_mipmap_tree.c \
98 radeon_mipmap_tree.h \
103 DRI_LIB_DEPS
+= $(RADEON_LDFLAGS
)
107 include ..
/Makefile.template
113 @
[ -e
$@
] || ln
-sf ..
/..
/radeon
/$@ server
/
116 @
[ -e
$@
] || ln
-sf ..
/radeon
/$@ .
/
118 symlinks
: $(SYMLINKS
) $(COMMON_SYMLINKS
)