summaryrefslogtreecommitdiff
path: root/lib/mesa/mk/libiris/Makefile
blob: 7ee2478e7f2c7a512ac0cb02ae91dec90b6c06ca (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
41
42
43
44
45
46
47
48
49
50
#	$OpenBSD: Makefile,v 1.3 2021/07/22 11:10:10 jsg Exp $

LIB=	iris

NOPROFILE=

SRCS=	iris_batch.c \
	iris_binder.c \
	iris_blit.c \
	iris_border_color.c \
	iris_bufmgr.c \
	iris_clear.c \
	iris_context.c \
	iris_draw.c \
	iris_fence.c \
	iris_fine_fence.c \
	iris_formats.c \
	iris_measure.c \
	iris_monitor.c \
	iris_perf.c \
	iris_performance_query.c \
	iris_pipe_control.c \
	iris_program.c \
	iris_program_cache.c \
	iris_resolve.c \
	iris_resource.c \
	iris_screen.c \
	iris_disk_cache.c

.include "../Makefile.inc"

CFLAGS+=	${C_VIS_ARGS} ${C_SSE2_ARGS}
CPPFLAGS+=	-DGALLIUM_IRIS \
		-I${MESA_SRC}/src/gallium/drivers/iris \
		-I${MESA_SRC}/src/gallium/include \
		-I${MESA_SRC}/src/gallium/auxiliary \
		-I${MESA_SRC}/src/gallium/drivers \
		-I${MESA_SRC}/src/mesa \
		-I${MESA_SRC}/src/mapi \
		-I${MESA_SRC}/src/intel \
		-I${MESA_SRC}/generated/src/compiler/nir

install:

obj: _xenocara_obj

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

.PATH: ${MESA_SRC}/src/gallium/drivers/iris