1 # SPDX-License-Identifier: GPL-2.0-only
3 AM_CPPFLAGS += -I$(srcdir)
5 AM_CFLAGS += -Wno-redundant-decls
7 LIBLTTNG_CTL=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
8 dist_noinst_SCRIPTS = demo.sh
11 if HAVE_LIBLTTNG_UST_CTL
12 noinst_PROGRAMS = instrumented-app notification-client
13 noinst_LIBRARIES = libtracepoint-trigger-example.a
15 libtracepoint_trigger_example_a_SOURCES = tracepoint-trigger-example.c tracepoint-trigger-example.h
17 instrumented_app_SOURCES = instrumented-app.c
18 instrumented_app_LDADD = libtracepoint-trigger-example.a $(UST_LIBS) $(DL_LIBS)
20 notification_client_SOURCES = notification-client.cpp
21 notification_client_LDADD = $(LIBLTTNG_CTL)