tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / type-declarations / Makefile.am
index be4978be32fd7186dbbc59a67d4268f391cda035..f24a8fbd5cb92c77236c3a67147dc1c2bf96a4fb 100644 (file)
@@ -1,15 +1,11 @@
-AM_CPPFLAGS = -I$(srcdir)
+# SPDX-License-Identifier: GPL-2.0-only
+
+AM_CPPFLAGS += -I$(srcdir)
 
 noinst_PROGRAMS = type-declarations
 type_declarations_SOURCES = type-declarations.c ust_tests_td.h
-type_declarations_LDADD = -llttng-ust
-
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-type_declarations_LDADD += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-type_declarations_LDADD += -lc
-endif
+type_declarations_LDADD = $(UST_LIBS) $(DL_LIBS)
+type_declarations_CPPFLAGS = $(UST_CFLAGS) $(DL_CFLAGS) $(AM_CPPFLAGS)
 
 noinst_SCRIPTS = test_type_declarations test_type_declarations.py
 EXTRA_DIST = test_type_declarations test_type_declarations.py
This page took 0.025951 seconds and 5 git commands to generate.