summaryrefslogtreecommitdiff
path: root/lib/mesa/mk/libvtn/Makefile
blob: b354548e7852bedd61c8506bee837a998b70dd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#	$OpenBSD: Makefile,v 1.1 2024/04/02 10:42:14 jsg Exp $

LIB=	vtn

NOPROFILE=

SRCS=	gl_spirv.c \
	spirv_to_nir.c \
	vtn_alu.c \
	vtn_amd.c \
	vtn_cfg.c \
	vtn_cmat.c \
	vtn_glsl450.c \
	vtn_opencl.c \
	vtn_structured_cfg.c \
	vtn_subgroup.c \
	vtn_variables.c

SRCS+= 	spirv_info.c \
	vtn_gather_types.c

.include "../Makefile.inc"

CFLAGS+=	${C_VIS_ARGS}
CPPFLAGS+=	-I${MESA_SRC}/src/compiler \
		-I${MESA_SRC}/src/compiler/nir \
		-I${MESA_SRC}/src/compiler/spirv \
		-I${MESA_SRC}/generated/src/compiler \
		-I${MESA_SRC}/generated/src/compiler/nir \
		-I${MESA_SRC}/generated/src/compiler/spirv

install:

obj: _xenocara_obj

.include <bsd.lib.mk>
.include <bsd.xorg.mk>

.PATH: ${MESA_SRC}/src/compiler/spirv
.PATH: ${MESA_SRC}/generated/src/compiler/spirv