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 \ |
0c95f5b2 | 32 | utils.c utils.h lttng.c |
fac6795d | 33 | |
f541e771 YL |
34 | lttng_CFLAGS = $(AM_CFLAGS) $(POPT_CFLAGS) |
35 | ||
00e2e675 | 36 | lttng_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ |
8c42d845 | 37 | $(top_builddir)/src/common/libcommon.la \ |
9f449915 | 38 | $(top_builddir)/src/common/config/libconfig.la \ |
4f985cf8 MJ |
39 | $(top_builddir)/src/common/string-utils/libstring-utils.la \ |
40 | $(POPT_LIBS) |