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 | ||
c9e313bc | 13 | lttng_SOURCES = command.hpp conf.cpp conf.hpp commands/start.cpp \ |
48a40005 SM |
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 \ | |
c9e313bc | 32 | loglevel.cpp loglevel.hpp \ |
48a40005 SM |
33 | commands/add_trigger.cpp \ |
34 | commands/list_triggers.cpp \ | |
35 | commands/remove_trigger.cpp \ | |
c9e313bc SM |
36 | utils.cpp utils.hpp lttng.cpp \ |
37 | uprobe.cpp uprobe.hpp | |
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 \ |
c46a183e | 42 | $(top_builddir)/src/common/libcommon-lgpl.la \ |
4971b7f0 | 43 | $(top_builddir)/src/common/libpath.la \ |
4ae04234 MJ |
44 | $(top_builddir)/src/common/libconfig.la \ |
45 | $(top_builddir)/src/common/libstring-utils.la \ | |
46 | $(top_builddir)/src/common/libfilter.la \ | |
47 | $(top_builddir)/src/common/libargpar-utils.la \ | |
48 | $(top_builddir)/src/common/libargpar.la \ | |
4f985cf8 | 49 | $(POPT_LIBS) |