X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=4b9e313dc4a96659634fb35eebe88bdb1c22d75b;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=902e2c174bcea74e185b5da5a05579c326826560;hpb=999af9c1150784f8676c6fce0764772d2314854a;p=lttng-tools.git diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 902e2c174..4b9e313dc 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -71,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 \ @@ -132,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 \ @@ -249,7 +249,13 @@ 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 \ + -Wno-redundant-decls + +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