blob: df300e699bc0c2286ffcd14868ddd910a2fe9ae4 (
plain) (
blame)
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
|
# $FreeBSD$
PACKAGE=lib${LIB}
SHLIBDIR?= /lib
.include <src.opts.mk>
PTSRC= ${SRCTOP}/contrib/processor-trace
.PATH: ${PTSRC}/libipt/src \
${PTSRC}/libipt/src/posix \
${PTSRC}/libipt/internal/include \
${PTSRC}/libipt/include \
${PTSRC}/include
LIB= ipt
SHLIB_MAJOR=0
SRCS= \
pt_asid.c \
pt_block_cache.c \
pt_block_decoder.c \
pt_config.c \
pt_cpu.c \
pt_cpuid.c \
pt_decoder_function.c \
pt_encoder.c \
pt_error.c \
pt_event_queue.c \
pt_ild.c \
pt_image_section_cache.c \
pt_image.c \
pt_insn_decoder.c \
pt_insn.c \
pt_last_ip.c \
pt_msec_cache.c \
pt_packet_decoder.c \
pt_packet.c \
pt_query_decoder.c \
pt_retstack.c \
pt_section_file.c \
pt_section_posix.c \
pt_section.c \
pt_sync.c \
pt_time.c \
pt_tnt_cache.c \
pt_version.c
CFLAGS+= \
-I${PTSRC}/libipt/internal/include/posix \
-I${PTSRC}/libipt/internal/include \
-I${PTSRC}/libipt/include \
-I${PTSRC}/include \
-I${.CURDIR}
CFLAGS+= \
-DPT_VERSION_BUILD=0 \
-DPT_VERSION_EXT=\"\" \
-DPT_VERSION_MAJOR=1 \
-DPT_VERSION_MINOR=6 \
-DPT_VERSION_PATCH=0
INCS= \
intel-pt.h \
pt_cpu.h \
pt_last_ip.h \
pt_time.h \
pt_compiler.h
INCSDIR=${INCLUDEDIR}/libipt
LIBADD=
WARNS?= 1
HAS_TESTS=
.include <bsd.lib.mk>
|