1 # SPDX-License-Identifier: LGPL-2.1-only
3 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(srcdir)
10 libfakeust0_la_SOURCES = fake-ust.c fake-ust.h
11 libfakeust0_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/
13 libzero_la_SOURCES = libzero.c libzero.h
14 libzero_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/
15 libzero_la_LIBADD = libfakeust0.la
17 libone_la_SOURCES = libone.c libone.h
18 libone_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/
19 libone_la_LIBADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la
24 app_noust_indirect_abi0 \
25 app_noust_indirect_abi0_abi1 \
26 app_noust_indirect_abi1 \
29 app_ust_indirect_abi0 \
30 app_ust_indirect_abi0_abi1 \
33 app_ust_SOURCES = app_ust.c tp.c ust_tests_hello.h
35 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
38 app_ust_indirect_abi0_SOURCES = app_ust.c tp.c ust_tests_hello.h
39 app_ust_indirect_abi0_CFLAGS = -DUSE_LIBZERO $(AM_CFLAGS)
40 app_ust_indirect_abi0_LDADD = \
41 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
45 app_ust_indirect_abi1_SOURCES = app_ust.c tp.c ust_tests_hello.h
46 app_ust_indirect_abi1_CFLAGS = -DUSE_LIBONE $(AM_CFLAGS)
47 app_ust_indirect_abi1_LDADD = \
48 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
52 app_ust_indirect_abi0_abi1_SOURCES = app_ust.c tp.c ust_tests_hello.h
53 app_ust_indirect_abi0_abi1_CFLAGS = -DUSE_LIBZERO -DUSE_LIBONE $(AM_CFLAGS)
54 app_ust_indirect_abi0_abi1_LDADD = \
55 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
60 app_ust_dlopen_SOURCES = app_ust_dlopen.c tp.c ust_tests_hello.h
61 app_ust_dlopen_LDADD = \
62 $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \
65 app_noust_SOURCES = app_noust.c
67 app_noust_indirect_abi0_SOURCES = app_noust.c
68 app_noust_indirect_abi0_CFLAGS = -DUSE_LIBZERO $(AM_CFLAGS)
69 app_noust_indirect_abi0_LDADD = libzero.la
71 app_noust_indirect_abi1_SOURCES = app_noust.c
72 app_noust_indirect_abi1_CFLAGS = -DUSE_LIBONE $(AM_CFLAGS)
73 app_noust_indirect_abi1_LDADD = libone.la
75 app_noust_indirect_abi0_abi1_SOURCES = app_noust.c
76 app_noust_indirect_abi0_abi1_CFLAGS = -DUSE_LIBZERO -DUSE_LIBONE $(AM_CFLAGS)
77 app_noust_indirect_abi0_abi1_LDADD = libzero.la libone.la
79 app_noust_dlopen_SOURCES = app_noust_dlopen.c
80 app_noust_dlopen_LDADD = \
83 dist_noinst_SCRIPTS = test_abi0_conflict