summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-05-27 21:03:05 +0200
committerunknown <joreland@mysql.com>2004-05-27 21:03:05 +0200
commitd97a303fb1dd4b43aa34d902df1711fdd80bf226 (patch)
tree0c52cf2d9fff53f91e37f7f352363cb96d277e4d /ndb
parent486494b3ec6293a1705a2aad85e37beeb88503f7 (diff)
downloadmariadb-git-d97a303fb1dd4b43aa34d902df1711fdd80bf226.tar.gz
Use ndbclient more
configure.in: Include mgmapi ndb/config/type_ndbapi.mk.am: remove LDADD from type ndb/config/type_util.mk.am: remove LDADD from type ndb/src/cw/cpcd/Makefile.am: LDADD ndbclient ndb/src/kernel/ndb-main/Makefile.am: Fix LDADD ndb/src/mgmclient/Makefile.am: LDADD ndbclient ndb/src/mgmsrv/Makefile.am: LDADD ndbclient ndb/test/run-test/Makefile.am: LDADD ndbclient
Diffstat (limited to 'ndb')
-rw-r--r--ndb/config/type_ndbapi.mk.am1
-rw-r--r--ndb/config/type_util.mk.am5
-rw-r--r--ndb/src/cw/cpcd/Makefile.am2
-rw-r--r--ndb/src/kernel/ndb-main/Makefile.am4
-rw-r--r--ndb/src/mgmclient/Makefile.am12
-rw-r--r--ndb/src/mgmsrv/Makefile.am9
-rw-r--r--ndb/test/run-test/Makefile.am5
7 files changed, 14 insertions, 24 deletions
diff --git a/ndb/config/type_ndbapi.mk.am b/ndb/config/type_ndbapi.mk.am
index a9c98f3f6e6..864690cec7b 100644
--- a/ndb/config/type_ndbapi.mk.am
+++ b/ndb/config/type_ndbapi.mk.am
@@ -1,3 +1,2 @@
INCLUDES += @NDB_NDBAPI_INCLUDES@
-LDADD += $(top_srcdir)/ndb/src/ndbapi/libNDB_API.la
diff --git a/ndb/config/type_util.mk.am b/ndb/config/type_util.mk.am
index 8c9c7e0b504..4a3740ff811 100644
--- a/ndb/config/type_util.mk.am
+++ b/ndb/config/type_util.mk.am
@@ -1,7 +1,2 @@
-LDADD += \
- $(top_srcdir)/ndb/src/common/logger/liblogger.la \
- $(top_srcdir)/ndb/src/common/util/libgeneral.la \
- $(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la
-
INCLUDES += @NDB_UTIL_INCLUDES@
diff --git a/ndb/src/cw/cpcd/Makefile.am b/ndb/src/cw/cpcd/Makefile.am
index 0d38f4ca536..53eeaa48dc3 100644
--- a/ndb/src/cw/cpcd/Makefile.am
+++ b/ndb/src/cw/cpcd/Makefile.am
@@ -3,7 +3,7 @@ ndbtools_PROGRAMS = ndb_cpcd
ndb_cpcd_SOURCES = main.cpp CPCD.cpp Process.cpp APIService.cpp Monitor.cpp common.cpp
-LDADD_LOC = $(top_srcdir)/ndb/src/common/logger/liblogger.la
+LDADD_LOC = $(top_srcdir)/ndb/src/libndbclient.la
include $(top_srcdir)/ndb/config/common.mk.am
include $(top_srcdir)/ndb/config/type_util.mk.am
diff --git a/ndb/src/kernel/ndb-main/Makefile.am b/ndb/src/kernel/ndb-main/Makefile.am
index 731f79585ed..77565800f71 100644
--- a/ndb/src/kernel/ndb-main/Makefile.am
+++ b/ndb/src/kernel/ndb-main/Makefile.am
@@ -24,7 +24,6 @@ INCLUDES += \
-I../blocks/dbtux
LDADD += \
- $(top_srcdir)/ndb/src/mgmapi/libmgmapi.la \
../blocks/cmvmi/libcmvmi.a \
../blocks/dbacc/libdbacc.a \
../blocks/dbdict/libdbdict.a \
@@ -46,9 +45,10 @@ LDADD += \
$(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/logger/liblogger.la \
$(top_srcdir)/ndb/src/common/util/libgeneral.la
# Don't update the files from bitkeeper
diff --git a/ndb/src/mgmclient/Makefile.am b/ndb/src/mgmclient/Makefile.am
index e01e4b4f371..a560d8e6d6f 100644
--- a/ndb/src/mgmclient/Makefile.am
+++ b/ndb/src/mgmclient/Makefile.am
@@ -8,16 +8,12 @@ mgmtclient_SOURCES = \
include $(top_srcdir)/ndb/config/common.mk.am
include $(top_srcdir)/ndb/config/type_ndbapi.mk.am
+
INCLUDES += -I$(top_srcdir)/ndb/include/mgmapi -I$(top_srcdir)/ndb/src/common/mgmcommon
-LDADD += \
- $(top_srcdir)/ndb/src/common/debugger/libtrace.la \
- $(top_srcdir)/ndb/src/common/logger/liblogger.la \
- $(top_srcdir)/ndb/src/common/util/libgeneral.la \
- $(top_srcdir)/ndb/src/mgmapi/libmgmapi.la \
- $(top_srcdir)/ndb/src/common/mgmcommon/libmgmsrvcommon.la \
- $(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la \
- $(top_srcdir)/ndb/src/common/editline/libeditline.a
+LDADD_LOC = $(top_srcdir)/ndb/src/libndbclient.la \
+ $(top_srcdir)/ndb/src/common/editline/libeditline.a \
+ @TERMCAP_LIB@
# Don't update the files from bitkeeper
%::SCCS/s.%
diff --git a/ndb/src/mgmsrv/Makefile.am b/ndb/src/mgmsrv/Makefile.am
index 272338d02ac..b70f8937b3b 100644
--- a/ndb/src/mgmsrv/Makefile.am
+++ b/ndb/src/mgmsrv/Makefile.am
@@ -13,12 +13,11 @@ mgmtsrvr_SOURCES = \
MgmtSrvrConfig.cpp \
CommandInterpreter.cpp
-INCLUDES_LOC = -I$(top_srcdir)/ndb/src/ndbapi -I$(top_srcdir)/ndb/include/mgmapi -I$(top_srcdir)/ndb/src/common/mgmcommon
+INCLUDES_LOC = -I$(top_srcdir)/ndb/src/ndbapi -I$(top_srcdir)/ndb/src/common/mgmcommon
-LDADD_LOC = \
- $(top_srcdir)/ndb/src/mgmapi/libmgmapi.la \
- $(top_srcdir)/ndb/src/common/editline/libeditline.a \
- @TERMCAP_LIB@
+LDADD_LOC = $(top_srcdir)/ndb/src/libndbclient.la \
+ $(top_srcdir)/ndb/src/common/editline/libeditline.a \
+ @TERMCAP_LIB@
include $(top_srcdir)/ndb/config/common.mk.am
include $(top_srcdir)/ndb/config/type_ndbapi.mk.am
diff --git a/ndb/test/run-test/Makefile.am b/ndb/test/run-test/Makefile.am
index 11dc15a0988..205c315cb04 100644
--- a/ndb/test/run-test/Makefile.am
+++ b/ndb/test/run-test/Makefile.am
@@ -6,11 +6,12 @@ atrt_SOURCES = main.cpp
ndbtest_SCRIPTS = atrt-analyze-result.sh atrt-gather-result.sh atrt-setup.sh \
atrt-clear-result.sh make-config.sh
-INCLUDES_LOC = -I$(top_srcdir)/ndb/include/mgmapi -I$(top_srcdir)/ndb/src/mgmclient
-LDADD_LOC = $(top_srcdir)/ndb/src/mgmapi/libmgmapi.la $(top_srcdir)/ndb/src/mgmclient/CpcClient.o
+INCLUDES_LOC = -I$(top_srcdir)/ndb/src/mgmclient
+LDADD_LOC = $(top_srcdir)/ndb/src/mgmclient/CpcClient.o $(top_srcdir)/ndb/src/libndbclient.la
include $(top_srcdir)/ndb/config/common.mk.am
include $(top_srcdir)/ndb/config/type_util.mk.am
+include $(top_srcdir)/ndb/config/type_mgmapiclient.mk.am
# Don't update the files from bitkeeper
%::SCCS/s.%