Commit | Line | Data |
---|---|---|
9f263671 KS |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
3 | SUBDIRS = event_name field_stats | |
4 | ||
5 | AM_CPPFLAGS += -I$(srcdir) | |
6 | AM_CXXFLAGS += $(babeltrace2_CFLAGS) \ | |
7 | $(WARN_FLAGS) | |
8 | ||
9 | noinst_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. | |
14 | lttngtest_la_CXXFLAGS = \ | |
15 | $(AM_CXXFLAGS) \ | |
16 | -fvisibility=default | |
17 | ||
18 | lttngtest_la_SOURCES = \ | |
d73aeddd JG |
19 | lttngtest-plugin.cpp \ |
20 | fmt.hpp \ | |
21 | utils.hpp | |
9f263671 KS |
22 | |
23 | lttngtest_la_LDFLAGS = \ | |
24 | $(AM_LDFLAGS) \ | |
25 | $(LD_NO_UNDEFINED) \ | |
26 | -rpath / -avoid-version -module $(LD_NOTEXT) | |
27 | ||
28 | lttngtest_la_LIBADD = \ | |
29 | event_name/event_name.la \ | |
30 | field_stats/field_stats.la |