tor/src/trace/include.am
Alexander Færøy 236cf49670
Add stub function for libor-trace.
OS X's ar(1) doesn't allow us to create an archive with no object files.
This patch adds a stub file with a stub function in it to make OS X
happy again.
2017-04-25 18:02:19 +02:00

23 lines
479 B
Plaintext

# Include the src/ so we can use the trace/events.h statement when including
# any file in that directory.
AM_CPPFLAGS += -I$(srcdir)/src
noinst_LIBRARIES += \
src/trace/libor-trace.a
LIBOR_TRACE_A_SOURCES = \
src/trace/trace.c
TRACEHEADERS = \
src/trace/trace.h \
src/trace/events.h
if USE_EVENT_TRACING_DEBUG
TRACEHEADERS += \
src/trace/debug.h
endif
# Library source files.
src_trace_libor_trace_a_SOURCES = $(LIBOR_TRACE_A_SOURCES)
noinst_HEADERS+= $(TRACEHEADERS)