| 1 | AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/lib -DBABELTRACE_HAVE_LIBUUID -DBABELTRACE_HAVE_FMEMOPEN -DBABELTRACE_HAVE_OPEN_MEMSTREAM |
| 2 | |
| 3 | lib_LTLIBRARIES = libbabeltrace-lttngtop-live.la |
| 4 | |
| 5 | libbabeltrace_lttngtop_live_la_SOURCES = \ |
| 6 | network-live.c lttng-live-comm.c |
| 7 | |
| 8 | bin_PROGRAMS = lttngtop |
| 9 | |
| 10 | noinst_HEADERS = \ |
| 11 | lttngtoptypes.h \ |
| 12 | common.h \ |
| 13 | cputop.h \ |
| 14 | cursesdisplay.h \ |
| 15 | iostreamtop.h \ |
| 16 | mmap-live.h \ |
| 17 | network-live.h \ |
| 18 | lttng-live-comm.h \ |
| 19 | lttng-viewer-abi.h \ |
| 20 | lttngtop.h \ |
| 21 | lttng-session.h \ |
| 22 | $(top_builddir)/lib/babeltrace/format.h \ |
| 23 | $(top_builddir)/lib/babeltrace/compat/memstream.h \ |
| 24 | $(top_builddir)/lib/babeltrace/compat/string.h \ |
| 25 | $(top_builddir)/lib/babeltrace/compat/utc.h \ |
| 26 | $(top_builddir)/lib/babeltrace/compat/uuid.h \ |
| 27 | $(top_builddir)/lib/babeltrace/compiler.h \ |
| 28 | $(top_builddir)/lib/babeltrace/types.h \ |
| 29 | $(top_builddir)/lib/babeltrace/context-internal.h \ |
| 30 | $(top_builddir)/lib/babeltrace/format-internal.h \ |
| 31 | $(top_builddir)/lib/babeltrace/babeltrace.h \ |
| 32 | $(top_builddir)/lib/babeltrace/trace-collection.h \ |
| 33 | $(top_builddir)/lib/babeltrace/clock-internal.h \ |
| 34 | $(top_builddir)/lib/babeltrace/mmap-align.h \ |
| 35 | $(top_builddir)/lib/babeltrace/list.h \ |
| 36 | $(top_builddir)/lib/babeltrace/iterator.h \ |
| 37 | $(top_builddir)/lib/babeltrace/ctf-ir/metadata.h \ |
| 38 | $(top_builddir)/lib/babeltrace/ctf-text/types.h \ |
| 39 | $(top_builddir)/lib/babeltrace/context.h \ |
| 40 | $(top_builddir)/lib/babeltrace/iterator-internal.h \ |
| 41 | $(top_builddir)/lib/babeltrace/bitfield.h \ |
| 42 | $(top_builddir)/lib/babeltrace/trace-handle.h \ |
| 43 | $(top_builddir)/lib/babeltrace/trace-handle-internal.h \ |
| 44 | $(top_builddir)/lib/babeltrace/babeltrace-internal.h \ |
| 45 | $(top_builddir)/lib/babeltrace/align.h \ |
| 46 | $(top_builddir)/lib/babeltrace/ctf/types.h \ |
| 47 | $(top_builddir)/lib/babeltrace/ctf/callbacks-internal.h \ |
| 48 | $(top_builddir)/lib/babeltrace/ctf/ctf-index.h \ |
| 49 | $(top_builddir)/lib/babeltrace/ctf/iterator.h \ |
| 50 | $(top_builddir)/lib/babeltrace/ctf/events-internal.h \ |
| 51 | $(top_builddir)/lib/babeltrace/ctf/callbacks.h \ |
| 52 | $(top_builddir)/lib/babeltrace/ctf/metadata.h \ |
| 53 | $(top_builddir)/lib/babeltrace/ctf/events.h \ |
| 54 | $(top_builddir)/lib/babeltrace/clock-types.h \ |
| 55 | $(top_builddir)/lib/babeltrace/prio_heap.h \ |
| 56 | $(top_builddir)/lib/babeltrace/endian.h |
| 57 | |
| 58 | |
| 59 | lttngtop_SOURCES = \ |
| 60 | lttngtop.c \ |
| 61 | common.c \ |
| 62 | cursesdisplay.c \ |
| 63 | cputop.c \ |
| 64 | iostreamtop.c \ |
| 65 | mmap-live.c \ |
| 66 | lttng-session.c |
| 67 | |
| 68 | lttngtop_LDFLAGS = -Wl,--no-as-needed |
| 69 | |
| 70 | lttngtop_LDADD = -lbabeltrace -lbabeltrace-ctf -llttng-ctl \ |
| 71 | -lurcu -llttng-ust-ctl $(lib_LTLIBRARIES) |