File: Makefile.am

package info (click to toggle)
ltt-control 2.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,860 kB
  • sloc: cpp: 192,012; sh: 28,777; ansic: 10,960; python: 7,108; makefile: 3,520; java: 109; xml: 46
file content (23 lines) | stat: -rw-r--r-- 686 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: GPL-2.0-only

AM_CPPFLAGS += -I$(srcdir)

AM_CFLAGS += -Wno-redundant-decls

LIBLTTNG_CTL=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
dist_noinst_SCRIPTS = demo.sh
EXTRA_DIST = README.md

if HAVE_LIBLTTNG_UST_CTL
noinst_PROGRAMS = instrumented-app notification-client
noinst_LIBRARIES = libtracepoint-trigger-example.a

libtracepoint_trigger_example_a_SOURCES = tracepoint-trigger-example.c tracepoint-trigger-example.h

instrumented_app_SOURCES = instrumented-app.c
instrumented_app_LDADD = libtracepoint-trigger-example.a $(UST_LIBS) $(DL_LIBS)

notification_client_SOURCES = notification-client.cpp
notification_client_LDADD = $(LIBLTTNG_CTL)

endif