1 # SPDX-License-Identifier: GPL-2.0-only
3 AM_CPPFLAGS += -I$(srcdir)
5 LIBLTTNG_CTL=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
6 dist_noinst_SCRIPTS = demo.sh
9 if HAVE_LIBLTTNG_UST_CTL
10 noinst_PROGRAMS = instrumented-app notification-client
11 noinst_LIBRARIES = libtracepoint-trigger-example.a
13 libtracepoint_trigger_example_a_SOURCES = tracepoint-trigger-example.c tracepoint-trigger-example.h
15 instrumented_app_SOURCES = instrumented-app.c
16 instrumented_app_LDADD = libtracepoint-trigger-example.a $(UST_LIBS) $(DL_LIBS)
18 notification_client_SOURCES = notification-client.c
19 notification_client_LDADD = $(LIBLTTNG_CTL)