1 # SPDX-FileCopyrightText: 2023 EfficiOS, Inc
3 # SPDX-License-Identifier: LGPL-2.1-only
5 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(srcdir)
12 libfakeust0_la_SOURCES = fake-ust.c fake-ust.h
13 libfakeust0_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/
15 libzero_la_SOURCES = libzero.c libzero.h
16 libzero_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/
17 libzero_la_LIBADD = libfakeust0.la
19 libone_la_SOURCES = libone.c libone.h
20 libone_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/
21 libone_la_LIBADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la
26 app_noust_indirect_abi0 \
27 app_noust_indirect_abi0_abi1 \
28 app_noust_indirect_abi1 \
31 app_ust_indirect_abi0 \
32 app_ust_indirect_abi0_abi1 \
35 app_ust_SOURCES = app_ust.c tp.c ust_tests_hello.h
37 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
40 app_ust_indirect_abi0_SOURCES = app_ust.c tp.c ust_tests_hello.h
41 app_ust_indirect_abi0_CFLAGS = -DUSE_LIBZERO $(AM_CFLAGS)
42 app_ust_indirect_abi0_LDADD = \
43 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
47 app_ust_indirect_abi1_SOURCES = app_ust.c tp.c ust_tests_hello.h
48 app_ust_indirect_abi1_CFLAGS = -DUSE_LIBONE $(AM_CFLAGS)
49 app_ust_indirect_abi1_LDADD = \
50 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
54 app_ust_indirect_abi0_abi1_SOURCES = app_ust.c tp.c ust_tests_hello.h
55 app_ust_indirect_abi0_abi1_CFLAGS = -DUSE_LIBZERO -DUSE_LIBONE $(AM_CFLAGS)
56 app_ust_indirect_abi0_abi1_LDADD = \
57 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
62 app_ust_dlopen_SOURCES = app_ust_dlopen.c tp.c ust_tests_hello.h
63 app_ust_dlopen_LDADD = \
64 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
67 app_noust_SOURCES = app_noust.c
69 app_noust_indirect_abi0_SOURCES = app_noust.c
70 app_noust_indirect_abi0_CFLAGS = -DUSE_LIBZERO $(AM_CFLAGS)
71 app_noust_indirect_abi0_LDADD = libzero.la
73 app_noust_indirect_abi1_SOURCES = app_noust.c
74 app_noust_indirect_abi1_CFLAGS = -DUSE_LIBONE $(AM_CFLAGS)
75 app_noust_indirect_abi1_LDADD = libone.la
77 app_noust_indirect_abi0_abi1_SOURCES = app_noust.c
78 app_noust_indirect_abi0_abi1_CFLAGS = -DUSE_LIBZERO -DUSE_LIBONE $(AM_CFLAGS)
79 app_noust_indirect_abi0_abi1_LDADD = libzero.la libone.la
81 app_noust_dlopen_SOURCES = app_noust_dlopen.c
82 app_noust_dlopen_LDADD = \
85 dist_noinst_SCRIPTS = test_abi0_conflict