summaryrefslogtreecommitdiff
path: root/lib/mesa/mk/libmesa_util/Makefile
blob: c94d8a12cd9b3fbd3bb12688afc70110eda582bf (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#	$OpenBSD: Makefile,v 1.4 2022/02/25 06:23:08 jsg Exp $

LIB=	mesa_util

NOPROFILE=

SRCS=	anon_file.c \
	bitscan.c \
	blob.c \
	build_id.c \
	compress.c \
	crc32.c \
	dag.c \
	debug.c \
	disk_cache.c \
	disk_cache_os.c \
	double.c \
	fast_idiv_by_const.c \
	fossilize_db.c \
	half_float.c \
	hash_table.c \
	u_idalloc.c \
	log.c \
	memstream.c \
	mesa-sha1.c \
	os_file.c \
	os_memory_fd.c \
	os_misc.c \
	os_socket.c \
	u_trace.c \
	os_time.c \
	ralloc.c \
	rand_xor.c \
	rb_tree.c \
	register_allocate.c \
	rgtc.c \
	set.c \
	sha1.c \
	slab.c \
	softfloat.c \
	sparse_array.c \
	string_buffer.c \
	strtod.c \
	u_atomic.c \
	u_debug_describe.c \
	u_debug_refcnt.c \
	u_cpu_detect.c \
	u_printf.cpp \
	u_debug.c \
	u_debug_memory.c \
	u_math.c \
	u_mm.c \
	u_process.c \
	u_qsort.cpp \
	u_hash_table.c \
	u_queue.c \
	u_vector.c \
	vma.c

SRCS+=	u_debug_stack.c \
	u_debug_symbol.c

SRCS+=	format_srgb.c

.include "../Makefile.inc"

CFLAGS+=	${C_VIS_ARGS}
CXXFLAGS+=	${CXX_VIS_ARGS} -ffunction-sections -fdata-sections
CPPFLAGS+=	-I${MESA_SRC}/src/util \
		-I${MESA_SRC}/src/mesa \
		-I${MESA_SRC}/src/gallium/include \
		-I${MESA_SRC}/src/gallium/auxiliary

install:

obj: _xenocara_obj

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

.PATH: ${MESA_SRC}/src/util
.PATH: ${MESA_SRC}/src/util/perf
.PATH: ${MESA_SRC}/src/util/sha1
.PATH: ${MESA_SRC}/generated/src/util