X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fabi0-conflict%2FMakefile.am;fp=tests%2Fregression%2Fabi0-conflict%2FMakefile.am;h=5b8761b6be270acd6517e52003bf570d5f924b51;hb=d2a010d1e67e246e8ab4a847b8bbbdbce2b4e2d7;hp=0000000000000000000000000000000000000000;hpb=6f78600e9600f413ebdf532e154d8946725d83fd;p=lttng-ust.git diff --git a/tests/regression/abi0-conflict/Makefile.am b/tests/regression/abi0-conflict/Makefile.am new file mode 100644 index 00000000..5b8761b6 --- /dev/null +++ b/tests/regression/abi0-conflict/Makefile.am @@ -0,0 +1,83 @@ +# SPDX-License-Identifier: LGPL-2.1-only + +AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(srcdir) + +noinst_LTLIBRARIES = \ + libfakeust0.la \ + libone.la \ + libzero.la + +libfakeust0_la_SOURCES = fake-ust.c fake-ust.h +libfakeust0_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/ + +libzero_la_SOURCES = libzero.c libzero.h +libzero_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/ +libzero_la_LIBADD = libfakeust0.la + +libone_la_SOURCES = libone.c libone.h +libone_la_LDFLAGS = -module -shared -avoid-version -rpath $(abs_builddir)/.libs/ +libone_la_LIBADD = $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la + +noinst_PROGRAMS = \ + app_noust \ + app_noust_dlopen \ + app_noust_indirect_abi0 \ + app_noust_indirect_abi0_abi1 \ + app_noust_indirect_abi1 \ + app_ust \ + app_ust_dlopen \ + app_ust_indirect_abi0 \ + app_ust_indirect_abi0_abi1 \ + app_ust_indirect_abi1 + +app_ust_SOURCES = app_ust.c tp.c ust_tests_hello.h +app_ust_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +app_ust_indirect_abi0_SOURCES = app_ust.c tp.c ust_tests_hello.h +app_ust_indirect_abi0_CFLAGS = -DUSE_LIBZERO $(AM_CFLAGS) +app_ust_indirect_abi0_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + libzero.la \ + $(DL_LIBS) + +app_ust_indirect_abi1_SOURCES = app_ust.c tp.c ust_tests_hello.h +app_ust_indirect_abi1_CFLAGS = -DUSE_LIBONE $(AM_CFLAGS) +app_ust_indirect_abi1_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + libone.la \ + $(DL_LIBS) + +app_ust_indirect_abi0_abi1_SOURCES = app_ust.c tp.c ust_tests_hello.h +app_ust_indirect_abi0_abi1_CFLAGS = -DUSE_LIBZERO -DUSE_LIBONE $(AM_CFLAGS) +app_ust_indirect_abi0_abi1_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + libzero.la \ + libone.la \ + $(DL_LIBS) + +app_ust_dlopen_SOURCES = app_ust_dlopen.c tp.c ust_tests_hello.h +app_ust_dlopen_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +app_noust_SOURCES = app_noust.c + +app_noust_indirect_abi0_SOURCES = app_noust.c +app_noust_indirect_abi0_CFLAGS = -DUSE_LIBZERO $(AM_CFLAGS) +app_noust_indirect_abi0_LDADD = libzero.la + +app_noust_indirect_abi1_SOURCES = app_noust.c +app_noust_indirect_abi1_CFLAGS = -DUSE_LIBONE $(AM_CFLAGS) +app_noust_indirect_abi1_LDADD = libone.la + +app_noust_indirect_abi0_abi1_SOURCES = app_noust.c +app_noust_indirect_abi0_abi1_CFLAGS = -DUSE_LIBZERO -DUSE_LIBONE $(AM_CFLAGS) +app_noust_indirect_abi0_abi1_LDADD = libzero.la libone.la + +app_noust_dlopen_SOURCES = app_noust_dlopen.c +app_noust_dlopen_LDADD = \ + $(DL_LIBS) + +dist_noinst_SCRIPTS = test_abi0_conflict