diff --git a/src/Makefile.am b/src/Makefile.am
index 48561c344ac23664299cedb2a65a7b59688526eb..0a6c8b33ec13038582e99124c1b15d7bef95d7f1 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
AM_CPPFLAGS += -DLOCALSTATEDIR='"${localstatedir}"'
AM_CPPFLAGS += -DPKGLIBDIR='"${pkglibdir}"'
AM_CPPFLAGS += -DLOCALSTATEDIR='"${localstatedir}"'
AM_CPPFLAGS += -DPKGLIBDIR='"${pkglibdir}"'
+V_LFLAGS = $(v_lflags_@AM_V@)
+v_lflags_ = $(v_lflags_@AM_DEFAULT_V@)
+v_lflags_1 = -v
+
+AM_LFLAGS = $(V_LFLAGS)
AM_YFLAGS = -d
BUILT_SOURCES = include/client/sysdb.h include/sysdb.h \
AM_YFLAGS = -d
BUILT_SOURCES = include/client/sysdb.h include/sysdb.h \
- frontend/grammar.h parser/grammar.h
+ parser/grammar.h
EXTRA_DIST = include/client/sysdb.h.in include/sysdb.h.in
pkginclude_HEADERS = include/sysdb.h
EXTRA_DIST = include/client/sysdb.h.in include/sysdb.h.in
pkginclude_HEADERS = include/sysdb.h
pkgfeincludedir = $(pkgincludedir)/frontend
pkgfeinclude_HEADERS = \
include/frontend/connection.h \
pkgfeincludedir = $(pkgincludedir)/frontend
pkgfeinclude_HEADERS = \
include/frontend/connection.h \
- include/frontend/parser.h \
include/frontend/proto.h \
include/frontend/sock.h
pkgutilsincludedir = $(pkgincludedir)/utils
include/frontend/proto.h \
include/frontend/sock.h
pkgutilsincludedir = $(pkgincludedir)/utils
include/utils/proto.h \
include/utils/ssl.h \
include/utils/strbuf.h \
include/utils/proto.h \
include/utils/ssl.h \
include/utils/strbuf.h \
+ include/utils/strings.h \
include/utils/unixsock.h
pkgclientincludedir = $(pkgincludedir)/client
include/utils/unixsock.h
pkgclientincludedir = $(pkgincludedir)/client
utils/error.c include/utils/error.h \
utils/proto.c include/utils/proto.h \
utils/ssl.c include/utils/ssl.h \
utils/error.c include/utils/error.h \
utils/proto.c include/utils/proto.h \
utils/ssl.c include/utils/ssl.h \
- utils/strbuf.c include/utils/strbuf.h
+ utils/strbuf.c include/utils/strbuf.h \
+ utils/strings.c include/utils/strings.h
libsysdbclient_la_CFLAGS = $(AM_CFLAGS) @OPENSSL_CFLAGS@
libsysdbclient_la_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)
libsysdbclient_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0 \
libsysdbclient_la_CFLAGS = $(AM_CFLAGS) @OPENSSL_CFLAGS@
libsysdbclient_la_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)
libsysdbclient_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0 \
# don't use strict CFLAGS for flex code
noinst_LTLIBRARIES += libsysdb_fe_parser.la
libsysdb_fe_parser_la_SOURCES = \
# don't use strict CFLAGS for flex code
noinst_LTLIBRARIES += libsysdb_fe_parser.la
libsysdb_fe_parser_la_SOURCES = \
- frontend/grammar.y frontend/scanner.l \
parser/grammar.y parser/scanner.l
libsysdb_fe_parser_la_CFLAGS = @COVERAGE_CFLAGS@ @PROFILING_CFLAGS@ \
-DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\""
libsysdb_la_SOURCES = \
sysdb.c include/sysdb.h \
parser/grammar.y parser/scanner.l
libsysdb_fe_parser_la_CFLAGS = @COVERAGE_CFLAGS@ @PROFILING_CFLAGS@ \
-DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\""
libsysdb_la_SOURCES = \
sysdb.c include/sysdb.h \
+ core/data.c include/core/data.h \
+ core/memstore.c include/core/memstore.h \
+ core/memstore-private.h \
+ core/memstore_exec.c \
+ core/memstore_expr.c \
+ core/memstore_lookup.c \
+ core/memstore_query.c \
core/object.c include/core/object.h \
core/plugin.c include/core/plugin.h \
core/object.c include/core/object.h \
core/plugin.c include/core/plugin.h \
- core/store.c include/core/store.h \
- core/store-private.h \
- core/store_exec.c \
- core/store_expr.c \
- core/store_json.c \
- core/store_lookup.c \
- core/store_query.c \
- core/data.c include/core/data.h \
+ core/store_json.c include/core/store.h \
core/time.c include/core/time.h \
core/timeseries.c include/core/timeseries.h \
core/time.c include/core/time.h \
core/timeseries.c include/core/timeseries.h \
- frontend/analyzer.c \
frontend/connection.c include/frontend/connection.h \
frontend/connection-private.h \
frontend/connection.c include/frontend/connection.h \
frontend/connection-private.h \
- frontend/parser.c include/frontend/parser.h \
frontend/sock.c include/frontend/sock.h \
frontend/session.c \
frontend/query.c \
frontend/sock.c include/frontend/sock.h \
frontend/session.c \
frontend/query.c \
utils/proto.c include/utils/proto.h \
utils/ssl.c include/utils/ssl.h \
utils/strbuf.c include/utils/strbuf.h \
utils/proto.c include/utils/proto.h \
utils/ssl.c include/utils/ssl.h \
utils/strbuf.c include/utils/strbuf.h \
+ utils/strings.c include/utils/strings.h \
utils/unixsock.c include/utils/unixsock.h
libsysdb_la_CFLAGS = $(AM_CFLAGS) @OPENSSL_CFLAGS@
libsysdb_la_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)
utils/unixsock.c include/utils/unixsock.h
libsysdb_la_CFLAGS = $(AM_CFLAGS) @OPENSSL_CFLAGS@
libsysdb_la_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)
sysdbd_DEPENDENCIES += plugins/timeseries/rrdtool.la
endif
sysdbd_DEPENDENCIES += plugins/timeseries/rrdtool.la
endif
+if BUILD_PLUGIN_STOREMEMORY
+pkgstorelib_LTLIBRARIES += plugins/store/memory.la
+plugins_store_memory_la_SOURCES = plugins/store/memory.c
+plugins_store_memory_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version
+sysdbd_LDADD += -dlopen plugins/store/memory.la
+sysdbd_DEPENDENCIES += plugins/store/memory.la
+endif
+
if BUILD_PLUGIN_STORENETWORK
pkgstorelib_LTLIBRARIES += plugins/store/network.la
plugins_store_network_la_SOURCES = plugins/store/network.c
if BUILD_PLUGIN_STORENETWORK
pkgstorelib_LTLIBRARIES += plugins/store/network.la
plugins_store_network_la_SOURCES = plugins/store/network.c
endif
include/client/sysdb.h: include/client/sysdb.h.in $(abs_top_builddir)/version
endif
include/client/sysdb.h: include/client/sysdb.h.in $(abs_top_builddir)/version
- mkdir -p include/client
- source $(abs_top_builddir)/version; sed \
+ @mkdir -p include/client
+ $(AM_V_GEN)source $(abs_top_builddir)/version; sed \
-e "s/@SDB_VERSION_MAJOR@/$$VERSION_MAJOR/g" \
-e "s/@SDB_VERSION_MINOR@/$$VERSION_MINOR/g" \
-e "s/@SDB_VERSION_PATCH@/$$VERSION_PATCH/g" \
-e "s/@SDB_VERSION_MAJOR@/$$VERSION_MAJOR/g" \
-e "s/@SDB_VERSION_MINOR@/$$VERSION_MINOR/g" \
-e "s/@SDB_VERSION_PATCH@/$$VERSION_PATCH/g" \
> include/client/sysdb.h
include/sysdb.h: include/sysdb.h.in $(abs_top_builddir)/version
> include/client/sysdb.h
include/sysdb.h: include/sysdb.h.in $(abs_top_builddir)/version
- mkdir -p include
- source $(abs_top_builddir)/version; sed \
+ @mkdir -p include
+ $(AM_V_GEN)source $(abs_top_builddir)/version; sed \
-e "s/@SDB_VERSION_MAJOR@/$$VERSION_MAJOR/g" \
-e "s/@SDB_VERSION_MINOR@/$$VERSION_MINOR/g" \
-e "s/@SDB_VERSION_PATCH@/$$VERSION_PATCH/g" \
-e "s/@SDB_VERSION_MAJOR@/$$VERSION_MAJOR/g" \
-e "s/@SDB_VERSION_MINOR@/$$VERSION_MINOR/g" \
-e "s/@SDB_VERSION_PATCH@/$$VERSION_PATCH/g" \
> include/sysdb.h
$(abs_top_builddir)/version:
> include/sysdb.h
$(abs_top_builddir)/version:
- cd .. && make version
+ $(AM_V_GEN)cd .. && make version