128505aa0d
gallium/targets/{r300,r600,radeonsi}/common/drm_target.c in the Mesa source but cvs import ignores symlinks. Change the directory we search for drm_target.c in to deal with this.
63 lines
1.3 KiB
Makefile
63 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2014/07/10 08:44:00 jsg Exp $
|
|
|
|
LIB= radeonsi_dri.so
|
|
|
|
CPPFLAGS= \
|
|
-I${GALLIUM}/include \
|
|
-I${GALLIUM}/auxiliary \
|
|
-I${GALLIUM}/drivers \
|
|
-I${GALLIUM}/drivers/radeonsi \
|
|
-I${GALLIUM}/winsys \
|
|
-I${GALLIUM}/state_trackers/dri/common
|
|
|
|
DRIVER_LIBS= \
|
|
../../gallium/drivers/trace/libtrace_pic.a \
|
|
../../gallium/drivers/rbug/librbug_pic.a \
|
|
../../gallium/drivers/radeonsi/libradeonsi_pic.a
|
|
|
|
DRIVER_DEFINES = \
|
|
-DGALLIUM_RBUG \
|
|
-DGALLIUM_TRACE
|
|
|
|
WINSYS_SOURCES = \
|
|
radeon_drm_bo.c \
|
|
radeon_drm_cs.c \
|
|
radeon_drm_cs_dump.c \
|
|
radeon_drm_winsys.c
|
|
|
|
DRIDRM_SOURCES = \
|
|
dri_context.c \
|
|
dri_screen.c \
|
|
dri_drawable.c \
|
|
dri2.c
|
|
|
|
COMMON_GALLIUM_SOURCES = \
|
|
utils.c \
|
|
vblank.c \
|
|
dri_util.c \
|
|
xmlconfig.c
|
|
|
|
DRIVER_SOURCES =
|
|
|
|
SRCS = \
|
|
${WINSYS_SOURCES} \
|
|
${DRIDRM_SOURCES} \
|
|
${COMMON_GALLIUM_SOURCES} \
|
|
${DRIVER_SOURCES} \
|
|
drm_target.c
|
|
|
|
LDADD= ../../mesa/libmesagallium/libmesagallium_pic.a \
|
|
../../glsl/libglsl/libglsl_pic.a \
|
|
${DRIVER_LIBS} \
|
|
../../gallium/libgallium/libgallium_pic.a \
|
|
-L${X11BASE}/lib -lexpat -lm -lstdc++ -lc -ldrm_radeon -lxcb-dri2
|
|
DPADD= ../../mesa/libmesagallium/libmesagallium_pic.a
|
|
|
|
.include "../../gallium/Makefile.inc"
|
|
.include <bsd.xorg.mk>
|
|
|
|
.PATH: ${GALLIUM}/state_trackers/dri/common
|
|
.PATH: ${GALLIUM}/state_trackers/dri/drm
|
|
.PATH: ${GALLIUM}/targets/radeonsi/common
|
|
.PATH: ${GALLIUM}/winsys/radeon/drm
|