Backport:Fix: Don't override user variables within the build system
[deliverable/lttng-tools.git] / src / lib / lttng-ctl / Makefile.am
index 2178ed32f4728c61aedd98a131da6f73fdd9a12f..b133a5e156332f42b766dee6315c292dff9ced30 100644 (file)
@@ -1,10 +1,14 @@
-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
+
+liblttng_ctl_la_LDFLAGS = \
+               $(LT_NO_UNDEFINED)
 
 liblttng_ctl_la_LIBADD = \
                $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
This page took 0.02568 seconds and 5 git commands to generate.