mirror of https://gitee.com/bigwinds/arangodb
411 lines
13 KiB
Makefile
411 lines
13 KiB
Makefile
################################################################################
|
|
## avocadodb
|
|
################################################################################
|
|
|
|
libavocadodb_a_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
@BOOST_CPPFLAGS@ \
|
|
@LIBEV_CPPFLAGS@ \
|
|
@MATH_CPPFLAGS@ \
|
|
@NCURSES_CPPFLAGS@ \
|
|
@OPENSSL_CPPFLAGS@ \
|
|
@READLINE_CPPFLAGS@ \
|
|
@V8_CPPFLAGS@
|
|
|
|
libavocadodb_a_SOURCES = \
|
|
Admin/ApplicationAdminServer.cpp \
|
|
Admin/RestAdminBaseHandler.cpp \
|
|
Admin/RestAdminFeConfigurationHandler.cpp \
|
|
Admin/RestAdminLogHandler.cpp \
|
|
Admin/RestBaseHandler.cpp \
|
|
Admin/RestVersionHandler.cpp \
|
|
ApplicationServer/ApplicationServer.cpp \
|
|
ApplicationServer/ApplicationServerImpl.cpp \
|
|
ApplicationServer/ApplicationServerSchedulerImpl.cpp \
|
|
Basics/ConditionLocker.cpp \
|
|
Basics/ConditionVariable.cpp \
|
|
Basics/FileUtils.cpp \
|
|
Basics/Initialise.cpp \
|
|
Basics/LibraryLoader.cpp \
|
|
Basics/Mutex.cpp \
|
|
Basics/MutexLocker.cpp \
|
|
Basics/ProgramOptions.cpp \
|
|
Basics/ProgramOptionsDescription.cpp \
|
|
Basics/Random.cpp \
|
|
Basics/ReadLocker.cpp \
|
|
Basics/ReadUnlocker.cpp \
|
|
Basics/ReadWriteLock.cpp \
|
|
Basics/StringUtils.cpp \
|
|
Basics/Thread.cpp \
|
|
Basics/Timing.cpp \
|
|
Basics/WriteLocker.cpp \
|
|
Basics/WriteUnlocker.cpp \
|
|
BasicsC/associative-multi.c \
|
|
BasicsC/associative.c \
|
|
BasicsC/conversions.c \
|
|
BasicsC/csv.c \
|
|
BasicsC/error.c \
|
|
BasicsC/files.c \
|
|
BasicsC/hashes.c \
|
|
BasicsC/init.c \
|
|
BasicsC/json.c \
|
|
BasicsC/locks-macos.c \
|
|
BasicsC/locks-posix.c \
|
|
BasicsC/logging.c \
|
|
BasicsC/memory.c \
|
|
BasicsC/process-utils.c \
|
|
BasicsC/random.c \
|
|
BasicsC/socket-utils.c \
|
|
BasicsC/string-buffer.c \
|
|
BasicsC/strings.c \
|
|
BasicsC/structures.c \
|
|
BasicsC/system-functions.c \
|
|
BasicsC/terminal-utils-ncurses.c \
|
|
BasicsC/terminal-utils.c \
|
|
BasicsC/threads-posix.c \
|
|
BasicsC/vector.c \
|
|
Dispatcher/ApplicationServerDispatcher.cpp \
|
|
Dispatcher/ApplicationServerDispatcherImpl.cpp \
|
|
Dispatcher/DispatcherImpl.cpp \
|
|
Dispatcher/DispatcherQueue.cpp \
|
|
Dispatcher/DispatcherThread.cpp \
|
|
Dispatcher/Job.cpp \
|
|
GeneralServer/GeneralFigures.cpp \
|
|
GeoIndex/GeoIndex.c \
|
|
HttpServer/ApplicationHttpServer.cpp \
|
|
HttpServer/ApplicationHttpServerImpl.cpp \
|
|
HttpServer/HttpCommTask.cpp \
|
|
HttpServer/HttpHandler.cpp \
|
|
HttpServer/HttpHandlerFactory.cpp \
|
|
HttpServer/PathHandler.cpp \
|
|
HttpServer/RedirectHandler.cpp \
|
|
HttpServer/ServiceUnavailableHandler.cpp \
|
|
HttpsServer/ApplicationHttpsServer.cpp \
|
|
HttpsServer/ApplicationHttpsServerImpl.cpp \
|
|
HttpsServer/HttpsAsyncCommTask.cpp \
|
|
HttpsServer/HttpsServer.cpp \
|
|
HttpsServer/HttpsServerImpl.cpp \
|
|
JsonParser/json-parser.c \
|
|
JsonParserX/InputParser.cpp \
|
|
JsonParserX/JsonParserX.cpp \
|
|
JsonParserX/JsonParserXDriver.cpp \
|
|
JsonParserX/JsonScannerX.cpp \
|
|
Logger/Logger.cpp \
|
|
Logger/LoggerData.cpp \
|
|
Logger/LoggerInfo.cpp \
|
|
Logger/LoggerStream.cpp \
|
|
Logger/LoggerTiming.cpp \
|
|
ProgramOptions/program-options.c \
|
|
Rest/AddressPort.cpp \
|
|
Rest/AnyServer.cpp \
|
|
Rest/HttpRequest.cpp \
|
|
Rest/HttpResponse.cpp \
|
|
Rest/Initialise.cpp \
|
|
Rest/SslInterface.cpp \
|
|
Rest/Url.cpp \
|
|
ResultGenerator/HtmlResultGenerator.cpp \
|
|
ResultGenerator/Initialise.cpp \
|
|
ResultGenerator/JsonResultGenerator.cpp \
|
|
ResultGenerator/JsonXResultGenerator.cpp \
|
|
ResultGenerator/OutputGenerator.cpp \
|
|
ResultGenerator/PhpResultGenerator.cpp \
|
|
ResultGenerator/ResultGenerator.cpp \
|
|
ResultGenerator/XmlResultGenerator.cpp \
|
|
Scheduler/AsyncTask.cpp \
|
|
Scheduler/ConnectionTask.cpp \
|
|
Scheduler/ListenTask.cpp \
|
|
Scheduler/PeriodicTask.cpp \
|
|
Scheduler/Scheduler.cpp \
|
|
Scheduler/SchedulerImpl.cpp \
|
|
Scheduler/SchedulerLibev.cpp \
|
|
Scheduler/SchedulerThread.cpp \
|
|
Scheduler/SignalTask.cpp \
|
|
Scheduler/SocketTask.cpp \
|
|
Scheduler/Task.cpp \
|
|
Scheduler/TimerTask.cpp \
|
|
ShapedJson/json-shaper.c \
|
|
ShapedJson/shape-accessor.c \
|
|
ShapedJson/shaped-json.c \
|
|
V8/v8-actions.cpp \
|
|
V8/v8-json.cpp \
|
|
V8/v8-shell.cpp \
|
|
V8/v8-utils.cpp \
|
|
V8/v8-conv.cpp \
|
|
V8/v8-line-editor.cpp \
|
|
V8/v8-vocbase.cpp \
|
|
Variant/VariantArray.cpp \
|
|
Variant/VariantBlob.cpp \
|
|
Variant/VariantBoolean.cpp \
|
|
Variant/VariantDate.cpp \
|
|
Variant/VariantDatetime.cpp \
|
|
Variant/VariantDouble.cpp \
|
|
Variant/VariantFloat.cpp \
|
|
Variant/VariantInt16.cpp \
|
|
Variant/VariantInt32.cpp \
|
|
Variant/VariantInt64.cpp \
|
|
Variant/VariantInt8.cpp \
|
|
Variant/VariantMatrix2.cpp \
|
|
Variant/VariantNull.cpp \
|
|
Variant/VariantObject.cpp \
|
|
Variant/VariantString.cpp \
|
|
Variant/VariantUInt16.cpp \
|
|
Variant/VariantUInt32.cpp \
|
|
Variant/VariantUInt64.cpp \
|
|
Variant/VariantUInt8.cpp \
|
|
Variant/VariantVector.cpp \
|
|
VocBase/blob-collection.c \
|
|
VocBase/collection.c \
|
|
VocBase/compactor.c \
|
|
VocBase/datafile.c \
|
|
VocBase/document-collection.c \
|
|
VocBase/fluent-query.c \
|
|
VocBase/select-result.c \
|
|
VocBase/join.c \
|
|
VocBase/query.c \
|
|
VocBase/headers.c \
|
|
VocBase/index.c \
|
|
VocBase/result-set.c \
|
|
VocBase/simple-collection.c \
|
|
VocBase/synchroniser.c \
|
|
VocBase/voc-shaper.c \
|
|
VocBase/vocbase.c \
|
|
QL/ParserWrapper.cpp \
|
|
QL/ast-node.c \
|
|
QL/ast-query.c \
|
|
QL/error.c \
|
|
QL/formatter.c \
|
|
QL/javascripter.c \
|
|
QL/optimize.c \
|
|
QL/parser-context.c \
|
|
QL/parser.c \
|
|
QL/tokens.c
|
|
|
|
avocado_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
@BOOST_CPPFLAGS@ \
|
|
@LIBEV_CPPFLAGS@ \
|
|
@MATH_CPPFLAGS@ \
|
|
@NCURSES_CPPFLAGS@ \
|
|
@OPENSSL_CPPFLAGS@ \
|
|
@READLINE_CPPFLAGS@ \
|
|
@V8_CPPFLAGS@
|
|
|
|
avocado_LDFLAGS = \
|
|
-L. \
|
|
@BOOST_LDFLAGS@ \
|
|
@LIBEV_LDFLAGS@ \
|
|
@MATH_LDFLAGS@ \
|
|
@NCURSES_LDFLAGS@ \
|
|
@OPENSSL_LDFLAGS@ \
|
|
@READLINE_LDFLAGS@ \
|
|
@V8_LDFLAGS@
|
|
|
|
avocado_LDADD = \
|
|
-lavocadodb \
|
|
@BOOST_LIBS@ \
|
|
@LIBEV_LIBS@ \
|
|
@MATH_LIBS@ \
|
|
@NCURSES_LIBS@ \
|
|
@OPENSSL_LIBS@ \
|
|
@READLINE_LIBS@ \
|
|
@V8_LIBS@
|
|
|
|
avocado_DEPENDENCIES = @builddir@/libavocadodb.a
|
|
|
|
avocado_SOURCES = \
|
|
RestHandler/RestActionHandler.cpp \
|
|
RestHandler/RestDocumentHandler.cpp \
|
|
RestHandler/RestSystemActionHandler.cpp \
|
|
RestHandler/RestVocbaseBaseHandler.cpp \
|
|
RestServer/ActionDispatcherThread.cpp \
|
|
RestServer/AvocadoHttpServer.cpp \
|
|
RestServer/AvocadoServer.cpp \
|
|
RestServer/JSLoader.cpp \
|
|
RestServer/SystemActionDispatcherThread.cpp \
|
|
RestServer/avocado.cpp
|
|
|
|
################################################################################
|
|
## JavaScript source code as header
|
|
################################################################################
|
|
|
|
BUILT_SOURCES += \
|
|
js/bootstrap/js-modules.h \
|
|
js/bootstrap/js-print.h \
|
|
js/server/js-modules.h \
|
|
js/server/js-actions.h \
|
|
js/server/js-aql.h \
|
|
js/server/js-json.h \
|
|
js/server/js-shell.h
|
|
|
|
################################################################################
|
|
## FLEX
|
|
################################################################################
|
|
|
|
BUILT_SOURCES += \
|
|
JsonParser/json-parser.c \
|
|
QL/tokens.c
|
|
|
|
################################################################################
|
|
## FLEX++
|
|
################################################################################
|
|
|
|
BUILT_SOURCES += \
|
|
V8/v8-json.cpp \
|
|
JsonParserX/JsonScannerX.cpp
|
|
|
|
################################################################################
|
|
## BISON
|
|
################################################################################
|
|
|
|
BUILT_SOURCES += \
|
|
QL/parser.c
|
|
|
|
################################################################################
|
|
## BISON++
|
|
################################################################################
|
|
|
|
BUILT_SOURCES += \
|
|
JsonParserX/JsonParserX.cpp
|
|
|
|
################################################################################
|
|
## DOXYGEN
|
|
################################################################################
|
|
|
|
DOXYGEN = \
|
|
Doxygen/js/bootstrap/modules.c \
|
|
Doxygen/js/bootstrap/print.c \
|
|
Doxygen/js/modules/graph.c \
|
|
Doxygen/js/modules/jsunity.c \
|
|
Doxygen/js/server/modules.c \
|
|
Doxygen/js/server/actions.c \
|
|
Doxygen/js/server/json.c \
|
|
Doxygen/js/server/shell.c \
|
|
Doxygen/js/system/collections.c \
|
|
Doxygen/js/system/indexes.c
|
|
|
|
################################################################################
|
|
## wiki
|
|
################################################################################
|
|
|
|
WIKI = \
|
|
Doxygen/xml/d7/daa/Actions.md \
|
|
Doxygen/xml/d4/d0c/ActionsQueryBuilding.md \
|
|
Doxygen/xml/dd/de5/AvocadoScript.md \
|
|
Doxygen/xml/db/d15/CommandLine.md \
|
|
Doxygen/xml/d9/ddd/CommandLineAvocado.md \
|
|
Doxygen/xml/d3/d58/CommandLineLogging.md \
|
|
Doxygen/xml/df/d91/CommandLineRandom.md \
|
|
Doxygen/xml/d9/db2/CommandLineScheduler.md \
|
|
Doxygen/xml/d9/d26/Compiling.md \
|
|
Doxygen/xml/d9/d52/DefineAction.md \
|
|
Doxygen/xml/db/d14/GeoCoordinates.md \
|
|
Doxygen/xml/d1/d83/Graphs.md \
|
|
Doxygen/xml/d4/d7d/HttpInterface.md \
|
|
Doxygen/xml/d7/d40/JSModuleConsole.md \
|
|
Doxygen/xml/d2/d66/JSModuleFs.md \
|
|
Doxygen/xml/d2/d35/JSModuleGraph.md \
|
|
Doxygen/xml/d3/d4b/JSModuleInternal.md \
|
|
Doxygen/xml/d9/de4/JSModules.md \
|
|
Doxygen/xml/d6/d3b/JavaScriptFunc.md \
|
|
Doxygen/xml/d3/db6/JavaScriptFuncIndex.md \
|
|
Doxygen/xml/d3/d1a/Pagination.md \
|
|
Doxygen/xml/d0/d1b/RestDocument.md \
|
|
Doxygen/xml/d8/d3d/RestInterface.md \
|
|
Doxygen/xml/d2/d8a/RestSystem.md \
|
|
Doxygen/xml/d2/dbe/StartStop.md \
|
|
Doxygen/xml/dc/d05/UserManual.md \
|
|
Doxygen/xml/d3/d5b/jsUnity.md \
|
|
Doxygen/xml/da/db6/InstallManual.md \
|
|
Doxygen/xml/dd/dd7/RefManual.md \
|
|
Doxygen/xml/d8/d3a/Basics.md
|
|
|
|
Doxygen/xml/d8/d3a/Basics.md: Doxygen/xml/d8/d3a/Basics.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/da/db6/InstallManual.md: Doxygen/xml/da/db6/InstallManual.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/dd/dd7/RefManual.md: Doxygen/xml/dd/dd7/RefManual.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d2/d8a/RestSystem.md: Doxygen/xml/d2/d8a/RestSystem.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d1/d83/Graphs.md: Doxygen/xml/d1/d83/Graphs.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/dc/d05/UserManual.md: Doxygen/xml/dc/d05/UserManual.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d3/d5b/jsUnity.md: Doxygen/xml/d3/d5b/jsUnity.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d9/d26/Compiling.md: Doxygen/xml/d9/d26/Compiling.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d9/d52/DefineAction.md: Doxygen/xml/d9/d52/DefineAction.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d3/d58/CommandLineLogging.md: Doxygen/xml/d3/d58/CommandLineLogging.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d4/d0c/ActionsQueryBuilding.md: Doxygen/xml/d4/d0c/ActionsQueryBuilding.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/db/d15/CommandLine.md: Doxygen/xml/db/d15/CommandLine.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d0/d1b/RestDocument.md: Doxygen/xml/d0/d1b/RestDocument.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d3/d1a/Pagination.md: Doxygen/xml/d3/d1a/Pagination.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d2/dbe/StartStop.md: Doxygen/xml/d2/dbe/StartStop.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/dd/de5/AvocadoScript.md: Doxygen/xml/dd/de5/AvocadoScript.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d6/d3b/JavaScriptFunc.md: Doxygen/xml/d6/d3b/JavaScriptFunc.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d7/daa/Actions.md: Doxygen/xml/d7/daa/Actions.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d4/d7d/HttpInterface.md: Doxygen/xml/d4/d7d/HttpInterface.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d9/de4/JSModules.md: Doxygen/xml/d9/de4/JSModules.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d2/d35/JSModuleGraph.md: Doxygen/xml/d2/d35/JSModuleGraph.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d9/db2/CommandLineScheduler.md: Doxygen/xml/d9/db2/CommandLineScheduler.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d8/d3d/RestInterface.md: Doxygen/xml/d8/d3d/RestInterface.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/db/d14/GeoCoordinates.md: Doxygen/xml/db/d14/GeoCoordinates.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d3/db6/JavaScriptFuncIndex.md: Doxygen/xml/d3/db6/JavaScriptFuncIndex.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/df/d91/CommandLineRandom.md: Doxygen/xml/df/d91/CommandLineRandom.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d9/ddd/CommandLineAvocado.md: Doxygen/xml/d9/ddd/CommandLineAvocado.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d7/d40/JSModuleConsole.md: Doxygen/xml/d7/d40/JSModuleConsole.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d3/d4b/JSModuleInternal.md: Doxygen/xml/d3/d4b/JSModuleInternal.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|
|
|
|
Doxygen/xml/d2/d66/JSModuleFs.md: Doxygen/xml/d2/d66/JSModuleFs.xml
|
|
python @top_srcdir@/Doxygen/Scripts/xml2md.py $< > $@
|