Clean-up: tests: bt2 plug-ins: modernize the plug-ins
[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) \
26 -rpath / -avoid-version -module $(LD_NOTEXT)
27
28lttngtest_la_LIBADD = \
29 event_name/event_name.la \
30 field_stats/field_stats.la
This page took 0.023609 seconds and 4 git commands to generate.