X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=tests%2Fcompile%2Fapi1%2Ftest-app-ctx%2FMakefile.am;fp=tests%2Fcompile%2Fapi1%2Ftest-app-ctx%2FMakefile.am;h=5313b0112a4388d073d8d67b6058a12891c33742;hp=0000000000000000000000000000000000000000;hb=bebb067ef8020d5c36ab48271b0d9d9bb2b24e11;hpb=4405cc3e105e60c95939e595b8dddcd0940a0b92 diff --git a/tests/compile/api1/test-app-ctx/Makefile.am b/tests/compile/api1/test-app-ctx/Makefile.am new file mode 100644 index 00000000..5313b011 --- /dev/null +++ b/tests/compile/api1/test-app-ctx/Makefile.am @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: LGPL-2.1-only + +AM_CPPFLAGS += -I$(srcdir) + +noinst_PROGRAMS = hello hello-compatapi1 + +hello_SOURCES = hello.c tp.c ust_tests_hello.h +hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) +hello_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +# Compile without API0 compat macros +hello_compatapi1_SOURCES = hello.c tp.c ust_tests_hello.h +hello_compatapi1_CFLAGS = -Werror=old-style-definition -DLTTNG_UST_COMPAT_API_VERSION=1 $(AM_CFLAGS) +hello_compatapi1_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS)