mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
5578506302
into mysql.com:/home/kent/bk/tmp/mysql-5.1-build BitKeeper/etc/ignore: auto-union BitKeeper/deleted/.del-comp_err.vcproj~45c167ae5ddd5a96: Auto merged BitKeeper/deleted/.del-gen_lex_hash.vcproj~544be6b6: Auto merged BitKeeper/deleted/.del-heap.vcproj~4382203ba03f4038: Auto merged BitKeeper/deleted/.del-myTest.vcproj~dba5adc4fad3c06: Auto merged BitKeeper/deleted/.del-my_print_defaults.vcproj~c8aa2bd86e13c3f9: Auto merged BitKeeper/deleted/.del-myisam_ftdump.vcproj~409c19b0274b7f8e: Auto merged BitKeeper/deleted/.del-myisamchk.vcproj~982ebe5673e58fb6: Auto merged BitKeeper/deleted/.del-myisamlog.vcproj~daa6596ea386e5a7: Auto merged BitKeeper/deleted/.del-myisampack.vcproj~3f7d4ec0cb56a9a0: Auto merged BitKeeper/deleted/.del-mysql.vcproj~f7bfe13a8836eea0: Auto merged BitKeeper/deleted/.del-mysql_client_test.vcproj~22188dcd372bc9de: Auto merged BitKeeper/deleted/.del-mysql_upgrade.vcproj~54815b7265120589: Auto merged BitKeeper/deleted/.del-mysqladmin.vcproj~178fa55cba442d50: Auto merged BitKeeper/deleted/.del-mysqlbinlog.vcproj~b2a5b1868f5d6596: Auto merged BitKeeper/deleted/.del-mysqlcheck.vcproj~7022581c8b8a7ea2: Auto merged BitKeeper/deleted/.del-mysqlclient.vcproj~e78a73e31368a44a: Auto merged BitKeeper/deleted/.del-mysqlimport.vcproj~5a30228ef641c081: Auto merged BitKeeper/deleted/.del-mysqlshow.vcproj~797d4fa322faa148: Auto merged BitKeeper/deleted/.del-mysqltest.vcproj~21878840704179ef: Auto merged BitKeeper/deleted/.del-perror.vcproj~86ad9dc660a048ad: Auto merged BitKeeper/deleted/.del-regex.vcproj~9dea9caafa801b26: Auto merged BitKeeper/deleted/.del-replace.vcproj~9620b1ced86e527a: Auto merged BitKeeper/deleted/.del-strings.vcproj~6d1126ae59e4bf82: Auto merged BitKeeper/deleted/.del-test1.vcproj~c474b4614c67e2d2: Auto merged BitKeeper/deleted/.del-test_libmysqld.vcproj~fb301d42d5c4e6f4: Auto merged BitKeeper/deleted/.del-thr_test.vcproj~fc0e15c1e6880160: Auto merged BitKeeper/deleted/.del-vio.vcproj~b7c21b4e2d6a9b85: Auto merged BitKeeper/deleted/.del-zlib.vcproj~9b1a681d56dae190: Auto merged extra/yassl/taocrypt/taocrypt.vcproj: Auto merged extra/yassl/yassl.vcproj: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/delayed.result: Auto merged mysql-test/r/loaddata.result: Auto merged mysql-test/r/merge.result: Auto merged mysql-test/t/delayed.test: Auto merged mysql-test/t/init_connect.test: Auto merged mysql-test/t/loaddata.test: Auto merged mysql-test/t/merge.test: Auto merged netware/Makefile.am: Auto merged scripts/make_binary_distribution.sh: Auto merged sql/item_cmpfunc.cc: Auto merged sql/mysql_priv.h: Auto merged storage/ndb/src/cw/cpcc-win32/C++/CPC_GUI.vcproj: Auto merged mysql-test/install_test_db.sh: SCCS merged
115 lines
5 KiB
Makefile
115 lines
5 KiB
Makefile
# Copyright (c) 2002 Novell, Inc. All Rights Reserved.
|
|
#
|
|
# 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
|
|
|
|
if HAVE_NETWARE
|
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I..
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \
|
|
../dbug/libdbug.a ../strings/libmystrings.a
|
|
bin_PROGRAMS = mysqld_safe mysql_install_db mysql_test_run libmysql
|
|
mysqld_safe_SOURCES= mysqld_safe.c my_manage.c
|
|
mysql_install_db_SOURCES= mysql_install_db.c my_manage.c
|
|
mysql_test_run_SOURCES= mysql_test_run.c my_manage.c
|
|
libmysql_SOURCES= libmysqlmain.c
|
|
libmysql_LDADD = ../libmysql/.libs/libmysqlclient.a \
|
|
@openssl_libs@ @yassl_libs@
|
|
|
|
netware_build_files = client/mysql.def client/mysqladmin.def \
|
|
client/mysqlbinlog.def client/mysqlcheck.def \
|
|
client/mysqldump.def client/mysqlimport.def \
|
|
client/mysqlshow.def client/mysqltest.def \
|
|
client/mysqlslap.def client/mysql_upgrade.def \
|
|
sql/mysqld.def extra/mysql_waitpid.def \
|
|
tests/mysql_client_test.def \
|
|
extra/my_print_defaults.def \
|
|
extra/perror.def extra/replace.def \
|
|
extra/resolveip.def extra/comp_err.def \
|
|
extra/resolve_stack_dump.def \
|
|
libmysqld/libmysqld.def \
|
|
storage/myisam/myisamchk.def \
|
|
storage/myisam/myisamlog.def \
|
|
storage/myisam/myisampack.def \
|
|
storage/myisam/myisam_ftdump.def
|
|
|
|
link_sources:
|
|
set -x; \
|
|
for f in $(netware_build_files); do \
|
|
rm -f ../$$f; \
|
|
org=`echo $$f | sed -e 's/.*\/\(.*\)/\1/g'`; \
|
|
@LN_CP_F@ $(srcdir)/$$org ../$$f; \
|
|
done
|
|
else
|
|
|
|
BUILT_SOURCES = libmysql.imp init_db.sql test_db.sql
|
|
DISTCLEANFILES = libmysql.imp
|
|
CLEANFILES = init_db.sql test_db.sql
|
|
|
|
# Create the libmysql.imp from libmysql/libmysql.def
|
|
libmysql.imp: $(top_srcdir)/libmysql/libmysql.def
|
|
$(AWK) 'BEGIN{x=0;} \
|
|
END{printf("\n");} \
|
|
x==1 {printf(" %s",$$1); x++; next} \
|
|
x>1 {printf(",\n %s", $$1); next} \
|
|
/EXPORTS/{x=1}' $(top_srcdir)/libmysql/libmysql.def > libmysql.imp
|
|
|
|
EXTRA_DIST= $(BUILT_SOURCES) comp_err.def install_test_db.ncf \
|
|
libmysql.def \
|
|
libmysqlmain.c my_manage.c my_manage.h \
|
|
my_print_defaults.def myisam_ftdump.def myisamchk.def \
|
|
myisamlog.def myisampack.def mysql.def mysql.xdc \
|
|
mysql_fix_privilege_tables.pl \
|
|
mysql_install_db.c mysql_install_db.def \
|
|
mysql_secure_installation.pl mysql_test_run.c \
|
|
mysql_test_run.def mysql_waitpid.def mysqladmin.def \
|
|
mysqlbinlog.def mysqlcheck.def mysqld.def \
|
|
mysqld_safe.c mysqld_safe.def mysqldump.def mysqlimport.def \
|
|
mysqlshow.def mysqltest.def mysqlslap.def mysql_upgrade.def \
|
|
perror.def \
|
|
mysql_client_test.def \
|
|
replace.def resolve_stack_dump.def resolveip.def \
|
|
static_init_db.sql \
|
|
BUILD/apply-patch BUILD/compile-AUTOTOOLS \
|
|
BUILD/compile-linux-tools BUILD/compile-netware-END \
|
|
BUILD/compile-netware-START BUILD/compile-netware-all\
|
|
BUILD/compile-netware-debug BUILD/compile-netware-max \
|
|
BUILD/compile-netware-max-debug BUILD/compile-netware-src \
|
|
BUILD/compile-netware-standard BUILD/create-patch \
|
|
BUILD/cron-build BUILD/crontab BUILD/knetware.imp \
|
|
BUILD/mwasmnlm BUILD/mwccnlm BUILD/mwenv BUILD/mwldnlm \
|
|
BUILD/nwbootstrap BUILD/openssl.imp BUILD/save-patch
|
|
|
|
|
|
# Build init_db.sql from the files that contain
|
|
# the system tables for this version of MySQL plus any commands
|
|
init_db.sql: $(top_srcdir)/scripts/mysql_system_tables.sql \
|
|
$(top_srcdir)/scripts/mysql_system_tables_data.sql
|
|
@echo "Building $@";
|
|
@echo "CREATE DATABASE mysql;" > $@;
|
|
@echo "CREATE DATABASE test;" >> $@;
|
|
@echo "use mysql;" >> $@;
|
|
@cat $(top_srcdir)/scripts/mysql_system_tables.sql \
|
|
$(top_srcdir)/scripts/mysql_system_tables_fix.sql >> $@;
|
|
|
|
# Build test_db.sql from init_db.sql plus
|
|
# some test data
|
|
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
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|