Commit cf771979 authored by unknown's avatar unknown

several ndb make changes, see respective file


ndb/src/kernel/Main.cpp:
  Rename: ndb/src/kernel/ndb-main/Main.cpp -> ndb/src/kernel/Main.cpp
ndb/src/kernel/SimBlockList.cpp:
  Rename: ndb/src/kernel/ndb-main/SimBlockList.cpp -> ndb/src/kernel/SimBlockList.cpp
BitKeeper/deleted/.del-Makefile.am~dbb6038d7163a54d:
  Delete: ndb/src/kernel/ndb-main/Makefile.am
BitKeeper/deleted/.del-Makefile_old~1f37e763ba5d06d0:
  Delete: ndb/src/kernel/ndb-main/Makefile_old
ndb/old_files/BinDist.sh:
  Rename: ndb/BinDist.sh -> ndb/old_files/BinDist.sh
ndb/old_files/Defs.mk:
  Rename: ndb/Defs.mk -> ndb/old_files/Defs.mk
ndb/old_files/Makefile:
  Rename: ndb/Makefile_old -> ndb/old_files/Makefile
ndb/old_files/SrcDist.sh:
  Rename: ndb/SrcDist.sh -> ndb/old_files/SrcDist.sh
ndb/old_files/configure:
  Rename: ndb/configure_old -> ndb/old_files/configure
ndb/old_files/Epilogue.mk:
  Rename: ndb/Epilogue.mk_old -> ndb/old_files/Epilogue.mk
ndb/config/old_files/Defs.DEBUG.mk:
  Rename: ndb/config/Defs.DEBUG.mk -> ndb/config/old_files/Defs.DEBUG.mk
ndb/config/old_files/Defs.HPUX.HPPA.GCC.mk:
  Rename: ndb/config/Defs.HPUX.HPPA.GCC.mk -> ndb/config/old_files/Defs.HPUX.HPPA.GCC.mk
ndb/config/old_files/Defs.IBMAIX.POWERPC.GCC.mk:
  Rename: ndb/config/Defs.IBMAIX.POWERPC.GCC.mk -> ndb/config/old_files/Defs.IBMAIX.POWERPC.GCC.mk
ndb/config/old_files/Defs.LINUX.x86.GCC.mk:
  Rename: ndb/config/Defs.LINUX.x86.GCC.mk -> ndb/config/old_files/Defs.LINUX.x86.GCC.mk
ndb/config/old_files/Defs.LINUX.x86.ICC.mk:
  Rename: ndb/config/Defs.LINUX.x86.ICC.mk -> ndb/config/old_files/Defs.LINUX.x86.ICC.mk
ndb/config/old_files/Defs.LINUX.x86_64.GCC.mk:
  Rename: ndb/config/Defs.LINUX.x86_64.GCC.mk -> ndb/config/old_files/Defs.LINUX.x86_64.GCC.mk
ndb/config/old_files/Defs.MACOSX.POWERPC.GCC.mk:
  Rename: ndb/config/Defs.MACOSX.POWERPC.GCC.mk -> ndb/config/old_files/Defs.MACOSX.POWERPC.GCC.mk
ndb/config/old_files/Defs.OSE.PPC750.DIAB.mk:
  Rename: ndb/config/Defs.OSE.PPC750.DIAB.mk -> ndb/config/old_files/Defs.OSE.PPC750.DIAB.mk
ndb/config/old_files/Defs.RELEASE.mk:
  Rename: ndb/config/Defs.RELEASE.mk -> ndb/config/old_files/Defs.RELEASE.mk
ndb/config/old_files/Defs.RELEASE_TRACE.mk:
  Rename: ndb/config/Defs.RELEASE_TRACE.mk -> ndb/config/old_files/Defs.RELEASE_TRACE.mk
ndb/config/old_files/Defs.SIMCELLO.SOFTOSE.GCC.mk:
  Rename: ndb/config/Defs.SIMCELLO.SOFTOSE.GCC.mk -> ndb/config/old_files/Defs.SIMCELLO.SOFTOSE.GCC.mk
ndb/config/old_files/Defs.SOFTOSE.SPARC.GCC.mk:
  Rename: ndb/config/Defs.SOFTOSE.SPARC.GCC.mk -> ndb/config/old_files/Defs.SOFTOSE.SPARC.GCC.mk
ndb/config/old_files/Defs.SOLARIS.SPARC.FORTE6.mk:
  Rename: ndb/config/Defs.SOLARIS.SPARC.FORTE6.mk -> ndb/config/old_files/Defs.SOLARIS.SPARC.FORTE6.mk
ndb/config/old_files/Defs.SOLARIS.SPARC.GCC.mk:
  Rename: ndb/config/Defs.SOLARIS.SPARC.GCC.mk -> ndb/config/old_files/Defs.SOLARIS.SPARC.GCC.mk
ndb/config/old_files/Defs.SOLARIS.SPARC_64.GCC.mk:
  Rename: ndb/config/Defs.SOLARIS.SPARC_64.GCC.mk -> ndb/config/old_files/Defs.SOLARIS.SPARC_64.GCC.mk
ndb/config/old_files/Defs.SOLARIS6.SPARC.GCC.mk:
  Rename: ndb/config/Defs.SOLARIS6.SPARC.GCC.mk -> ndb/config/old_files/Defs.SOLARIS6.SPARC.GCC.mk
ndb/config/old_files/Defs.TRU64X.ALPHA.GCC.mk:
  Rename: ndb/config/Defs.TRU64X.ALPHA.GCC.mk -> ndb/config/old_files/Defs.TRU64X.ALPHA.GCC.mk
