Commit | Line | Data |
---|---|---|
595ed92e JR |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
3 | AM_CPPFLAGS += -I$(srcdir) | |
4 | ||
5 | LIBLTTNG_CTL=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la | |
6 | dist_noinst_SCRIPTS = demo.sh | |
7 | EXTRA_DIST = README.md | |
8 | ||
9 | if HAVE_LIBLTTNG_UST_CTL | |
10 | noinst_PROGRAMS = instrumented-app notification-client | |
11 | noinst_LIBRARIES = libtracepoint-trigger-example.a | |
12 | ||
13 | libtracepoint_trigger_example_a_SOURCES = tracepoint-trigger-example.c tracepoint-trigger-example.h | |
14 | ||
15 | instrumented_app_SOURCES = instrumented-app.c | |
16 | instrumented_app_LDADD = libtracepoint-trigger-example.a $(UST_LIBS) $(DL_LIBS) | |
17 | ||
18 | notification_client_SOURCES = notification-client.c | |
19 | notification_client_LDADD = $(LIBLTTNG_CTL) | |
20 | ||
21 | endif |