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
|