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