mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
several ndb make changes, see respective file
This commit is contained in:
16
acinclude.m4
16
acinclude.m4
@@ -1348,6 +1348,11 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
|
|||||||
--with-ndb-sci Include the NDB Cluster sci transporter],
|
--with-ndb-sci Include the NDB Cluster sci transporter],
|
||||||
[ndb_sci="$withval"],
|
[ndb_sci="$withval"],
|
||||||
[ndb_sci=no])
|
[ndb_sci=no])
|
||||||
|
AC_ARG_WITH([ndb-test],
|
||||||
|
[
|
||||||
|
--with-ndb-test Include the NDB Cluster ndbapi test programs],
|
||||||
|
[ndb_test="$withval"],
|
||||||
|
[ndb_test=no])
|
||||||
|
|
||||||
AC_MSG_CHECKING([for NDB Cluster options])
|
AC_MSG_CHECKING([for NDB Cluster options])
|
||||||
AC_MSG_RESULT([])
|
AC_MSG_RESULT([])
|
||||||
@@ -1376,6 +1381,17 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
have_ndb_test=no
|
||||||
|
case "$ndb_test" in
|
||||||
|
yes )
|
||||||
|
AC_MSG_RESULT([-- including ndbapi test programs])
|
||||||
|
have_ndb_test="yes"
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
AC_MSG_RESULT([-- not including ndbapi test programs])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
AC_MSG_RESULT([done.])
|
AC_MSG_RESULT([done.])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
102
configure.in
102
configure.in
@@ -2841,83 +2841,7 @@ then
|
|||||||
CXXFLAGS="$CXXFLAGS \$(NDB_CXXFLAGS)"
|
CXXFLAGS="$CXXFLAGS \$(NDB_CXXFLAGS)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ndbbindir_root="\$(prefix)"
|
AC_SUBST([NDB_DEFS])
|
||||||
ndbbindir="\$(ndbbindir_root)/ndb/bin"
|
|
||||||
AC_SUBST(ndbbindir_root)
|
|
||||||
AC_SUBST(ndbbindir)
|
|
||||||
ndbtoolsdir_root="\$(prefix)"
|
|
||||||
ndbtoolsdir="\$(ndbtoolsdir_root)/ndb/tools"
|
|
||||||
AC_SUBST(ndbtoolsdir_root)
|
|
||||||
AC_SUBST(ndbtoolsdir)
|
|
||||||
ndblibdir_root="\$(prefix)"
|
|
||||||
ndblibdir="\$(ndblibdir_root)/ndb/lib"
|
|
||||||
AC_SUBST(ndblibdir_root)
|
|
||||||
AC_SUBST(ndblibdir)
|
|
||||||
ndbtestdir_root="\$(prefix)"
|
|
||||||
ndbtestdir="\$(ndbtestdir_root)/ndb/test"
|
|
||||||
AC_SUBST(ndbtestdir_root)
|
|
||||||
AC_SUBST(ndbtestdir)
|
|
||||||
ndbincludedir_root="\$(prefix)"
|
|
||||||
ndbincludedir="\$(ndbincludedir_root)/ndb/include"
|
|
||||||
AC_SUBST(ndbincludedir_root)
|
|
||||||
AC_SUBST(ndbincludedir)
|
|
||||||
ndbapiincludedir_root="\$(prefix)"
|
|
||||||
ndbapiincludedir="\$(ndbapiincludedir_root)/ndb/include/ndbapi"
|
|
||||||
AC_SUBST(ndbapiincludedir_root)
|
|
||||||
AC_SUBST(ndbapiincludedir)
|
|
||||||
mgmapiincludedir_root="\$(prefix)"
|
|
||||||
mgmapiincludedir="\$(mgmapiincludedir_root)/ndb/include/mgmapi"
|
|
||||||
AC_SUBST(mgmapiincludedir_root)
|
|
||||||
AC_SUBST(mgmapiincludedir)
|
|
||||||
|
|
||||||
NDB_UTIL_INCLUDES="-I\$(srcdir) -I\$(top_srcdir)/include -I\$(top_srcdir)/ndb/include \
|
|
||||||
-I\$(top_srcdir)/ndb/include/util \
|
|
||||||
-I\$(top_srcdir)/ndb/include/portlib \
|
|
||||||
-I\$(top_srcdir)/ndb/include/logger"
|
|
||||||
NDB_KERNEL_INCLUDES="\
|
|
||||||
-I\$(srcdir) -I\$(top_srcdir)/include -I\$(top_srcdir)/ndb/include \
|
|
||||||
-I\$(top_srcdir)/ndb/src/kernel/vm \
|
|
||||||
-I\$(top_srcdir)/ndb/src/kernel/error \
|
|
||||||
-I\$(top_srcdir)/ndb/src/kernel \
|
|
||||||
-I\$(top_srcdir)/ndb/include/kernel \
|
|
||||||
-I\$(top_srcdir)/ndb/include/transporter \
|
|
||||||
-I\$(top_srcdir)/ndb/include/debugger \
|
|
||||||
-I\$(top_srcdir)/ndb/include/mgmapi \
|
|
||||||
-I\$(top_srcdir)/ndb/include/mgmcommon \
|
|
||||||
-I\$(top_srcdir)/ndb/include/ndbapi \
|
|
||||||
-I\$(top_srcdir)/ndb/include/util \
|
|
||||||
-I\$(top_srcdir)/ndb/include/portlib \
|
|
||||||
-I\$(top_srcdir)/ndb/include/logger"
|
|
||||||
NDB_NDBAPI_INCLUDES="\
|
|
||||||
-I\$(srcdir) -I\$(top_srcdir)/include -I\$(top_srcdir)/ndb/include \
|
|
||||||
-I\$(top_srcdir)/ndb/include/kernel \
|
|
||||||
-I\$(top_srcdir)/ndb/include/transporter \
|
|
||||||
-I\$(top_srcdir)/ndb/include/debugger \
|
|
||||||
-I\$(top_srcdir)/ndb/include/mgmapi \
|
|
||||||
-I\$(top_srcdir)/ndb/include/mgmcommon \
|
|
||||||
-I\$(top_srcdir)/ndb/include/ndbapi \
|
|
||||||
-I\$(top_srcdir)/ndb/include/util \
|
|
||||||
-I\$(top_srcdir)/ndb/include/portlib \
|
|
||||||
-I\$(top_srcdir)/ndb/include/logger"
|
|
||||||
NDB_NDBAPITEST_INCLUDES="\
|
|
||||||
-I\$(srcdir) -I\$(top_srcdir)/include -I\$(top_srcdir)/ndb/include \
|
|
||||||
-I\$(top_srcdir)/ndb/include/ndbapi \
|
|
||||||
-I\$(top_srcdir)/ndb/include/util \
|
|
||||||
-I\$(top_srcdir)/ndb/include/portlib \
|
|
||||||
-I\$(top_srcdir)/ndb/test/include \
|
|
||||||
-I\$(top_srcdir)/ndb/include/mgmapi"
|
|
||||||
NDB_NDBAPICLIENT_INCLUDES="-I\$(top_srcdir)/ndb/include/ndbapi"
|
|
||||||
NDB_MGMAPICLIENT_INCLUDES="-I\$(top_srcdir)/ndb/include/mgmapi"
|
|
||||||
|
|
||||||
AC_SUBST(NDB_DEFS)
|
|
||||||
AC_SUBST(NDB_UTIL_INCLUDES)
|
|
||||||
|
|
||||||
AC_SUBST(NDB_UTIL_INCLUDES)
|
|
||||||
AC_SUBST(NDB_KERNEL_INCLUDES)
|
|
||||||
AC_SUBST(NDB_NDBAPI_INCLUDES)
|
|
||||||
AC_SUBST(NDB_NDBAPITEST_INCLUDES)
|
|
||||||
AC_SUBST(NDB_NDBAPICLIENT_INCLUDES)
|
|
||||||
AC_SUBST(NDB_MGMAPICLIENT_INCLUDES)
|
|
||||||
|
|
||||||
ndb_transporter_opt_objs=""
|
ndb_transporter_opt_objs=""
|
||||||
if test X"$have_ndb_shm" = Xyes
|
if test X"$have_ndb_shm" = Xyes
|
||||||
@@ -2928,24 +2852,23 @@ if test X"$have_ndb_sci" = Xyes
|
|||||||
then
|
then
|
||||||
ndb_transporter_opt_objs="$(ndb_transporter_opt_objs) SCI_Transporter.lo"
|
ndb_transporter_opt_objs="$(ndb_transporter_opt_objs) SCI_Transporter.lo"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(ndb_transporter_opt_objs)
|
AC_SUBST([ndb_transporter_opt_objs])
|
||||||
|
|
||||||
#NDB_TYPE_COMMON="include \$(top_srcdir)/ndb/config/common.mk.am"
|
ndb_bin_am_ldflags="-static"
|
||||||
#NDB_TYPE_NDBAPI="include \$(top_srcdir)/ndb/config/type_ndbapi.mk.am"
|
if test X"$have_ndb_test" = Xyes
|
||||||
#NDB_TYPE_NDBAPI="include \$(top_srcdir)/ndb/config/type_ndbapitest.mk.am"
|
then
|
||||||
#NDB_TYPE_KERNEL="include \$(top_srcdir)/ndb/config/type_kernel.mk.am"
|
ndb_opt_test_subdirs="tools ndbapi run-test"
|
||||||
#NDB_TYPE_UTIL="include \$(top_srcdir)/ndb/config/type_util.mk.am"
|
ndb_bin_am_ldflags=""
|
||||||
#AC_SUBST(NDB_TYPE_COMMON)
|
fi
|
||||||
#AC_SUBST(NDB_TYPE_NDBAPI)
|
AC_SUBST([ndb_bin_am_ldflags])
|
||||||
#AC_SUBST(NDB_TYPE_NDBAPITEST)
|
AC_SUBST([ndb_opt_test_subdirs])
|
||||||
#AC_SUBST(NDB_TYPE_KERNEL)
|
|
||||||
#AC_SUBST(NDB_TYPE_UTIL)
|
|
||||||
|
|
||||||
AC_SUBST(MAKE_BINARY_DISTRIBUTION_OPTIONS)
|
AC_SUBST(MAKE_BINARY_DISTRIBUTION_OPTIONS)
|
||||||
|
|
||||||
# Output results
|
# Output results
|
||||||
AC_OUTPUT(Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
|
AC_OUTPUT(Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
|
||||||
ndb/Makefile ndb/src/Makefile ndb/src/common/Makefile dnl
|
ndb/Makefile ndb/include/Makefile dnl
|
||||||
|
ndb/src/Makefile ndb/src/common/Makefile dnl
|
||||||
ndb/tools/Makefile dnl
|
ndb/tools/Makefile dnl
|
||||||
ndb/src/common/debugger/Makefile ndb/src/common/debugger/signaldata/Makefile dnl
|
ndb/src/common/debugger/Makefile ndb/src/common/debugger/signaldata/Makefile dnl
|
||||||
ndb/src/common/portlib/Makefile ndb/src/common/portlib/unix/Makefile dnl
|
ndb/src/common/portlib/Makefile ndb/src/common/portlib/unix/Makefile dnl
|
||||||
@@ -2975,7 +2898,6 @@ AC_OUTPUT(Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
|
|||||||
ndb/src/kernel/blocks/grep/Makefile dnl
|
ndb/src/kernel/blocks/grep/Makefile dnl
|
||||||
ndb/src/kernel/blocks/dbtux/Makefile dnl
|
ndb/src/kernel/blocks/dbtux/Makefile dnl
|
||||||
ndb/src/kernel/vm/Makefile dnl
|
ndb/src/kernel/vm/Makefile dnl
|
||||||
ndb/src/kernel/ndb-main/Makefile dnl
|
|
||||||
ndb/src/mgmapi/Makefile dnl
|
ndb/src/mgmapi/Makefile dnl
|
||||||
ndb/src/ndbapi/Makefile dnl
|
ndb/src/ndbapi/Makefile dnl
|
||||||
ndb/src/mgmsrv/Makefile dnl
|
ndb/src/mgmsrv/Makefile dnl
|
||||||
|
@@ -9,21 +9,32 @@ port_base="22" # using ports port_base{"00","01", etc}
|
|||||||
fsdir=`pwd`
|
fsdir=`pwd`
|
||||||
# end configurable parameters
|
# end configurable parameters
|
||||||
|
|
||||||
# Are we using a source or a binary distribution?
|
#BASEDIR is always one above mysql-test directory
|
||||||
|
CWD=`pwd`
|
||||||
|
cd ..
|
||||||
|
BASEDIR=`pwd`
|
||||||
|
cd $CWD
|
||||||
|
|
||||||
|
# Are we using a source or a binary distribution?
|
||||||
if [ -d ../sql ] ; then
|
if [ -d ../sql ] ; then
|
||||||
SOURCE_DIST=1
|
SOURCE_DIST=1
|
||||||
ndbtop=`pwd`/../ndb
|
ndbtop=$BASEDIR/ndb
|
||||||
exec_ndb=$ndbtop/src/kernel/ndb-main/ndb
|
exec_ndb=$ndbtop/src/kernel/ndb-main/ndb
|
||||||
exec_mgmtsrvr=$ndbtop/src/mgmsrv/mgmtsrvr
|
exec_mgmtsrvr=$ndbtop/src/mgmsrv/mgmtsrvr
|
||||||
exec_waiter=$ndbtop/tools/ndb_waiter
|
exec_waiter=$ndbtop/tools/ndb_waiter
|
||||||
exec_mgmtclient=$ndbtop/src/mgmclient/mgmtclient
|
exec_mgmtclient=$ndbtop/src/mgmclient/mgmtclient
|
||||||
else
|
else
|
||||||
BINARY_DIST=1
|
BINARY_DIST=1
|
||||||
exec_ndb=@ndbbindir@/ndb
|
if test -x "$BASEDIR/libexec/ndb"
|
||||||
exec_mgmtsrvr=@ndbbindir@/mgmtsrvr
|
then
|
||||||
exec_waiter=@ndbtoolsdir@/ndb_waiter
|
exec_ndb=$BASEDIR/libexec/ndb
|
||||||
exec_mgmtclient=@ndbbindir@/mgmtclient
|
exec_mgmtsrvr=$BASEDIR/libexec/mgmtsrvr
|
||||||
|
else
|
||||||
|
exec_ndb=$BASEDIR/bin/ndb
|
||||||
|
exec_mgmtsrvr=$BASEDIR/bin/mgmtsrvr
|
||||||
|
fi
|
||||||
|
exec_waiter=$BASEDIR/bin/ndb_waiter
|
||||||
|
exec_mgmtclient=$BASEDIR/bin/mgmtclient
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pidfile=ndbcluster.pid
|
pidfile=ndbcluster.pid
|
||||||
|
@@ -4,13 +4,32 @@
|
|||||||
|
|
||||||
# This scripts stops the table handler ndbcluster
|
# This scripts stops the table handler ndbcluster
|
||||||
|
|
||||||
|
#BASEDIR is always one above mysql-test directory
|
||||||
|
CWD=`pwd`
|
||||||
|
cd ..
|
||||||
|
BASEDIR=`pwd`
|
||||||
|
cd $CWD
|
||||||
|
|
||||||
|
# Are we using a source or a binary distribution?
|
||||||
if [ -d ../sql ] ; then
|
if [ -d ../sql ] ; then
|
||||||
SOURCE_DIST=1
|
SOURCE_DIST=1
|
||||||
ndbtop=`pwd`/../ndb
|
ndbtop=$BASEDIR/ndb
|
||||||
|
exec_ndb=$ndbtop/src/kernel/ndb-main/ndb
|
||||||
|
exec_mgmtsrvr=$ndbtop/src/mgmsrv/mgmtsrvr
|
||||||
|
exec_waiter=$ndbtop/tools/ndb_waiter
|
||||||
exec_mgmtclient=$ndbtop/src/mgmclient/mgmtclient
|
exec_mgmtclient=$ndbtop/src/mgmclient/mgmtclient
|
||||||
else
|
else
|
||||||
BINARY_DIST=1
|
BINARY_DIST=1
|
||||||
exec_mgmtclient=@ndbbindir@/mgmtclient
|
if test -x "$BASEDIR/libexec/ndb"
|
||||||
|
then
|
||||||
|
exec_ndb=$BASEDIR/libexec/ndb
|
||||||
|
exec_mgmtsrvr=$BASEDIR/libexec/mgmtsrvr
|
||||||
|
else
|
||||||
|
exec_ndb=$BASEDIR/bin/ndb
|
||||||
|
exec_mgmtsrvr=$BASEDIR/bin/mgmtsrvr
|
||||||
|
fi
|
||||||
|
exec_waiter=$BASEDIR/bin/ndb_waiter
|
||||||
|
exec_mgmtclient=$BASEDIR/bin/mgmtclient
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pidfile=ndbcluster.pid
|
pidfile=ndbcluster.pid
|
||||||
|
@@ -1,39 +1,10 @@
|
|||||||
SUBDIRS = src test tools .
|
SUBDIRS = src test tools . include
|
||||||
|
|
||||||
ndbinclude_HEADERS = \
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
include/ndb_types.h \
|
|
||||||
include/ndb_version.h
|
|
||||||
|
|
||||||
ndbapiinclude_HEADERS = \
|
|
||||||
include/ndbapi/ndbapi_limits.h \
|
|
||||||
include/ndbapi/Ndb.hpp \
|
|
||||||
include/ndbapi/NdbApi.hpp \
|
|
||||||
include/ndbapi/NdbConnection.hpp \
|
|
||||||
include/ndbapi/NdbCursorOperation.hpp \
|
|
||||||
include/ndbapi/NdbDictionary.hpp \
|
|
||||||
include/ndbapi/NdbError.hpp \
|
|
||||||
include/ndbapi/NdbEventOperation.hpp \
|
|
||||||
include/ndbapi/NdbIndexOperation.hpp \
|
|
||||||
include/ndbapi/NdbOperation.hpp \
|
|
||||||
include/ndbapi/NdbPool.hpp \
|
|
||||||
include/ndbapi/NdbRecAttr.hpp \
|
|
||||||
include/ndbapi/NdbReceiver.hpp \
|
|
||||||
include/ndbapi/NdbResultSet.hpp \
|
|
||||||
include/ndbapi/NdbScanFilter.hpp \
|
|
||||||
include/ndbapi/NdbScanOperation.hpp \
|
|
||||||
include/ndbapi/NdbSchemaCon.hpp \
|
|
||||||
include/ndbapi/NdbSchemaOp.hpp
|
|
||||||
|
|
||||||
mgmapiinclude_HEADERS = \
|
|
||||||
include/mgmapi/mgmapi.h \
|
|
||||||
include/mgmapi/mgmapi_debug.h
|
|
||||||
|
|
||||||
EXTRA_DIST = include
|
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
-rm -rf `find $(distdir) -type d -name SCCS`
|
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" != "."; then \
|
if test "$$subdir" != "." -a "$$subdir" != "include"; then \
|
||||||
files="`find $$subdir -name '*\.h'` `find $$subdir -name '*\.hpp'`"; \
|
files="`find $$subdir -name '*\.h'` `find $$subdir -name '*\.hpp'`"; \
|
||||||
for f in $$files; do \
|
for f in $$files; do \
|
||||||
if test -d "$(distdir)/`dirname $$f`" -a ! -e "$(distdir)/$$f"; then \
|
if test -d "$(distdir)/`dirname $$f`" -a ! -e "$(distdir)/$$f"; then \
|
||||||
|
@@ -1,17 +1,13 @@
|
|||||||
|
ndbbindir = "$(libexecdir)"
|
||||||
|
ndbtoolsdir = "$(bindir)"
|
||||||
|
ndbtestdir = "$(bindir)"
|
||||||
|
ndblibdir = "$(pkglibdir)"
|
||||||
|
ndbincludedir = "$(pkgincludedir)/ndb"
|
||||||
|
ndbapiincludedir = "$(pkgincludedir)/ndb/ndbapi"
|
||||||
|
mgmapiincludedir = "$(pkgincludedir)/ndb/mgmapi"
|
||||||
|
|
||||||
INCLUDES = $(INCLUDES_LOC)
|
INCLUDES = $(INCLUDES_LOC)
|
||||||
LDADD = $(top_srcdir)/ndb/src/common/portlib/gcc.cpp $(LDADD_LOC)
|
LDADD = $(top_srcdir)/ndb/src/common/portlib/gcc.cpp $(LDADD_LOC)
|
||||||
DEFS = @DEFS@ @NDB_DEFS@ $(DEFS_LOC) $(NDB_EXTRA_FLAGS)
|
DEFS = @DEFS@ @NDB_DEFS@ $(DEFS_LOC) $(NDB_EXTRA_FLAGS)
|
||||||
# ndb cannot be compiled with -fno-implicit-templaces
|
# ndb cannot be compiled with -fno-implicit-templaces
|
||||||
NDB_CXXFLAGS=-fimplicit-templates
|
NDB_CXXFLAGS=-fimplicit-templates
|
||||||
##use AM_CXXFLAGS for other flags
|
|
||||||
|
|
||||||
#noinst_SCRIPTS = ndb_local_bin
|
|
||||||
ndb_local_bin: $(PROGRAMS)
|
|
||||||
set -x; \
|
|
||||||
for f in $(PROGRAMS); do \
|
|
||||||
g=lib/`basename $$f`; \
|
|
||||||
rm -f $$g; \
|
|
||||||
@LN_CP_F@ $$f; \
|
|
||||||
done; \
|
|
||||||
touch $@;
|
|
||||||
|
@@ -1,2 +1,18 @@
|
|||||||
|
|
||||||
INCLUDES += @NDB_KERNEL_INCLUDES@
|
INCLUDES += \
|
||||||
|
-I$(srcdir) -I$(top_srcdir)/include \
|
||||||
|
-I$(top_srcdir)/ndb/include \
|
||||||
|
-I$(top_srcdir)/ndb/src/kernel/vm \
|
||||||
|
-I$(top_srcdir)/ndb/src/kernel/error \
|
||||||
|
-I$(top_srcdir)/ndb/src/kernel \
|
||||||
|
-I$(top_srcdir)/ndb/include/kernel \
|
||||||
|
-I$(top_srcdir)/ndb/include/transporter \
|
||||||
|
-I$(top_srcdir)/ndb/include/debugger \
|
||||||
|
-I$(top_srcdir)/ndb/include/mgmapi \
|
||||||
|
-I$(top_srcdir)/ndb/include/mgmcommon \
|
||||||
|
-I$(top_srcdir)/ndb/include/ndbapi \
|
||||||
|
-I$(top_srcdir)/ndb/include/util \
|
||||||
|
-I$(top_srcdir)/ndb/include/portlib \
|
||||||
|
-I$(top_srcdir)/ndb/include/logger
|
||||||
|
|
||||||
|
#AM_LDFLAGS = @ndb_ldflags@
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
INCLUDES += @NDB_MGMAPICLIENT_INCLUDES@
|
INCLUDES += -I$(top_srcdir)/ndb/include/mgmapi
|
||||||
|
@@ -1,2 +1,12 @@
|
|||||||
|
|
||||||
INCLUDES += @NDB_NDBAPI_INCLUDES@
|
INCLUDES += \
|
||||||
|
-I$(srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/ndb/include \
|
||||||
|
-I$(top_srcdir)/ndb/include/kernel \
|
||||||
|
-I$(top_srcdir)/ndb/include/transporter \
|
||||||
|
-I$(top_srcdir)/ndb/include/debugger \
|
||||||
|
-I$(top_srcdir)/ndb/include/mgmapi \
|
||||||
|
-I$(top_srcdir)/ndb/include/mgmcommon \
|
||||||
|
-I$(top_srcdir)/ndb/include/ndbapi \
|
||||||
|
-I$(top_srcdir)/ndb/include/util \
|
||||||
|
-I$(top_srcdir)/ndb/include/portlib \
|
||||||
|
-I$(top_srcdir)/ndb/include/logger
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
INCLUDES += @NDB_NDBAPICLIENT_INCLUDES@
|
INCLUDES += -I$(top_srcdir)/ndb/include/ndbapi
|
||||||
|
@@ -1,6 +1,11 @@
|
|||||||
|
|
||||||
AM_LDFLAGS = -rpath @ndblibdir@
|
|
||||||
LDADD += $(top_srcdir)/ndb/test/src/libNDBT.a \
|
LDADD += $(top_srcdir)/ndb/test/src/libNDBT.a \
|
||||||
$(top_srcdir)/ndb/src/libndbclient.la
|
$(top_srcdir)/ndb/src/libndbclient.la
|
||||||
|
|
||||||
INCLUDES += @NDB_NDBAPITEST_INCLUDES@
|
INCLUDES += -I$(srcdir) -I$(top_srcdir)/include \
|
||||||
|
-I$(top_srcdir)/ndb/include \
|
||||||
|
-I$(top_srcdir)/ndb/include/ndbapi \
|
||||||
|
-I$(top_srcdir)/ndb/include/util \
|
||||||
|
-I$(top_srcdir)/ndb/include/portlib \
|
||||||
|
-I$(top_srcdir)/ndb/test/include \
|
||||||
|
-I$(top_srcdir)/ndb/include/mgmapi
|
||||||
|
@@ -1,5 +1,11 @@
|
|||||||
|
|
||||||
LDADD += $(top_srcdir)/ndb/test/src/libNDBT.a \
|
LDADD += $(top_srcdir)/ndb/test/src/libNDBT.a \
|
||||||
$(top_srcdir)/ndb/src/.libs/libndbclient.a
|
$(top_srcdir)/ndb/src/libndbclient.la
|
||||||
|
|
||||||
INCLUDES += @NDB_NDBAPITEST_INCLUDES@
|
INCLUDES += -I$(srcdir) -I$(top_srcdir)/include \
|
||||||
|
-I$(top_srcdir)/ndb/include \
|
||||||
|
-I$(top_srcdir)/ndb/include/ndbapi \
|
||||||
|
-I$(top_srcdir)/ndb/include/util \
|
||||||
|
-I$(top_srcdir)/ndb/include/portlib \
|
||||||
|
-I$(top_srcdir)/ndb/test/include \
|
||||||
|
-I$(top_srcdir)/ndb/include/mgmapi
|
||||||
|
@@ -1,2 +1,6 @@
|
|||||||
|
|
||||||
INCLUDES += @NDB_UTIL_INCLUDES@
|
INCLUDES += -I$(srcdir) -I$(top_srcdir)/include \
|
||||||
|
-I$(top_srcdir)/ndb/include \
|
||||||
|
-I$(top_srcdir)/ndb/include/util \
|
||||||
|
-I$(top_srcdir)/ndb/include/portlib \
|
||||||
|
-I$(top_srcdir)/ndb/include/logger
|
||||||
|
43
ndb/include/Makefile.am
Normal file
43
ndb/include/Makefile.am
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
|
||||||
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
|
|
||||||
|
ndbinclude_HEADERS = \
|
||||||
|
ndb_types.h \
|
||||||
|
ndb_version.h
|
||||||
|
|
||||||
|
ndbapiinclude_HEADERS = \
|
||||||
|
ndbapi/ndbapi_limits.h \
|
||||||
|
ndbapi/Ndb.hpp \
|
||||||
|
ndbapi/NdbApi.hpp \
|
||||||
|
ndbapi/NdbConnection.hpp \
|
||||||
|
ndbapi/NdbCursorOperation.hpp \
|
||||||
|
ndbapi/NdbDictionary.hpp \
|
||||||
|
ndbapi/NdbError.hpp \
|
||||||
|
ndbapi/NdbEventOperation.hpp \
|
||||||
|
ndbapi/NdbIndexOperation.hpp \
|
||||||
|
ndbapi/NdbOperation.hpp \
|
||||||
|
ndbapi/NdbPool.hpp \
|
||||||
|
ndbapi/NdbRecAttr.hpp \
|
||||||
|
ndbapi/NdbReceiver.hpp \
|
||||||
|
ndbapi/NdbResultSet.hpp \
|
||||||
|
ndbapi/NdbScanFilter.hpp \
|
||||||
|
ndbapi/NdbScanOperation.hpp \
|
||||||
|
ndbapi/NdbSchemaCon.hpp \
|
||||||
|
ndbapi/NdbSchemaOp.hpp \
|
||||||
|
ndbapi/ndberror.h
|
||||||
|
|
||||||
|
mgmapiinclude_HEADERS = \
|
||||||
|
mgmapi/mgmapi.h \
|
||||||
|
mgmapi/mgmapi_debug.h
|
||||||
|
|
||||||
|
noinst_HEADERS = \
|
||||||
|
ndb_global.h \
|
||||||
|
ndb_net.h \
|
||||||
|
mgmapi/mgmapi_config_parameters.h \
|
||||||
|
mgmapi/mgmapi_config_parameters_debug.h
|
||||||
|
|
||||||
|
EXTRA_DIST = debugger editline kernel logger mgmcommon \
|
||||||
|
portlib transporter util
|
||||||
|
|
||||||
|
dist-hook:
|
||||||
|
-rm -rf `find $(distdir) -type d -name SCCS`
|
@@ -1,5 +1,7 @@
|
|||||||
SUBDIRS = common mgmapi ndbapi . kernel mgmsrv mgmclient cw
|
SUBDIRS = common mgmapi ndbapi . kernel mgmsrv mgmclient cw
|
||||||
|
|
||||||
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
|
|
||||||
ndblib_LTLIBRARIES = libndbclient.la
|
ndblib_LTLIBRARIES = libndbclient.la
|
||||||
|
|
||||||
libndbclient_la_SOURCES =
|
libndbclient_la_SOURCES =
|
||||||
@@ -14,5 +16,3 @@ libndbclient_la_LIBADD = \
|
|||||||
$(top_srcdir)/ndb/src/common/logger/liblogger.la \
|
$(top_srcdir)/ndb/src/common/logger/liblogger.la \
|
||||||
$(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la \
|
$(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la \
|
||||||
$(top_srcdir)/ndb/src/common/util/libgeneral.la
|
$(top_srcdir)/ndb/src/common/util/libgeneral.la
|
||||||
|
|
||||||
AM_LDFLAGS = -rpath @ndblibdir@
|
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
SUBDIRS = unix
|
SUBDIRS = unix
|
||||||
|
|
||||||
|
noinst_DATA = gcc.cpp
|
||||||
|
@@ -3,10 +3,12 @@ ndbtools_PROGRAMS = ndb_cpcd
|
|||||||
|
|
||||||
ndb_cpcd_SOURCES = main.cpp CPCD.cpp Process.cpp APIService.cpp Monitor.cpp common.cpp
|
ndb_cpcd_SOURCES = main.cpp CPCD.cpp Process.cpp APIService.cpp Monitor.cpp common.cpp
|
||||||
|
|
||||||
LDADD_LOC = $(top_srcdir)/ndb/src/.libs/libndbclient.a
|
LDADD_LOC = $(top_srcdir)/ndb/src/libndbclient.la
|
||||||
|
|
||||||
include $(top_srcdir)/ndb/config/common.mk.am
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
include $(top_srcdir)/ndb/config/type_util.mk.am
|
include $(top_srcdir)/ndb/config/type_util.mk.am
|
||||||
|
|
||||||
|
AM_LDFLAGS = @ndb_bin_am_ldflags@
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@@ -1 +1,58 @@
|
|||||||
SUBDIRS = error blocks vm ndb-main
|
SUBDIRS = error blocks vm
|
||||||
|
|
||||||
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
|
|
||||||
|
ndbbin_PROGRAMS = ndb
|
||||||
|
|
||||||
|
ndb_SOURCES = Main.cpp SimBlockList.cpp
|
||||||
|
|
||||||
|
include $(top_srcdir)/ndb/config/type_kernel.mk.am
|
||||||
|
|
||||||
|
INCLUDES += \
|
||||||
|
-Iblocks/cmvmi \
|
||||||
|
-Iblocks/dbacc \
|
||||||
|
-Iblocks/dbdict \
|
||||||
|
-Iblocks/dbdih \
|
||||||
|
-Iblocks/dblqh \
|
||||||
|
-Iblocks/dbtc \
|
||||||
|
-Iblocks/dbtup \
|
||||||
|
-Iblocks/ndbfs \
|
||||||
|
-Iblocks/ndbcntr \
|
||||||
|
-Iblocks/qmgr \
|
||||||
|
-Iblocks/trix \
|
||||||
|
-Iblocks/backup \
|
||||||
|
-Iblocks/dbutil \
|
||||||
|
-Iblocks/suma \
|
||||||
|
-Iblocks/grep \
|
||||||
|
-Iblocks/dbtux
|
||||||
|
|
||||||
|
LDADD += \
|
||||||
|
blocks/cmvmi/libcmvmi.a \
|
||||||
|
blocks/dbacc/libdbacc.a \
|
||||||
|
blocks/dbdict/libdbdict.a \
|
||||||
|
blocks/dbdih/libdbdih.a \
|
||||||
|
blocks/dblqh/libdblqh.a \
|
||||||
|
blocks/dbtc/libdbtc.a \
|
||||||
|
blocks/dbtup/libdbtup.a \
|
||||||
|
blocks/ndbfs/libndbfs.a \
|
||||||
|
blocks/ndbcntr/libndbcntr.a \
|
||||||
|
blocks/qmgr/libqmgr.a \
|
||||||
|
blocks/trix/libtrix.a \
|
||||||
|
blocks/backup/libbackup.a \
|
||||||
|
blocks/dbutil/libdbutil.a \
|
||||||
|
blocks/suma/libsuma.a \
|
||||||
|
blocks/grep/libgrep.a \
|
||||||
|
blocks/dbtux/libdbtux.a \
|
||||||
|
vm/libkernel.a \
|
||||||
|
error/liberror.a \
|
||||||
|
$(top_srcdir)/ndb/src/common/transporter/libtransporter.la \
|
||||||
|
$(top_srcdir)/ndb/src/common/debugger/libtrace.la \
|
||||||
|
$(top_srcdir)/ndb/src/common/debugger/signaldata/libsignaldataprint.la \
|
||||||
|
$(top_srcdir)/ndb/src/common/logger/liblogger.la \
|
||||||
|
$(top_srcdir)/ndb/src/common/mgmcommon/libmgmsrvcommon.la \
|
||||||
|
$(top_srcdir)/ndb/src/mgmapi/libmgmapi.la \
|
||||||
|
$(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la \
|
||||||
|
$(top_srcdir)/ndb/src/common/util/libgeneral.la
|
||||||
|
|
||||||
|
# Don't update the files from bitkeeper
|
||||||
|
%::SCCS/s.%
|
||||||
|
@@ -8,3 +8,5 @@ LDADD_LOC = $(top_srcdir)/ndb/src/libndbclient.la
|
|||||||
include $(top_srcdir)/ndb/config/common.mk.am
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
|
|
||||||
INCLUDES += -I.. -I$(top_srcdir)/include -I$(top_srcdir)/ndb/include -I$(top_srcdir)/ndb/src/ndbapi -I$(top_srcdir)/ndb/include/ndbapi -I$(top_srcdir)/ndb/include/util -I$(top_srcdir)/ndb/include/portlib -I$(top_srcdir)/ndb/include/kernel
|
INCLUDES += -I.. -I$(top_srcdir)/include -I$(top_srcdir)/ndb/include -I$(top_srcdir)/ndb/src/ndbapi -I$(top_srcdir)/ndb/include/ndbapi -I$(top_srcdir)/ndb/include/util -I$(top_srcdir)/ndb/include/portlib -I$(top_srcdir)/ndb/include/kernel
|
||||||
|
|
||||||
|
AM_LDFLAGS = @ndb_bin_am_ldflags@
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
pkglib_LIBRARIES = libsuma.a
|
noinst_LIBRARIES = libsuma.a
|
||||||
|
|
||||||
libsuma_a_SOURCES = Suma.cpp SumaInit.cpp
|
libsuma_a_SOURCES = Suma.cpp SumaInit.cpp
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
pkglib_LIBRARIES = liberror.a
|
noinst_LIBRARIES = liberror.a
|
||||||
|
|
||||||
liberror_a_SOURCES = TimeModule.cpp \
|
liberror_a_SOURCES = TimeModule.cpp \
|
||||||
ErrorReporter.cpp \
|
ErrorReporter.cpp \
|
||||||
|
@@ -1,57 +0,0 @@
|
|||||||
|
|
||||||
ndbbindir_root = $(prefix)
|
|
||||||
ndbbindir = $(ndbbindir_root)/ndb/bin
|
|
||||||
ndbbin_PROGRAMS = ndb
|
|
||||||
|
|
||||||
ndb_SOURCES = Main.cpp SimBlockList.cpp
|
|
||||||
|
|
||||||
include $(top_srcdir)/ndb/config/common.mk.am
|
|
||||||
include $(top_srcdir)/ndb/config/type_kernel.mk.am
|
|
||||||
INCLUDES += \
|
|
||||||
-I../blocks/cmvmi \
|
|
||||||
-I../blocks/dbacc \
|
|
||||||
-I../blocks/dbdict \
|
|
||||||
-I../blocks/dbdih \
|
|
||||||
-I../blocks/dblqh \
|
|
||||||
-I../blocks/dbtc \
|
|
||||||
-I../blocks/dbtup \
|
|
||||||
-I../blocks/ndbfs \
|
|
||||||
-I../blocks/ndbcntr \
|
|
||||||
-I../blocks/qmgr \
|
|
||||||
-I../blocks/trix \
|
|
||||||
-I../blocks/backup \
|
|
||||||
-I../blocks/dbutil \
|
|
||||||
-I../blocks/suma \
|
|
||||||
-I../blocks/grep \
|
|
||||||
-I../blocks/dbtux
|
|
||||||
|
|
||||||
LDADD += \
|
|
||||||
../blocks/cmvmi/libcmvmi.a \
|
|
||||||
../blocks/dbacc/libdbacc.a \
|
|
||||||
../blocks/dbdict/libdbdict.a \
|
|
||||||
../blocks/dbdih/libdbdih.a \
|
|
||||||
../blocks/dblqh/libdblqh.a \
|
|
||||||
../blocks/dbtc/libdbtc.a \
|
|
||||||
../blocks/dbtup/libdbtup.a \
|
|
||||||
../blocks/ndbfs/libndbfs.a \
|
|
||||||
../blocks/ndbcntr/libndbcntr.a \
|
|
||||||
../blocks/qmgr/libqmgr.a \
|
|
||||||
../blocks/trix/libtrix.a \
|
|
||||||
../blocks/backup/libbackup.a \
|
|
||||||
../blocks/dbutil/libdbutil.a \
|
|
||||||
../blocks/suma/libsuma.a \
|
|
||||||
../blocks/grep/libgrep.a \
|
|
||||||
../blocks/dbtux/libdbtux.a \
|
|
||||||
../vm/libkernel.a \
|
|
||||||
../error/liberror.a \
|
|
||||||
$(top_srcdir)/ndb/src/common/transporter/.libs/libtransporter.a \
|
|
||||||
$(top_srcdir)/ndb/src/common/debugger/.libs/libtrace.a \
|
|
||||||
$(top_srcdir)/ndb/src/common/debugger/signaldata/.libs/libsignaldataprint.a \
|
|
||||||
$(top_srcdir)/ndb/src/common/logger/.libs/liblogger.a \
|
|
||||||
$(top_srcdir)/ndb/src/common/mgmcommon/.libs/libmgmsrvcommon.a \
|
|
||||||
$(top_srcdir)/ndb/src/mgmapi/.libs/libmgmapi.a \
|
|
||||||
$(top_srcdir)/ndb/src/common/portlib/unix/.libs/libportlib.a \
|
|
||||||
$(top_srcdir)/ndb/src/common/util/.libs/libgeneral.a
|
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
|
||||||
%::SCCS/s.%
|
|
@@ -1,42 +0,0 @@
|
|||||||
include .defs.mk
|
|
||||||
|
|
||||||
TYPE := kernel
|
|
||||||
|
|
||||||
BIN_TARGET := ndb
|
|
||||||
BIN_TARGET_ARCHIVES := mgmapi \
|
|
||||||
cmvmi dbacc dbdict dbdih dblqh dbtc \
|
|
||||||
dbtup ndbfs ndbcntr qmgr trix backup dbutil suma grep dbtux \
|
|
||||||
transporter \
|
|
||||||
kernel \
|
|
||||||
error \
|
|
||||||
trace \
|
|
||||||
signaldataprint \
|
|
||||||
mgmsrvcommon mgmapi \
|
|
||||||
portlib \
|
|
||||||
logger \
|
|
||||||
general
|
|
||||||
|
|
||||||
# Source files of non-templated classes (.cpp files)
|
|
||||||
SOURCES = \
|
|
||||||
Main.cpp \
|
|
||||||
SimBlockList.cpp
|
|
||||||
|
|
||||||
CCFLAGS_LOC = -I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/cmvmi) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dbacc) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dbdict) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dbdih) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dblqh) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dbtc) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dbtup) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/ndbfs) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/missra) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/ndbcntr) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/qmgr) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/trix) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/backup) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dbutil) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/suma) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/grep) \
|
|
||||||
-I$(call fixpath,$(NDB_TOP)/src/kernel/blocks/dbtux)
|
|
||||||
|
|
||||||
include $(NDB_TOP)/Epilogue.mk
|
|
@@ -3,7 +3,7 @@
|
|||||||
#DIRS += testLongSig
|
#DIRS += testLongSig
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pkglib_LIBRARIES = libkernel.a
|
noinst_LIBRARIES = libkernel.a
|
||||||
|
|
||||||
libkernel_a_SOURCES = \
|
libkernel_a_SOURCES = \
|
||||||
SimulatedBlock.cpp \
|
SimulatedBlock.cpp \
|
||||||
|
@@ -1,10 +1,7 @@
|
|||||||
|
|
||||||
noinst_LTLIBRARIES = libmgmapi.la libMGM_API.la
|
noinst_LTLIBRARIES = libmgmapi.la
|
||||||
|
|
||||||
libmgmapi_la_SOURCES_loc = mgmapi.cpp mgmapi_configuration.cpp
|
libmgmapi_la_SOURCES = mgmapi.cpp mgmapi_configuration.cpp
|
||||||
|
|
||||||
libmgmapi_la_SOURCES = $(libmgmapi_la_SOURCES_loc)
|
|
||||||
libMGM_API_la_SOURCES = $(libmgmapi_la_SOURCES_loc)
|
|
||||||
|
|
||||||
INCLUDES_LOC = -I$(top_srcdir)/ndb/include/mgmapi -I$(top_srcdir)/ndb/src/common/mgmcommon
|
INCLUDES_LOC = -I$(top_srcdir)/ndb/include/mgmapi -I$(top_srcdir)/ndb/src/common/mgmcommon
|
||||||
DEFS_LOC = -DNO_DEBUG_MESSAGES
|
DEFS_LOC = -DNO_DEBUG_MESSAGES
|
||||||
@@ -12,9 +9,5 @@ DEFS_LOC = -DNO_DEBUG_MESSAGES
|
|||||||
include $(top_srcdir)/ndb/config/common.mk.am
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
include $(top_srcdir)/ndb/config/type_util.mk.am
|
include $(top_srcdir)/ndb/config/type_util.mk.am
|
||||||
|
|
||||||
libMGM_API_la_LIBADD = \
|
|
||||||
$(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la \
|
|
||||||
$(top_srcdir)/ndb/src/common/util/libgeneral.la
|
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
ndbbin_PROGRAMS = mgmtclient
|
ndbtools_PROGRAMS = mgmtclient
|
||||||
|
|
||||||
mgmtclient_SOURCES = \
|
mgmtclient_SOURCES = \
|
||||||
main.cpp \
|
main.cpp \
|
||||||
@@ -11,9 +11,11 @@ include $(top_srcdir)/ndb/config/type_ndbapi.mk.am
|
|||||||
|
|
||||||
INCLUDES += -I$(top_srcdir)/ndb/include/mgmapi -I$(top_srcdir)/ndb/src/common/mgmcommon
|
INCLUDES += -I$(top_srcdir)/ndb/include/mgmapi -I$(top_srcdir)/ndb/src/common/mgmcommon
|
||||||
|
|
||||||
LDADD_LOC = $(top_srcdir)/ndb/src/.libs/libndbclient.a \
|
LDADD_LOC = $(top_srcdir)/ndb/src/libndbclient.la \
|
||||||
$(top_srcdir)/ndb/src/common/editline/libeditline.a \
|
$(top_srcdir)/ndb/src/common/editline/libeditline.a \
|
||||||
@TERMCAP_LIB@
|
@TERMCAP_LIB@
|
||||||
|
|
||||||
|
AM_LDFLAGS = @ndb_bin_am_ldflags@
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@@ -17,12 +17,14 @@ INCLUDES_LOC = -I$(top_srcdir)/ndb/src/ndbapi \
|
|||||||
-I$(top_srcdir)/ndb/src/mgmapi \
|
-I$(top_srcdir)/ndb/src/mgmapi \
|
||||||
-I$(top_srcdir)/ndb/src/common/mgmcommon
|
-I$(top_srcdir)/ndb/src/common/mgmcommon
|
||||||
|
|
||||||
LDADD_LOC = $(top_srcdir)/ndb/src/.libs/libndbclient.a \
|
LDADD_LOC = $(top_srcdir)/ndb/src/libndbclient.la \
|
||||||
$(top_srcdir)/ndb/src/common/editline/libeditline.a \
|
$(top_srcdir)/ndb/src/common/editline/libeditline.a \
|
||||||
@TERMCAP_LIB@
|
@TERMCAP_LIB@
|
||||||
|
|
||||||
include $(top_srcdir)/ndb/config/common.mk.am
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
include $(top_srcdir)/ndb/config/type_ndbapi.mk.am
|
include $(top_srcdir)/ndb/config/type_ndbapi.mk.am
|
||||||
|
|
||||||
|
AM_LDFLAGS = @ndb_bin_am_ldflags@
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@@ -1,12 +1,13 @@
|
|||||||
#SUBDIRS = signal-sender
|
#SUBDIRS = signal-sender
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libndbapi.la libNDB_API.la
|
noinst_LTLIBRARIES = libndbapi.la
|
||||||
|
|
||||||
libndbapi_la_SOURCES_loc = \
|
libndbapi_la_SOURCES = \
|
||||||
TransporterFacade.cpp \
|
TransporterFacade.cpp \
|
||||||
ClusterMgr.cpp \
|
ClusterMgr.cpp \
|
||||||
Ndb.cpp \
|
Ndb.cpp \
|
||||||
NdbPoolImpl.cpp NdbPool.cpp \
|
NdbPoolImpl.cpp \
|
||||||
|
NdbPool.cpp \
|
||||||
Ndblist.cpp \
|
Ndblist.cpp \
|
||||||
Ndbif.cpp \
|
Ndbif.cpp \
|
||||||
Ndbinit.cpp \
|
Ndbinit.cpp \
|
||||||
@@ -23,7 +24,8 @@ libndbapi_la_SOURCES_loc = \
|
|||||||
NdbOperationExec.cpp \
|
NdbOperationExec.cpp \
|
||||||
NdbResultSet.cpp \
|
NdbResultSet.cpp \
|
||||||
NdbCursorOperation.cpp \
|
NdbCursorOperation.cpp \
|
||||||
NdbScanReceiver.cpp NdbScanOperation.cpp NdbScanFilter.cpp \
|
NdbScanReceiver.cpp NdbScanOperation.cpp \
|
||||||
|
NdbScanFilter.cpp \
|
||||||
NdbIndexOperation.cpp \
|
NdbIndexOperation.cpp \
|
||||||
NdbEventOperation.cpp \
|
NdbEventOperation.cpp \
|
||||||
NdbEventOperationImpl.cpp \
|
NdbEventOperationImpl.cpp \
|
||||||
@@ -33,25 +35,14 @@ libndbapi_la_SOURCES_loc = \
|
|||||||
NdbSchemaOp.cpp \
|
NdbSchemaOp.cpp \
|
||||||
NdbUtil.cpp \
|
NdbUtil.cpp \
|
||||||
NdbReceiver.cpp \
|
NdbReceiver.cpp \
|
||||||
NdbDictionary.cpp NdbDictionaryImpl.cpp DictCache.cpp
|
NdbDictionary.cpp \
|
||||||
|
NdbDictionaryImpl.cpp \
|
||||||
libndbapi_la_SOURCES = $(libndbapi_la_SOURCES_loc)
|
DictCache.cpp
|
||||||
libNDB_API_la_SOURCES = $(libndbapi_la_SOURCES_loc)
|
|
||||||
|
|
||||||
INCLUDES_LOC = -I$(top_srcdir)/ndb/src/mgmapi
|
INCLUDES_LOC = -I$(top_srcdir)/ndb/src/mgmapi
|
||||||
|
|
||||||
include $(top_srcdir)/ndb/config/common.mk.am
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
include $(top_srcdir)/ndb/config/type_ndbapi.mk.am
|
include $(top_srcdir)/ndb/config/type_ndbapi.mk.am
|
||||||
|
|
||||||
libNDB_API_la_LIBADD = \
|
|
||||||
$(top_srcdir)/ndb/src/common/transporter/libtransporter.la \
|
|
||||||
$(top_srcdir)/ndb/src/common/debugger/libtrace.la \
|
|
||||||
$(top_srcdir)/ndb/src/common/debugger/signaldata/libsignaldataprint.la \
|
|
||||||
$(top_srcdir)/ndb/src/common/mgmcommon/libmgmsrvcommon.la \
|
|
||||||
$(top_srcdir)/ndb/src/mgmapi/libMGM_API.la \
|
|
||||||
$(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la \
|
|
||||||
$(top_srcdir)/ndb/src/common/logger/liblogger.la \
|
|
||||||
$(top_srcdir)/ndb/src/common/util/libgeneral.la
|
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@@ -1,5 +0,0 @@
|
|||||||
include .defs.mk
|
|
||||||
|
|
||||||
DIRS :=
|
|
||||||
|
|
||||||
include $(NDB_TOP)/Epilogue.mk
|
|
@@ -1 +1,7 @@
|
|||||||
SUBDIRS = src tools ndbapi run-test
|
SUBDIRS = src $(ndb_opt_test_subdirs)
|
||||||
|
DIST_SUBDIRS = src tools ndbapi run-test
|
||||||
|
|
||||||
|
EXTRA_DIST = include
|
||||||
|
|
||||||
|
dist-hook:
|
||||||
|
-rm -rf `find $(distdir) -type d -name SCCS`
|
||||||
|
@@ -13,5 +13,7 @@ select_count_SOURCES = select_count.cpp
|
|||||||
include $(top_srcdir)/ndb/config/common.mk.am
|
include $(top_srcdir)/ndb/config/common.mk.am
|
||||||
include $(top_srcdir)/ndb/config/type_ndbapitools.mk.am
|
include $(top_srcdir)/ndb/config/type_ndbapitools.mk.am
|
||||||
|
|
||||||
|
AM_LDFLAGS = @ndb_bin_am_ldflags@
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@@ -267,14 +267,14 @@ fi
|
|||||||
|
|
||||||
# NDB Cluster
|
# NDB Cluster
|
||||||
if [ x$NDBCLUSTER = x1 ]; then
|
if [ x$NDBCLUSTER = x1 ]; then
|
||||||
if [ ! -f ndb/BinDist.sh ]; then
|
( cd ndb ; make DESTDIR=$BASE/ndb-stage install )
|
||||||
echo "Missing ndb/BinDist.sh"; exit 1
|
( cd mysql-test/ndb ; make DESTDIR=$BASE/ndb-stage install )
|
||||||
fi
|
$CP $BASE/ndb-stage@bindir@/* $BASE/bin/.
|
||||||
mkdir $BASE/ndb || exit 1
|
$CP $BASE/ndb-stage@libexecdir@/* $BASE/bin/.
|
||||||
# assume we have cpio..
|
$CP $BASE/ndb-stage@pkglibdir@/* $BASE/lib/.
|
||||||
if (cd ndb && sh BinDist.sh | cpio -pdm $BASE/ndb); then :; else
|
$CP -r $BASE/ndb-stage@pkgincludedir@/ndb $BASE/lib/.
|
||||||
echo "Copy failed - missing files in ndb/BinDist.sh ?"; exit 1
|
$CP -r $BASE/ndb-stage@prefix@/mysql-test/ndb $BASE/mysql-test/. || exit 1
|
||||||
fi
|
rm -rf $BASE/ndb-stage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change the distribution to a long descriptive name
|
# Change the distribution to a long descriptive name
|
||||||
|
Reference in New Issue
Block a user