summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2007-08-24 23:40:36 +0200
committerunknown <joerg@trift2.>2007-08-24 23:40:36 +0200
commitac7f0f98d654b19c7d8a9ddf203b650e52f8856b (patch)
tree187c41fd261958a0a1c8792ea4458e1da11e2c8f /netware
parent7d65f9e891dc3d28ee02d975c384c9d7a41162b3 (diff)
parent4a801dde7ea531f16a261e860eb6bb30b497166d (diff)
downloadmariadb-git-ac7f0f98d654b19c7d8a9ddf203b650e52f8856b.tar.gz
Merge trift2.:/MySQL/M50/netware2-5.0
into trift2.:/MySQL/M50/push-5.0 netware/Makefile.am: Auto merged
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/BUILD/compile-netware-END11
-rw-r--r--netware/Makefile.am12
2 files changed, 18 insertions, 5 deletions
diff --git a/netware/BUILD/compile-netware-END b/netware/BUILD/compile-netware-END
index 6c531ab5c7c..bf712f09162 100755
--- a/netware/BUILD/compile-netware-END
+++ b/netware/BUILD/compile-netware-END
@@ -29,8 +29,15 @@ fi
# configure
./configure $base_configs $extra_configs
-# make
-make clean bin-dist
+# Ensure a clean tree
+make clean
+
+# Link NetWare specific .def files into their proper locations
+# in the source tree
+( cd netware && make link_sources )
+
+# Now, do the real build
+make bin-dist
# mark the build
for file in *.tar.gz *.zip
diff --git a/netware/Makefile.am b/netware/Makefile.am
index 1e006bbc25b..2e9ff2b59d6 100644
--- a/netware/Makefile.am
+++ b/netware/Makefile.am
@@ -40,6 +40,11 @@ netware_build_files = client/mysql.def client/mysqladmin.def \
sql/mysqld.def extra/mysql_waitpid.def \
extra/resolve_stack_dump.def myisam/myisam_ftdump.def
+BUILT_SOURCES = link_sources init_db.sql test_db.sql
+CLEANFILES = $(BUILT_SOURCES)
+
+all: $(BUILT_SOURCES)
+
link_sources:
set -x; \
for f in $(netware_build_files); do \
@@ -47,6 +52,7 @@ link_sources:
org=`basename $$f`; \
@LN_CP_F@ $(srcdir)/$$org ../$$f; \
done
+
else
BUILT_SOURCES = libmysql.imp init_db.sql test_db.sql
@@ -86,6 +92,8 @@ EXTRA_DIST= $(BUILT_SOURCES) comp_err.def install_test_db.ncf \
BUILD/mwasmnlm BUILD/mwccnlm BUILD/mwenv BUILD/mwldnlm \
BUILD/nwbootstrap BUILD/openssl.imp BUILD/save-patch
+endif
+
# Build init_db.sql from the files that contain
# the system tables for this version of MySQL plus any commands
@@ -103,9 +111,7 @@ init_db.sql: $(top_srcdir)/scripts/mysql_system_tables.sql \
test_db.sql: init_db.sql $(top_srcdir)/scripts/mysql_test_data_timezone.sql
@echo "Building $@";
@cat init_db.sql \
- $(top_srcdir)/scripts/mysql_test_data_timezone.sql >> $@;
-
-endif
+ $(top_srcdir)/scripts/mysql_test_data_timezone.sql > $@;
# Don't update the files from bitkeeper
%::SCCS/s.%