Backport:Fix: Don't override user variables within the build system
[lttng-tools.git] / src / lib / lttng-ctl / Makefile.am
index d1b923e423e54d8aa4509dcdb85476ba46beaaef..b133a5e156332f42b766dee6315c292dff9ced30 100644 (file)
@@ -1,11 +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 lttng-ctl-helper.h \
-               lttng-ctl-health.c save.c load.c
+               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.025467 seconds and 5 git commands to generate.