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