| 1 | # SPDX-License-Identifier: LGPL-2.1-only |
| 2 | |
| 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils |
| 4 | |
| 5 | noinst_PROGRAMS = test_ust_utils |
| 6 | test_ust_utils_SOURCES = ust-utils.c ust-utils-common.h |
| 7 | test_ust_utils_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la \ |
| 8 | $(top_builddir)/tests/utils/libtap.a |
| 9 | |
| 10 | if HAVE_CXX |
| 11 | noinst_PROGRAMS += test_ust_utils_cxx |
| 12 | test_ust_utils_cxx_SOURCES = ust-utils-cxx.cpp ust-utils-common.h |
| 13 | test_ust_utils_cxx_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la \ |
| 14 | $(top_builddir)/tests/utils/libtap.a |
| 15 | endif |