-noinst_PROGRAMS = notification-client
-notification_client_SOURCES = notification-client.c
-notification_client_LDADD = $(LIBLTTNG_CTL) \
- $(top_builddir)/tests/utils/libtestutils.la
+noinst_PROGRAMS = \
+ notification-client \
+ register-some-triggers
+
+notification_client_SOURCES = notification-client.cpp
+notification_client_LDADD = $(LIBLTTNG_CTL) $(LIBCOMMON_LGPL) \
+ $(top_builddir)/tests/utils/libtestutils.la
+
+register_some_triggers_SOURCES = register-some-triggers.cpp
+register_some_triggers_LDADD = $(LIBLTTNG_CTL) \
+ $(top_builddir)/src/common/libfilter.la \
+ $(top_builddir)/src/common/libbytecode.la