2010-05-22 14:14:14 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2010/05/22 20:14:14 matthieu Exp $
|
2007-12-04 15:00:27 -07:00
|
|
|
|
|
|
|
LIB= r200_dri.so
|
|
|
|
|
2010-05-22 14:14:14 -06:00
|
|
|
CS_SOURCES = \
|
|
|
|
radeon_cs_space_drm.c \
|
|
|
|
radeon_bo.c \
|
|
|
|
radeon_cs.c
|
|
|
|
|
|
|
|
RADEON_COMMON_SOURCES = \
|
|
|
|
radeon_bo_legacy.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_queryobj.c \
|
|
|
|
radeon_span.c \
|
|
|
|
radeon_texture.c \
|
|
|
|
radeon_tex_copy.c
|
|
|
|
|
2007-12-04 15:00:27 -07:00
|
|
|
DRIVER_SOURCES = r200_context.c \
|
|
|
|
r200_ioctl.c \
|
|
|
|
r200_state.c \
|
|
|
|
r200_state_init.c \
|
|
|
|
r200_cmdbuf.c \
|
|
|
|
r200_pixel.c \
|
|
|
|
r200_tex.c \
|
|
|
|
r200_texstate.c \
|
|
|
|
r200_tcl.c \
|
|
|
|
r200_swtcl.c \
|
|
|
|
r200_maos.c \
|
|
|
|
r200_sanity.c \
|
|
|
|
r200_fragshader.c \
|
|
|
|
r200_vertprog.c \
|
2010-05-22 14:14:14 -06:00
|
|
|
r200_blit.c \
|
2007-12-04 15:00:27 -07:00
|
|
|
radeon_screen.c \
|
2010-05-22 14:14:14 -06:00
|
|
|
$(EGL_SOURCES) \
|
|
|
|
$(RADEON_COMMON_SOURCES) \
|
|
|
|
$(CS_SOURCES)
|
2007-12-04 15:00:27 -07:00
|
|
|
|
|
|
|
SRCS = $(COMMON_SOURCES) $(DRIVER_SOURCES)
|
|
|
|
|
2010-05-22 14:14:14 -06:00
|
|
|
DRIVER_DEFINES = -DRADEON_R200 \
|
|
|
|
-DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200 \
|
2007-12-04 15:00:27 -07:00
|
|
|
-I$(MESA)/drivers/dri/r200 \
|
|
|
|
-I$(MESA)/drivers/dri/r200/server \
|
|
|
|
-I$(MESA)/drivers/dri/radeon \
|
|
|
|
-I$(MESA)/drivers/dri/radeon/server
|
|
|
|
|
|
|
|
.include <bsd.xorg.mk>
|
|
|
|
|
|
|
|
.PATH: $(MESA)/drivers/dri/r200
|
|
|
|
.PATH: $(MESA)/drivers/dri/radeon
|
|
|
|
|
|
|
|
|
|
|
|
|