1 # SPDX-FileCopyrightText: 2023 EfficiOS, Inc
3 # SPDX-License-Identifier: LGPL-2.1-only
5 AM_CPPFLAGS += -I$(srcdir)
7 noinst_PROGRAMS = hello hello-compatapi1
9 hello_SOURCES = hello.c tp.c ust_tests_hello.h
10 hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
12 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
15 # Compile without API0 compat macros
16 hello_compatapi1_SOURCES = hello.c tp.c ust_tests_hello.h
17 hello_compatapi1_CFLAGS = -Werror=old-style-definition -DLTTNG_UST_COMPAT_API_VERSION=1 $(AM_CFLAGS)
18 hello_compatapi1_LDADD = \
19 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
23 Makefile.example.bsd \
24 Makefile.example.linux \