]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libipt/Makefile
unbound: Import upstream 0ee44ef3 when ENOBUFS is returned
[FreeBSD/FreeBSD.git] / lib / libipt / Makefile
1
2 PACKAGE=lib${LIB}
3 SHLIBDIR?=      /lib
4
5 .include <src.opts.mk>
6
7 PTSRC=  ${SRCTOP}/contrib/processor-trace
8
9 .PATH:  ${PTSRC}/libipt/src                     \
10         ${PTSRC}/libipt/src/posix               \
11         ${PTSRC}/libipt/internal/include        \
12         ${PTSRC}/libipt/include                 \
13         ${PTSRC}/include
14
15 LIB=    ipt
16 SHLIB_MAJOR=0
17
18 SRCS=   \
19         pt_asid.c                       \
20         pt_block_cache.c                \
21         pt_block_decoder.c              \
22         pt_config.c                     \
23         pt_cpu.c                        \
24         pt_cpuid.c                      \
25         pt_decoder_function.c           \
26         pt_encoder.c                    \
27         pt_error.c                      \
28         pt_event_queue.c                \
29         pt_ild.c                        \
30         pt_image_section_cache.c        \
31         pt_image.c                      \
32         pt_insn_decoder.c               \
33         pt_insn.c                       \
34         pt_last_ip.c                    \
35         pt_msec_cache.c                 \
36         pt_packet_decoder.c             \
37         pt_packet.c                     \
38         pt_query_decoder.c              \
39         pt_retstack.c                   \
40         pt_section_file.c               \
41         pt_section_posix.c              \
42         pt_section.c                    \
43         pt_sync.c                       \
44         pt_time.c                       \
45         pt_tnt_cache.c                  \
46         pt_version.c
47
48 CFLAGS+=        \
49         -I${PTSRC}/libipt/internal/include/posix        \
50         -I${PTSRC}/libipt/internal/include              \
51         -I${PTSRC}/libipt/include                       \
52         -I${PTSRC}/include                              \
53         -I${.CURDIR}
54
55 CFLAGS+=        \
56         -DPT_VERSION_BUILD=0    \
57         -DPT_VERSION_EXT=\"\"   \
58         -DPT_VERSION_MAJOR=1    \
59         -DPT_VERSION_MINOR=6    \
60         -DPT_VERSION_PATCH=0
61
62 INCS=   \
63         intel-pt.h      \
64         pt_cpu.h        \
65         pt_last_ip.h    \
66         pt_time.h       \
67         pt_compiler.h
68
69 INCSDIR=${INCLUDEDIR}/libipt
70
71 LIBADD= 
72
73 WARNS?= 1
74
75 HAS_TESTS=
76
77 .include <bsd.lib.mk>