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