summaryrefslogtreecommitdiff
path: root/ndb/src
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src')
-rw-r--r--ndb/src/Makefile.am2
-rw-r--r--ndb/src/common/transporter/Makefile.am20
2 files changed, 6 insertions, 16 deletions
diff --git a/ndb/src/Makefile.am b/ndb/src/Makefile.am
index 2999c617a06..08c5624038f 100644
--- a/ndb/src/Makefile.am
+++ b/ndb/src/Makefile.am
@@ -14,3 +14,5 @@ libndbclient_la_LIBADD = \
$(top_srcdir)/ndb/src/common/logger/liblogger.la \
$(top_srcdir)/ndb/src/common/portlib/unix/libportlib.la \
$(top_srcdir)/ndb/src/common/util/libgeneral.la
+
+AM_LDFLAGS = -rpath @ndblibdir@
diff --git a/ndb/src/common/transporter/Makefile.am b/ndb/src/common/transporter/Makefile.am
index 36411b99661..218b261606d 100644
--- a/ndb/src/common/transporter/Makefile.am
+++ b/ndb/src/common/transporter/Makefile.am
@@ -1,8 +1,6 @@
noinst_LTLIBRARIES = libtransporter.la
-#libtransporter_la_SOURCES = @NDB_TRANSPORTER_SOURCES@
-
libtransporter_la_SOURCES = \
Transporter.cpp \
SendBuffer.cpp \
@@ -10,20 +8,10 @@ libtransporter_la_SOURCES = \
TransporterRegistry.cpp \
Packer.cpp
-#libtransporter_la_SOURCES = \
-# Transporter.cpp \
-# SendBuffer.cpp \
-# TCP_Transporter.cpp \
-# TransporterRegistry.cpp \
-# Packer.cpp
-#
-#if HAVE_NDB_SHM
-# libtransporter_la_SOURCES += SHM_Transporter.cpp SHM_Transporter.unix.cpp
-#endif
-#
-#if HAVE_NDB_SCI
-# libtransporter_la_SOURCES += SCI_Transporter.cpp
-#endif
+EXTRA_libtransporter_la_SOURCES = SHM_Transporter.cpp SHM_Transporter.unix.cpp SCI_Transporter.cpp
+
+libtransporter_la_LIBADD = @ndb_transporter_opt_objs@
+libtransporter_la_DEPENDENCIES = @ndb_transporter_opt_objs@
INCLUDES_LOC = -I$(top_srcdir)/ndb/include/kernel -I$(top_srcdir)/ndb/include/transporter