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 | ||
68080f48 | 13 | lttng_SOURCES = command.h conf.c conf.h commands/start.c \ |
f3ed775e DG |
14 | commands/list.c commands/create.c commands/destroy.c \ |
15 | commands/stop.c commands/enable_events.c \ | |
d36b8583 | 16 | commands/disable_events.c commands/enable_channels.c \ |
d65106b1 | 17 | commands/disable_channels.c commands/add_context.c \ |
eb9cb8b7 | 18 | commands/set_session.c commands/version.c \ |
95057847 | 19 | commands/view.c \ |
57f272ed | 20 | commands/snapshot.c \ |
c864d6d7 | 21 | commands/save.c \ |
8c42d845 | 22 | commands/load.c \ |
ccf10263 | 23 | commands/track-untrack.c \ |
54a0adbf | 24 | commands/status.c \ |
93ec662e | 25 | commands/metadata.c \ |
eded6438 | 26 | commands/regenerate.c \ |
960afba4 | 27 | commands/help.c \ |
d68c9a04 | 28 | commands/rotate.c \ |
259c2674 JD |
29 | commands/enable_rotation.c \ |
30 | commands/disable_rotation.c \ | |
511ed4e2 | 31 | commands/clear.c \ |
7e8f2e9c | 32 | loglevel.c loglevel.h \ |
4624dad0 | 33 | commands/add_trigger.c \ |
0de2479d | 34 | commands/list_triggers.c \ |
b61776fb | 35 | commands/remove_trigger.c \ |
4624dad0 | 36 | utils.c utils.h lttng.c \ |
0c4e727b | 37 | uprobe.c uprobe.h |
fac6795d | 38 | |
f541e771 YL |
39 | lttng_CFLAGS = $(AM_CFLAGS) $(POPT_CFLAGS) |
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 \ |
4624dad0 | 46 | $(top_builddir)/src/common/argpar/libargpar.la \ |
4f985cf8 | 47 | $(POPT_LIBS) |