X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2FMakefile.am;fp=tests%2Fregression%2Ftools%2Fnotification%2FMakefile.am;h=4029a21263d640dd572d130113c08aaea63192fd;hp=2f1a9174e9a867cb7f9cbcf712e0b5144120c062;hb=729c1fec5976af17fded2f026725a08ef1924290;hpb=488dbb6062973d4990a33284e4717d89a893339d diff --git a/tests/regression/tools/notification/Makefile.am b/tests/regression/tools/notification/Makefile.am index 2f1a9174e..4029a2126 100644 --- a/tests/regression/tools/notification/Makefile.am +++ b/tests/regression/tools/notification/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only -AM_CFLAGS += -I$(top_srcdir)/tests/utils +AM_CPPFLAGS += -I$(top_srcdir)/tests/utils LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la LIB_LTTNG_CTL = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la @@ -14,7 +14,7 @@ EXTRA_DIST = \ base_client.c \ consumer_testpoints.cpp \ sessiond_testpoints.cpp \ - notification.c \ + notification.cpp \ test_notification_kernel_buffer_usage \ test_notification_kernel_capture \ test_notification_kernel_error \ @@ -54,9 +54,9 @@ noinst_LTLIBRARIES = libpause_sessiond.la libpause_consumer.la base_client_SOURCES = base_client.c base_client_LDADD = $(LIB_LTTNG_CTL) -notification_SOURCES = notification.c +notification_SOURCES = notification.cpp # Tests the deprecated lttng_register_trigger() interface -notification_CFLAGS = -Wno-deprecated-declarations $(AM_CFLAGS) +notification_CXXFLAGS = -Wno-deprecated-declarations $(AM_CXXFLAGS) notification_LDADD = $(LIB_LTTNG_CTL) $(LIBTAP) -lm rotation_SOURCES = rotation.c