Commit | Line | Data |
---|---|---|
e03d7c66 MJ |
1 | # SPDX-FileCopyrightText: 2023 EfficiOS, Inc |
2 | # | |
bebb067e MJ |
3 | # SPDX-License-Identifier: LGPL-2.1-only |
4 | ||
5 | AM_CPPFLAGS += -I$(srcdir) | |
6 | ||
7 | noinst_PROGRAMS = hello-many hello-many-compatapi1 | |
8 | ||
9 | hello_many_SOURCES = hello-many.c tp.c ust_tests_hello_many.h | |
10 | hello_many_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) | |
11 | hello_many_LDADD = \ | |
12 | $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ | |
13 | $(DL_LIBS) | |
14 | ||
15 | # Compile without API0 compat macros | |
16 | hello_many_compatapi1_SOURCES = hello-many.c tp.c ust_tests_hello_many.h | |
17 | hello_many_compatapi1_CFLAGS = -Werror=old-style-definition -DLTTNG_UST_COMPAT_API_VERSION=1 $(AM_CFLAGS) | |
18 | hello_many_compatapi1_LDADD = \ | |
19 | $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ | |
20 | $(DL_LIBS) | |
21 | ||
89a8858d | 22 | EXTRA_DIST = README.md |