Merge branch 'fix-changelogs' into 'main'
[tor.git] / src / lib / trace / include.am
blob6fe136565209393818edf3753228dbd43b832e47
2 noinst_LIBRARIES += \
3         src/lib/libtor-trace.a
5 # ADD_C_FILE: INSERT SOURCES HERE.
6 LIBTOR_TRACE_A_SOURCES = \
7         src/lib/trace/trace.c   \
8         src/lib/trace/trace_sys.c
10 # ADD_C_FILE: INSERT HEADERS HERE.
11 TRACEHEADERS = \
12         src/lib/trace/trace.h           \
13         src/lib/trace/trace_sys.h       \
14         src/lib/trace/events.h
16 if USE_TRACING_INSTRUMENTATION_LOG_DEBUG
17 TRACEHEADERS += \
18         src/lib/trace/debug.h
19 endif
21 if USE_TRACING_INSTRUMENTATION_USDT
22 include src/lib/trace/usdt/include.am
23 endif
25 if USE_TRACING_INSTRUMENTATION_LTTNG
26 include src/lib/trace/lttng/include.am
27 endif
29 if USE_TRACING
30 src_lib_libtor_trace_a_SOURCES = $(LIBTOR_TRACE_A_SOURCES)
31 else
32 src_lib_libtor_trace_a_SOURCES = src/lib/trace/trace_stub.c
33 endif
35 noinst_HEADERS+= $(TRACEHEADERS)