sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-08-28 05:57:34 +00:00
commit 88965415ff
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
26235 changed files with 29195616 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.2 2022/09/02 05:46:38 jsg Exp $
LIB= glcpp
NOPROFILE=
SRCS= glcpp-lex.c \
glcpp-parse.c \
pp.c
.include "../Makefile.inc"
CFLAGS+= ${C_VIS_ARGS} ${NO_OVERRIDE_INIT_ARGS}
CXXFLAGS+= ${CXX_VIS_FLAGS}
CPPFLAGS+= -I${MESA_SRC}/src/compiler/glsl/glcpp \
-I${MESA_SRC}/src/mesa \
-I${MESA_SRC}/src/mapi \
-I${MESA_SRC}/src/gallium/include \
-I${MESA_SRC}/generated/src/compiler/glsl/glcpp
install:
obj: _xenocara_obj
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
.PATH: ${MESA_SRC}/src/compiler/glsl/glcpp
.PATH: ${MESA_SRC}/generated/src/compiler/glsl/glcpp
.SUFFIXES:
.SUFFIXES: .o .c