1 # SPDX-License-Identifier: LGPL-2.1-only
3 AM_CPPFLAGS += -I$(srcdir)
5 noinst_PROGRAMS = hello hello-compatapi1
7 hello_SOURCES = hello.c tp.c ust_tests_hello.h
8 hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
10 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
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 \