ndb/config/old_files/Defs.WIN32.x86.VC7.mk:
  Rename: ndb/config/Defs.WIN32.x86.VC7.mk -> ndb/config/old_files/Defs.WIN32.x86.VC7.mk
ndb/config/old_files/acinclude.m4:
  Rename: ndb/config/acinclude.m4 -> ndb/config/old_files/acinclude.m4
ndb/config/old_files/Makefile.am:
  Rename: ndb/config/Makefile.am_old -> ndb/config/old_files/Makefile.am
ndb/config/old_files/GuessConfig.sh:
  Rename: ndb/config/GuessConfig.sh_old -> ndb/config/old_files/GuessConfig.sh
ndb/config/old_files/configure.in:
  Rename: ndb/config/configure.in -> ndb/config/old_files/configure.in
ndb/config/old_files/config.h.in:
  Rename: ndb/config/config.h.in -> ndb/config/old_files/config.h.in
ndb/old_files/README:
  Rename: ndb/README -> ndb/old_files/README
ndb/old_files/mysqlclusterenv.sh:
  Rename: ndb/mysqlclusterenv.sh -> ndb/old_files/mysqlclusterenv.sh
ndb/old_files/env.sh:
  Rename: ndb/env.sh -> ndb/old_files/env.sh
BitKeeper/deleted/.del-Makefile~650473b0dabb331b:
  Delete: ndb/src/scripts/Makefile
ndb/src/old_files/ndbbaseclient/Makefile:
  mvdir
ndb/src/old_files/ndbbaseclient/ndbbaseclient_dummy.cpp:
  mvdir
ndb/src/old_files/ndbclient/Makefile:
  mvdir
ndb/src/old_files/ndbclient/ndbclient_dummy.cpp:
  mvdir
ndb/src/old_files/Makefile:
  Rename: ndb/src/Makefile_old -> ndb/src/old_files/Makefile
acinclude.m4:
  added ndb configure options
configure.in:
  moved lots of stuff for ndb over to Makefile.ams and added some config opt for ndb
mysql-test/ndb/install_ndbcluster.sh:
  adopt to new ndb install
mysql-test/ndb/stop_ndbcluster.sh:
  adopt to new ndb install
ndb/Makefile.am:
  moved some things to include/Makefile.am
ndb/config/common.mk.am:
  moved some things from configure.in
ndb/config/type_kernel.mk.am:
  moved some things from configure.in
ndb/config/type_mgmapiclient.mk.am:
  moved some things from configure.in
ndb/config/type_ndbapi.mk.am:
  moved some things from configure.in
ndb/config/type_ndbapiclient.mk.am:
  moved some things from configure.in
ndb/config/type_ndbapitest.mk.am:
  moved some things from configure.in
ndb/config/type_ndbapitools.mk.am:
  moved some things from configure.in
ndb/config/type_util.mk.am:
  moved some things from configure.in
ndb/src/Makefile.am:
  .
ndb/src/common/portlib/Makefile.am:
  fix for make distdir
ndb/src/cw/cpcd/Makefile.am:
  added configurable ldflags
ndb/src/kernel/Makefile.am:
  moved up ndb-main one level
ndb/src/kernel/blocks/backup/restore/Makefile.am:
  added configurable ldflags
ndb/src/kernel/blocks/suma/Makefile.am:
  fixed error
ndb/src/kernel/error/Makefile.am:
  fix error
ndb/src/kernel/vm/Makefile.am:
  fix error
ndb/src/mgmapi/Makefile.am:
  removed libMGM_API
ndb/src/mgmclient/Makefile.am:
  added configurable ldflags
ndb/src/mgmsrv/Makefile.am:
  added configurable ldflags
ndb/src/ndbapi/Makefile.am:
  removed libNDB_API
ndb/test/Makefile.am:
  added optional build of ndbapi tests
ndb/tools/Makefile.am:
  added configurable ldflags
ndb/include/Makefile.am:
  fixed missing .h files in make distdir
scripts/make_binary_distribution.sh:
  updated for ndb and new make
parent c91972c2
...@@ -1348,6 +1348,11 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [ ...@@ -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], [ ...@@ -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.])
]) ])
......
...@@ -2841,83 +2841,7 @@ then ...@@ -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 ...@@ -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 ...@@ -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} ...@@ -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 @@ ...@@ -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
......
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 \
......
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 $@;
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@
INCLUDES += @NDB_MGMAPICLIENT_INCLUDES@ INCLUDES += -I$(top_srcdir)/ndb/include/mgmapi
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
INCLUDES += @NDB_NDBAPICLIENT_INCLUDES@ INCLUDES += -I$(top_srcdir)/ndb/include/ndbapi
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
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
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
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`
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 = \ ...@@ -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@
SUBDIRS = unix SUBDIRS = unix
noinst_DATA = gcc.cpp
...@@ -3,10 +3,12 @@ ndbtools_PROGRAMS = ndb_cpcd ...@@ -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.%
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 ...@@ -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@
pkglib_LIBRARIES = libsuma.a noinst_LIBRARIES = libsuma.a
libsuma_a_SOURCES = Suma.cpp SumaInit.cpp libsuma_a_SOURCES = Suma.cpp SumaInit.cpp
......
pkglib_LIBRARIES = liberror.a noinst_LIBRARIES = liberror.a
liberror_a_SOURCES = TimeModule.cpp \ liberror_a_SOURCES = TimeModule.cpp \
ErrorReporter.cpp \ ErrorReporter.cpp \
......
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.%
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 @@ ...@@ -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 \
......
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 ...@@ -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.%
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 ...@@ -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 \ ...@@ -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.%
#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 = \ ...@@ -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 = \ ...@@ -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.%
include .defs.mk
DIRS :=
include $(NDB_TOP)/Epilogue.mk
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 ...@@ -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 ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment