Commit | Line | Data |
---|---|---|
442175e6 MJ |
1 | # SPDX-License-Identifier: LGPL-2.1-only |
2 | ||
3 | AM_CPPFLAGS += -I$(srcdir) | |
4 | ||
5 | noinst_PROGRAMS = hello hello-compatapi1 | |
6 | ||
7 | hello_SOURCES = hello.c tp.c ust_tests_hello.h | |
8 | hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) | |
9 | hello_LDADD = \ | |
10 | $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ | |
11 | $(DL_LIBS) | |
12 | ||
13 | # Compile without API0 compat macros | |
14 | hello_compatapi1_SOURCES = hello.c tp.c ust_tests_hello.h | |
15 | hello_compatapi1_CFLAGS = -Werror=old-style-definition -DLTTNG_UST_COMPAT_API_VERSION=1 $(AM_CFLAGS) | |
16 | hello_compatapi1_LDADD = \ | |
17 | $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ | |
18 | $(DL_LIBS) | |
19 | ||
20 | EXTRA_DIST = README |