X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fcompile%2Fapi1%2Fhello.cxx%2FMakefile.am;fp=tests%2Fcompile%2Fapi1%2Fhello.cxx%2FMakefile.am;h=fe1c8ab88eae552c5cfaef1b3b670ed500a2353c;hb=bebb067ef8020d5c36ab48271b0d9d9bb2b24e11;hp=0000000000000000000000000000000000000000;hpb=4405cc3e105e60c95939e595b8dddcd0940a0b92;p=lttng-ust.git diff --git a/tests/compile/api1/hello.cxx/Makefile.am b/tests/compile/api1/hello.cxx/Makefile.am new file mode 100644 index 00000000..fe1c8ab8 --- /dev/null +++ b/tests/compile/api1/hello.cxx/Makefile.am @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: LGPL-2.1-only + +AM_CPPFLAGS += -I$(srcdir) + +noinst_PROGRAMS = hello hello-compatapi1 + +hello_SOURCES = hello.cpp tp-cpp.cpp ust_tests_hello.h +hello_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +# Compile without API0 compat macros +hello_compatapi1_SOURCES = hello.cpp tp-cpp.cpp ust_tests_hello.h +hello_compatapi1_CFLAGS = -DLTTNG_UST_COMPAT_API_VERSION=1 $(AM_CFLAGS) +hello_compatapi1_LDADD = \ + $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ + $(DL_LIBS) + +EXTRA_DIST = README