if HAVE_LIBLTTNG_UST_CTL
noinst_PROGRAMS = gen-ust-nevents
-gen_ust_nevents_SOURCES = gen-ust-nevents.c tp.c tp.h
+gen_ust_nevents_SOURCES = \
+ gen-ust-nevents.cpp \
+ tp.c \
+ tp.h
gen_ust_nevents_LDADD = $(UST_LIBS) \
$(top_builddir)/tests/utils/libtestutils.la \
$(DL_LIBS)