summaryrefslogtreecommitdiff
path: root/bdb
diff options
context:
space:
mode:
authorunknown <tim@threads.polyesthetic.msg>2001-03-05 14:30:39 -0500
committerunknown <tim@threads.polyesthetic.msg>2001-03-05 14:30:39 -0500
commitc5a52087a4a006cd6cd04972b1310d13a9bf11ce (patch)
treef875e030e6d873392e06bcc1fbaa16a2e16cff35 /bdb
parentea7f14cf360196ec06d1de8b696cac9317c7dc12 (diff)
downloadmariadb-git-c5a52087a4a006cd6cd04972b1310d13a9bf11ce.tar.gz
Berkeley DB now uses our own Makefile.in which translates automake
targets (like 'distdir') properly. configure.in: BDB subdir is now 'bdb', not 'bdb/build_unix'. Remove code that modifies the bdb/build_unix/Makefile, because it's no longer needed.
Diffstat (limited to 'bdb')
-rw-r--r--bdb/Makefile.in49
1 files changed, 49 insertions, 0 deletions
diff --git a/bdb/Makefile.in b/bdb/Makefile.in
new file mode 100644
index 00000000000..20140ac39c6
--- /dev/null
+++ b/bdb/Makefile.in
@@ -0,0 +1,49 @@
+# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+# Adaptor makefile to translate between what automake expects and what
+# BDB provides (or vice versa).
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+
+# distdir and top_distdir are set by the calling Makefile
+
+bdb_build = build_unix
+files = LICENSE Makefile Makefile.in README
+subdirs = btree build_vxworks build_win32 clib common cxx db db185 \
+ db_archive db_checkpoint db_deadlock db_dump db_dump185 db_load \
+ db_printlog db_recover db_stat db_upgrade db_verify dbm dist docs \
+ env examples_c examples_cxx hash hsearch include java libdb_java \
+ lock log mp mutex os os_vxworks os_win32 perl.BerkeleyDB \
+ perl.DB_File qam rpc_client rpc_server tcl test txn xa
+
+@SET_MAKE@
+
+all:
+ cd $(bdb_build) && $(MAKE) all
+
+# May want to fix this, and MYSQL/configure, to install things
+install:
+
+distdir:
+ for s in $(subdirs); do \
+ cp -pr $(srcdir)/$$s $(distdir)/$$s; \
+ done
+ for f in $(files); do \
+ test -f $(distdir)/$$f || cp -p $(srcdir)/$$f $(distdir)/$$f; \
+ done
+ mkdir $(distdir)/$(bdb_build)