X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fcompile%2Fapi1%2Fhello-many%2FMakefile.am;fp=tests%2Fcompile%2Fapi1%2Fhello-many%2FMakefile.am;h=3e50e497424ccd2c0cd74094594ecc8d7bb47f6b;hb=bebb067ef8020d5c36ab48271b0d9d9bb2b24e11;hp=0000000000000000000000000000000000000000;hpb=4405cc3e105e60c95939e595b8dddcd0940a0b92;p=lttng-ust.git diff --git a/tests/compile/api1/hello-many/Makefile.am b/tests/compile/api1/hello-many/Makefile.am new file mode 100644 index 00000000..3e50e497 --- /dev/null +++ b/tests/compile/api1/hello-many/Makefile.am @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: LGPL-2.1-only + +AM_CPPFLAGS += -I$(srcdir) + +noinst_PROGRAMS = hello-many hello-many-compatapi1 + +hello_many_SOURCES = hello-many.c tp.c ust_tests_hello_many.h +hello_many_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) +hello_many_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +# Compile without API0 compat macros +hello_many_compatapi1_SOURCES = hello-many.c tp.c ust_tests_hello_many.h +hello_many_compatapi1_CFLAGS = -Werror=old-style-definition -DLTTNG_UST_COMPAT_API_VERSION=1 $(AM_CFLAGS) +hello_many_compatapi1_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +EXTRA_DIST = README