7c02ec8a3f
required for newer radeondrm. Expanded version of a diff from kettenis@ ok kettenis@ mpi@
59 lines
1.1 KiB
Makefile
59 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.5 2013/06/27 14:53:50 jsg Exp $
|
|
|
|
LIB= radeon_dri.so
|
|
|
|
CS_SOURCES = \
|
|
radeon_cs_space_drm.c \
|
|
radeon_bo.c \
|
|
radeon_cs.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_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 \
|
|
radeon_sanity.c \
|
|
radeon_blit.c \
|
|
$(RADEON_COMMON_SOURCES)
|
|
|
|
SRCS = \
|
|
$(COMMON_SOURCES) \
|
|
$(DRIVER_SOURCES) \
|
|
$(CS_SOURCES)
|
|
|
|
DRIVER_DEFINES = -DRADEON_R100 -DRADEON_COMMON=0 \
|
|
-DHAVE_LIBDRM_RADEON \
|
|
-I$(MESA)/drivers/dri/radeon/server \
|
|
-I$(MESA)/drivers/dri/radeon
|
|
|
|
.include <bsd.xorg.mk>
|
|
|
|
LDADD+= -ldrm_radeon
|
|
|
|
.PATH: $(MESA)/drivers/dri/radeon
|