xenocara/lib/libGL/dri/r300/Makefile
mpi e67a5fe840 Upate to libGL 7.11.2
Tested by jsg@, matthieu@ and ajacoutot@, ok mattieu@
2012-08-17 13:57:59 +00:00

109 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2012/08/17 13:58:00 mpi Exp $
LIB= r300_dri.so
CS_SOURCES = \
radeon_cs_space_drm.c \
radeon_bo.c \
radeon_cs.c
COMMON_SOURCES = \
driverfuncs.c \
drirenderbuffer.c \
utils.c \
texmem.c \
vblank.c \
xmlconfig.c \
dri_util.c
RADEON_COMMON_SOURCES = \
radeon_bo_legacy.c \
radeon_buffer_objects.c \
radeon_common_context.c \
radeon_common.c \
radeon_cs_legacy.c \
radeon_dma.c \
radeon_debug.c \
radeon_fbo.c \
radeon_lock.c \
radeon_mipmap_tree.c \
radeon_pixel_read.c \
radeon_queryobj.c \
radeon_span.c \
radeon_texture.c \
radeon_tex_copy.c \
radeon_tex_getimage.c \
radeon_tile.c
DRIVER_SOURCES = \
radeon_screen.c \
r300_blit.c \
r300_context.c \
r300_draw.c \
r300_cmdbuf.c \
r300_state.c \
r300_render.c \
r300_tex.c \
r300_texstate.c \
r300_vertprog.c \
r300_fragprog_common.c \
r300_shader.c \
radeon_mesa_to_rc.c \
r300_emit.c \
r300_swtcl.c \
$(RADEON_COMMON_SOURCES) \
$(EGL_SOURCES) \
$(CS_SOURCES)
COMPILER_SOURCES = \
radeon_code.c \
radeon_compiler.c \
radeon_compiler_util.c \
radeon_emulate_branches.c \
radeon_emulate_loops.c \
radeon_program.c \
radeon_program_print.c \
radeon_opcodes.c \
radeon_program_alu.c \
radeon_program_pair.c \
radeon_program_tex.c \
radeon_pair_translate.c \
radeon_pair_schedule.c \
radeon_pair_regalloc.c \
radeon_pair_dead_sources.c \
radeon_dataflow.c \
radeon_dataflow_deadcode.c \
radeon_dataflow_swizzles.c \
radeon_list.c \
radeon_optimize.c \
radeon_remove_constants.c \
radeon_rename_regs.c \
radeon_variable.c \
r3xx_fragprog.c \
r300_fragprog.c \
r300_fragprog_swizzle.c \
r300_fragprog_emit.c \
r500_fragprog.c \
r500_fragprog_emit.c \
r3xx_vertprog.c \
r3xx_vertprog_dump.c \
memory_pool.c
SRCS = $(COMMON_SOURCES) $(DRIVER_SOURCES) $(COMPILER_SOURCES)
DRIVER_DEFINES = -DRADEON_R300 \
-DCOMPILE_R300 -DR200_MERGED=0 \
-DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 \
-I$(MESA)/drivers/dri/r300 \
-I$(MESA)/drivers/dri/r300/server \
-I$(MESA)/drivers/dri/radeon \
-I$(MESA)/drivers/dri/radeon/server
.include <bsd.xorg.mk>
LDADD+= -ldrm_radeon
.PATH: $(MESA)/drivers/dri/r300
.PATH: $(MESA)/drivers/dri/r300/compiler
.PATH: $(MESA)/drivers/dri/radeon