X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=2ba44fa526291fbf0f229fc0d7f1c067eff98633;hb=6ce1601f8fbd14fed32790e3e58fe11ecdf07183;hp=613e03a4af34042d4f51a51a4964cb6f0d533fd0;hpb=4ae042345b4094e98611744d9ba6c92265058fdb;p=lttng-tools.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 613e03a4a..2ba44fa52 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -56,6 +56,7 @@ libcommon_lgpl_la_SOURCES = \ actions/stop-session.cpp \ actions/rate-policy.cpp \ buffer-view.h buffer-view.cpp \ + channel.cpp \ conditions/buffer-usage.cpp \ conditions/condition.cpp \ conditions/event-rule-matches.cpp \ @@ -70,6 +71,7 @@ libcommon_lgpl_la_SOURCES = \ error.cpp error.h \ error-query.cpp \ evaluation.cpp \ + event.cpp \ event-expr/event-expr.cpp \ event-field-value.cpp \ event-rule/event-rule.cpp \ @@ -131,7 +133,6 @@ libcommon_gpl_la_SOURCES = \ common.h \ context.cpp context.h \ daemonize.cpp daemonize.h \ - event.cpp \ filter.cpp filter.h \ fs-handle.cpp fs-handle.h fs-handle-internal.h \ futex.cpp futex.h \ @@ -248,7 +249,12 @@ libfilter_la_SOURCES = \ BUILT_SOURCES += filter/filter-parser.hpp -libfilter_la_CXXFLAGS = -include filter-symbols.h $(AM_CXXFLAGS) +# Disable some warning flags for generated sources. +FILTER_WARN_FLAGS = \ + -Wno-null-dereference + +libfilter_la_CFLAGS = $(AM_CFLAGS) $(FILTER_WARN_FLAGS) +libfilter_la_CXXFLAGS = -include filter-symbols.h $(AM_CXXFLAGS) $(FILTER_WARN_FLAGS) libfilter_la_CPPFLAGS = -I$(srcdir)/filter -I$(builddir)/filter $(AM_CPPFLAGS) libfilter_la_LIBADD = libstring-utils.la