xenocara/lib/mesa/mk/libpipe_loader_static/Makefile

32 lines
662 B
Makefile

# $OpenBSD: Makefile,v 1.2 2023/01/28 08:56:35 jsg Exp $
.include <bsd.xconf.mk>
LIB= pipe_loader_static
NOPROFILE=
SRCS= pipe_loader.c \
pipe_loader_drm.c \
pipe_loader_sw.c
.include "../Makefile.inc"
CFLAGS+= ${C_VIS_ARGS}
CPPFLAGS+= -DDROP_PIPE_LOADER_MISC \
-DGALLIUM_STATIC_TARGETS=1 \
-I${MESA_SRC}/src/gallium/include \
-I${MESA_SRC}/src/gallium/auxiliary \
-I${MESA_SRC}/src/gallium/auxiliary/pipe-loader \
-I${MESA_SRC}/src/gallium/winsys \
-I${MESA_SRC}/src/loader \
-I${MESA_SRC}/generated/src/util
install:
obj: _xenocara_obj
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
.PATH: ${MESA_SRC}/src/gallium/auxiliary/pipe-loader