Use compiler-agnostic defines to silence warning
[lttng-tools.git] / tests / utils / bt2_plugins / Makefile.am
CommitLineData
9f263671
KS
1# SPDX-License-Identifier: GPL-2.0-only
2
3SUBDIRS = event_name field_stats
4
5AM_CPPFLAGS += -I$(srcdir)
6AM_CXXFLAGS += $(babeltrace2_CFLAGS) \
7 $(WARN_FLAGS)
8
9noinst_LTLIBRARIES = lttngtest.la
10
11# lttng-tools uses -fvisibility=hidden by default, but to
12# produce a loadable plugin some of the symbols must not be
13# hidden. Override the `-fvisibility` for this shared object.
14lttngtest_la_CXXFLAGS = \
15 $(AM_CXXFLAGS) \
16 -fvisibility=default
17
18lttngtest_la_SOURCES = \
d73aeddd
JG
19 lttngtest-plugin.cpp \
20 fmt.hpp \
21 utils.hpp
9f263671
KS
22
23lttngtest_la_LDFLAGS = \
24 $(AM_LDFLAGS) \
25 $(LD_NO_UNDEFINED) \
bd9231e4 26 $(top_builddir)/src/vendor/fmt/libfmt.la \
9f263671
KS
27 -rpath / -avoid-version -module $(LD_NOTEXT)
28
29lttngtest_la_LIBADD = \
30 event_name/event_name.la \
31 field_stats/field_stats.la
This page took 0.027769 seconds and 4 git commands to generate.