diff options
author | unknown <mronstrom@mysql.com> | 2004-06-01 13:19:41 +0200 |
---|---|---|
committer | unknown <mronstrom@mysql.com> | 2004-06-01 13:19:41 +0200 |
commit | c32a2521f025eebdbbc272b54aa64668f4dcc8e2 (patch) | |
tree | f39e494ef9a57ba19dc0dce2c8e55b2c1bc3013c /ndb | |
parent | c4cb7a9b430fbde0ac977f7cce81270b5b778f12 (diff) | |
parent | 0bfc8c57ca2f3c5e8f56e12604eb94e1dc47ec9f (diff) | |
download | mariadb-git-c32a2521f025eebdbbc272b54aa64668f4dcc8e2.tar.gz |
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mysql.com:/Users/mikron/mycluster
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/Makefile.am | 20 | ||||
-rw-r--r-- | ndb/config/type_ndbapitest.mk.am | 1 | ||||
-rw-r--r-- | ndb/config/type_ndbapitools.mk.am | 5 | ||||
-rw-r--r-- | ndb/include/Makefile.am | 5 | ||||
-rw-r--r-- | ndb/src/Makefile.am | 2 | ||||
-rw-r--r-- | ndb/src/common/transporter/Makefile.am | 20 | ||||
-rw-r--r-- | ndb/tools/Makefile.am | 2 |
7 files changed, 28 insertions, 27 deletions
diff --git a/ndb/Makefile.am b/ndb/Makefile.am index c83c9f1fa48..27274ec1eb2 100644 --- a/ndb/Makefile.am +++ b/ndb/Makefile.am @@ -1,7 +1,4 @@ -## find * -name '*.hpp' -print | grep -v SCCS | grep -v odbc | sed 's/\.hpp/\.hpp \\/' > tmp.out -## find * -name '*.h' -print | grep -v SCCS | grep -v odbc | sed 's/\.h/\.h \\/' >> tmp.out - -SUBDIRS = . include src test tools +SUBDIRS = src test tools . ndbinclude_HEADERS = \ include/ndb_types.h \ @@ -31,4 +28,17 @@ mgmapiinclude_HEADERS = \ include/mgmapi/mgmapi.h \ include/mgmapi/mgmapi_debug.h -noinst_HEADERS = +EXTRA_DIST = include + +dist-hook: + -rm -rf `find $(distdir) -type d -name SCCS` + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" != "."; then \ + files="`find $$subdir -name '*\.h'` `find $$subdir -name '*\.hpp'`"; \ + for f in $$files; do \ + if test -d "$(distdir)/`dirname $$f`" -a ! -e "$(distdir)/$$f"; then \ + cp $$f $(distdir)/$$f; \ + fi; \ + done; \ + fi; \ + done diff --git a/ndb/config/type_ndbapitest.mk.am b/ndb/config/type_ndbapitest.mk.am index 02288d06c2c..8aa92ceb6a7 100644 --- a/ndb/config/type_ndbapitest.mk.am +++ b/ndb/config/type_ndbapitest.mk.am @@ -1,4 +1,5 @@ +AM_LDFLAGS = -rpath @ndblibdir@ LDADD += $(top_srcdir)/ndb/test/src/libNDBT.a \ $(top_srcdir)/ndb/src/libndbclient.la diff --git a/ndb/config/type_ndbapitools.mk.am b/ndb/config/type_ndbapitools.mk.am new file mode 100644 index 00000000000..ac302ae9eb4 --- /dev/null +++ b/ndb/config/type_ndbapitools.mk.am @@ -0,0 +1,5 @@ + +LDADD += $(top_srcdir)/ndb/test/src/libNDBT.a \ + $(top_srcdir)/ndb/src/.libs/libndbclient.a + +INCLUDES += @NDB_NDBAPITEST_INCLUDES@ diff --git a/ndb/include/Makefile.am b/ndb/include/Makefile.am deleted file mode 100644 index 5521035a479..00000000000 --- a/ndb/include/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ - -noinst_HEADERS = - -# Don't update the files from bitkeeper -%::SCCS/s.% 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 diff --git a/ndb/tools/Makefile.am b/ndb/tools/Makefile.am index 89937642f13..caaf0580650 100644 --- a/ndb/tools/Makefile.am +++ b/ndb/tools/Makefile.am @@ -11,7 +11,7 @@ select_all_SOURCES = select_all.cpp select_count_SOURCES = select_count.cpp include $(top_srcdir)/ndb/config/common.mk.am -include $(top_srcdir)/ndb/config/type_ndbapitest.mk.am +include $(top_srcdir)/ndb/config/type_ndbapitools.mk.am # Don't update the files from bitkeeper %::SCCS/s.% |