2013-09-05 09:11:54 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2013/09/05 15:11:57 jsg Exp $
|
2007-12-04 15:00:27 -07:00
|
|
|
|
|
|
|
LIB= r200_dri.so
|
|
|
|
|
2010-05-22 14:14:14 -06:00
|
|
|
RADEON_COMMON_SOURCES = \
|
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_dma.c \
|
|
|
|
radeon_debug.c \
|
|
|
|
radeon_fbo.c \
|
2013-09-05 09:11:54 -06:00
|
|
|
radeon_fog.c \
|
2010-05-22 14:14:14 -06:00
|
|
|
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_tile.c
|
2010-05-22 14:14:14 -06:00
|
|
|
|
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_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) \
|
2013-09-05 09:11:54 -06:00
|
|
|
$(RADEON_COMMON_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 \
|
2013-06-27 08:53:50 -06:00
|
|
|
-DHAVE_LIBDRM_RADEON \
|
2010-05-22 14:14:14 -06:00
|
|
|
-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>
|
|
|
|
|
2011-11-23 14:07:12 -07:00
|
|
|
LDADD+= -ldrm_radeon
|
|
|
|
|
2007-12-04 15:00:27 -07:00
|
|
|
.PATH: $(MESA)/drivers/dri/r200
|
|
|
|
.PATH: $(MESA)/drivers/dri/radeon
|
|
|
|
|
|
|
|
|
|
|
|
|