-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(builddir)
-
SUBDIRS = filter
+AM_CPPFLAGS += -I$(srcdir) -I$(builddir)
+
lib_LTLIBRARIES = liblttng-ctl.la
-liblttng_ctl_la_SOURCES = lttng-ctl.c snapshot.c
+liblttng_ctl_la_SOURCES = lttng-ctl.c snapshot.c lttng-ctl-helper.h \
+ lttng-ctl-health.c save.c load.c deprecated-symbols.c \
+ channel.c rotate.c
+
+liblttng_ctl_la_LDFLAGS = \
+ $(LT_NO_UNDEFINED)
liblttng_ctl_la_LIBADD = \
$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \