Use pkgconfig to detect and configure liblttng-ust
[lttng-tools.git] / tests / regression / ust / type-declarations / Makefile.am
index db39b1cc3aac4e6c79bbb122d07cd41f2cb14fe0..dd4eda26bfba225dffd8102e06c97b9017732a61 100644 (file)
@@ -2,7 +2,8 @@ AM_CPPFLAGS += -I$(srcdir)
 
 noinst_PROGRAMS = type-declarations
 type_declarations_SOURCES = type-declarations.c ust_tests_td.h
-type_declarations_LDADD = -llttng-ust $(DL_LIBS)
+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.023126 seconds and 5 git commands to generate.