2011-10-23 07:57:36 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2011/10/23 13:57:36 matthieu Exp $
|
2007-12-04 15:00:27 -07:00
|
|
|
|
|
|
|
LIB= radeon_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 \
|
2011-10-23 07:57:36 -06:00
|
|
|
radeon_buffer_objects.c \
|
2010-05-22 14:14:14 -06:00
|
|
|
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 \
|
2011-10-23 07:57:36 -06:00
|
|
|
radeon_pixel_read.c \
|
2010-05-22 14:14:14 -06:00
|
|
|
radeon_queryobj.c \
|
|
|
|
radeon_span.c \
|
|
|
|
radeon_texture.c \
|
2011-10-23 07:57:36 -06:00
|
|
|
radeon_tex_copy.c \
|
|
|
|
radeon_tex_getimage.c \
|
|
|
|
radeon_tile.c
|
2010-05-22 14:14:14 -06:00
|
|
|
|
2007-12-04 15:00:27 -07:00
|
|
|
DRIVER_SOURCES = \
|
|
|
|
radeon_context.c \
|
|
|
|
radeon_ioctl.c \
|
|
|
|
radeon_screen.c \
|
|
|
|
radeon_state.c \
|
|
|
|
radeon_state_init.c \
|
|
|
|
radeon_tex.c \
|
|
|
|
radeon_texstate.c \
|
|
|
|
radeon_tcl.c \
|
|
|
|
radeon_swtcl.c \
|
|
|
|
radeon_maos.c \
|
2010-05-22 14:14:14 -06:00
|
|
|
radeon_sanity.c \
|
|
|
|
radeon_blit.c \
|
|
|
|
$(RADEON_COMMON_SOURCES)
|
2007-12-04 15:00:27 -07:00
|
|
|
|
|
|
|
SRCS = \
|
|
|
|
$(COMMON_SOURCES) \
|
2010-05-22 14:14:14 -06:00
|
|
|
$(DRIVER_SOURCES) \
|
|
|
|
$(CS_SOURCES)
|
2007-12-04 15:00:27 -07:00
|
|
|
|
2010-05-22 14:14:14 -06:00
|
|
|
DRIVER_DEFINES = -DRADEON_R100 -DRADEON_COMMON=0 \
|
|
|
|
-I$(MESA)/drivers/dri/radeon/server \
|
|
|
|
-I$(MESA)/drivers/dri/radeon
|
2007-12-04 15:00:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.xorg.mk>
|
|
|
|
|
|
|
|
.PATH: $(MESA)/drivers/dri/radeon
|