Commit | Line | Data |
---|---|---|
ab5be9fa MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
343af227 | 3 | AM_CPPFLAGS += -DINSTALL_BIN_PATH=\""$(bindir)"\" |
3f5fa9ed | 4 | |
4fc83d94 PP |
5 | if EMBED_HELP |
6 | AM_CPPFLAGS += -I$(top_builddir)/doc/man | |
7 | endif | |
8 | ||
d26c59c5 MD |
9 | AUTOMAKE_OPTIONS = subdir-objects |
10 | ||
fac6795d DG |
11 | bin_PROGRAMS = lttng |
12 | ||
48a40005 SM |
13 | lttng_SOURCES = command.h conf.cpp conf.h commands/start.cpp \ |
14 | commands/list.cpp commands/create.cpp commands/destroy.cpp \ | |
15 | commands/stop.cpp commands/enable_events.cpp \ | |
16 | commands/disable_events.cpp commands/enable_channels.cpp \ | |
17 | commands/disable_channels.cpp commands/add_context.cpp \ | |
18 | commands/set_session.cpp commands/version.cpp \ | |
19 | commands/view.cpp \ | |
20 | commands/snapshot.cpp \ | |
21 | commands/save.cpp \ | |
22 | commands/load.cpp \ | |
23 | commands/track-untrack.cpp \ | |
24 | commands/status.cpp \ | |
25 | commands/metadata.cpp \ | |
26 | commands/regenerate.cpp \ | |
27 | commands/help.cpp \ | |
28 | commands/rotate.cpp \ | |
29 | commands/enable_rotation.cpp \ | |
30 | commands/disable_rotation.cpp \ | |
31 | commands/clear.cpp \ | |
32 | loglevel.cpp loglevel.h \ | |
33 | commands/add_trigger.cpp \ | |
34 | commands/list_triggers.cpp \ | |
35 | commands/remove_trigger.cpp \ | |
36 | utils.cpp utils.h lttng.cpp \ | |
37 | uprobe.cpp uprobe.h | |
fac6795d | 38 | |
48a40005 | 39 | lttng_CXXFLAGS = $(AM_CXXFLAGS) $(POPT_CFLAGS) |
f541e771 | 40 | |
00e2e675 | 41 | lttng_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ |
8c42d845 | 42 | $(top_builddir)/src/common/libcommon.la \ |
9f449915 | 43 | $(top_builddir)/src/common/config/libconfig.la \ |
4f985cf8 | 44 | $(top_builddir)/src/common/string-utils/libstring-utils.la \ |
e4d2f27a | 45 | $(top_builddir)/src/common/filter/libfilter.la \ |
d50d200a | 46 | $(top_builddir)/src/common/argpar-utils/libargpar-utils.la \ |
4624dad0 | 47 | $(top_builddir)/src/common/argpar/libargpar.la \ |
4f985cf8 | 48 | $(POPT_LIBS) |