mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 14:32:34 +01:00
7c1d127680
BitKeeper/deleted/.del-BldLevel.cmd~d1a41ef0712190e1: Delete: os2/BldLevel.cmd BitKeeper/deleted/.del-BldLevelInf.cmd~49e29c82b3527c4a: Delete: os2/BldLevelInf.cmd BitKeeper/deleted/.del-BldLevel.RES~6701a23a4d0b0f33: Delete: os2/BldLevel.RES BitKeeper/deleted/.del-BldLevel.rc~fdab305a1b550012: Delete: os2/BldLevel.rc BitKeeper/deleted/.del-ChangeLog.os2~c473e6f17539eb4: Delete: os2/ChangeLog.os2 BitKeeper/deleted/.del-Makefile.am~e5b911533dad2713: Delete: os2/Makefile.am BitKeeper/deleted/.del-build-all.cmd~68479264bb9abe: Delete: os2/build-all.cmd BitKeeper/deleted/.del-MySQL-Client.icc~1d41cb9ed34c28ce: Delete: os2/MySQL-Client.icc BitKeeper/deleted/.del-mysql-inf.wis~fce577336b6bb0e: Delete: os2/mysql-inf.wis BitKeeper/deleted/.del-mysqlalt.wis~409d76f4dfd1e4c4: Delete: os2/mysqlalt.wis BitKeeper/deleted/.del-MySQL-Opt.icc~b9517e18e6cf6c05: Delete: os2/MySQL-Opt.icc BitKeeper/deleted/.del-MySQL-Source.icc~edded3c3a5cf83b1: Delete: os2/MySQL-Source.icc BitKeeper/deleted/.del-MySQL-Sql.icc~2ec2a87f4a096d31: Delete: os2/MySQL-Sql.icc BitKeeper/deleted/.del-MySQL-Sql.irs~266e93e2c9003567: Delete: os2/MySQL-Sql.irs BitKeeper/deleted/.del-MySQL-Util.icc~e6288097ceb9cbd2: Delete: os2/MySQL-Util.icc BitKeeper/deleted/.del-MySQL-Util.irs~cc5eb078dbc0605c: Delete: os2/MySQL-Util.irs BitKeeper/deleted/.del-mysql.wis~95ebdebeb470c823: Delete: os2/mysql.wis BitKeeper/deleted/.del-ReadMe.txt~573b1e4ebab241e1: Delete: os2/ReadMe.txt BitKeeper/deleted/.del-rint.cmd~49a7df1e6a4214af: Delete: os2/rint.cmd BitKeeper/deleted/.del-rint.obj~e6bbb137ffb2f3d1: Delete: os2/rint.obj BitKeeper/deleted/.del-rint.s~82358ca146718a12: Delete: os2/rint.s BitKeeper/deleted/.del-config.h~1e58e9b6b3735392: Delete: os2/include/config.h BitKeeper/deleted/.del-Makefile.am~f87185e232d7c4f: Delete: os2/include/Makefile.am BitKeeper/deleted/.del-pwd.h~b26f27954da3a1be: Delete: os2/include/pwd.h BitKeeper/deleted/.del-sgtty.h~4321c310847cb55c: Delete: os2/include/sgtty.h BitKeeper/deleted/.del-termio.h~b136a899c396cb69: Delete: os2/include/termio.h BitKeeper/deleted/.del-Makefile.am~ead19441cc5ff35c: Delete: os2/include/sys/Makefile.am BitKeeper/deleted/.del-file.h~90a5c4f6c7dfb5a: Delete: os2/include/sys/file.h BitKeeper/deleted/.del-config-os2.h~a16b51851ddd317b: Delete: include/config-os2.h BitKeeper/deleted/.del-my_os2cond.c~e3b520af1c371bb5: Delete: mysys/my_os2cond.c BitKeeper/deleted/.del-my_os2dirsrch.c~4e2479b2abb2eb5a: Delete: mysys/my_os2dirsrch.c BitKeeper/deleted/.del-my_os2dirsrch.h~5011cbc657537d0: Delete: mysys/my_os2dirsrch.h BitKeeper/deleted/.del-my_os2dlfcn.c~6d94b488717683dd: Delete: mysys/my_os2dlfcn.c BitKeeper/deleted/.del-my_os2dlfcn.h0~eae8edb8555eff87: Delete: mysys/my_os2dlfcn.h0 BitKeeper/deleted/.del-my_os2file64.c~251fb8a1e950c31b: Delete: mysys/my_os2file64.c BitKeeper/deleted/.del-my_os2mutex.c~79f7438bfde5132a: Delete: mysys/my_os2mutex.c BitKeeper/deleted/.del-my_os2thread.c~65dca991548cec2a: Delete: mysys/my_os2thread.c BitKeeper/deleted/.del-my_os2tls.c~58ade7a0f70ad5ea: Delete: mysys/my_os2tls.c Makefile.am: Removed os2 reference configure.in: Removed OS2 specific os2 files. include/Makefile.am: Removed os2 specific config file. include/my_global.h: Removed OS2 specific files. mysys/Makefile.am: Removed OS2 specific files.
172 lines
6.1 KiB
Makefile
172 lines
6.1 KiB
Makefile
# 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
|
|
|
|
# Process this file with automake to create Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
# These are built from source in the Docs directory
|
|
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
|
|
README COPYING EXCEPTIONS-CLIENT cmakelists.txt
|
|
SUBDIRS = . include @docs_dirs@ @zlib_dir@ @yassl_dir@ \
|
|
@readline_topdir@ sql-common \
|
|
@thread_dirs@ pstack \
|
|
@sql_union_dirs@ @mysql_se_dirs@ \
|
|
@sql_server@ scripts @man_dirs@ tests \
|
|
@mysql_se_plugins@ \
|
|
netware @libmysqld_dirs@ \
|
|
@bench_dirs@ support-files @tools_dirs@ \
|
|
plugin win
|
|
|
|
DIST_SUBDIRS = . include @docs_dirs@ zlib \
|
|
@readline_topdir@ sql-common \
|
|
@thread_dirs@ pstack \
|
|
strings mysys dbug extra regex storage \
|
|
vio sql libmysql_r libmysql client scripts \
|
|
@man_dirs@ tests SSL\
|
|
BUILD netware @libmysqld_dirs@\
|
|
@bench_dirs@ support-files server-tools tools \
|
|
plugin win
|
|
|
|
# Run these targets before any others, also make part of clean target,
|
|
# to make sure we create new links after a clean.
|
|
BUILT_SOURCES = linked_client_sources linked_server_sources \
|
|
@linked_client_targets@ \
|
|
@linked_libmysqld_targets@ \
|
|
linked_include_sources @linked_netware_sources@
|
|
|
|
# The db.h file is a bit special, see note in "configure.in".
|
|
# In the case we didn't compile with bdb, a dummy file is put
|
|
# there, but will not be removed by the bdb make file becuase
|
|
# it will never be called.
|
|
CLEANFILES = $(BUILT_SOURCES) bdb/build_unix/db.h
|
|
DISTCLEANFILES = ac_available_languages_fragment
|
|
|
|
linked_include_sources:
|
|
cd include; $(MAKE) link_sources
|
|
echo timestamp > linked_include_sources
|
|
|
|
linked_client_sources: @linked_client_targets@
|
|
cd client; $(MAKE) link_sources
|
|
echo timestamp > linked_client_sources
|
|
|
|
linked_libmysql_sources:
|
|
cd libmysql; $(MAKE) link_sources
|
|
echo timestamp > linked_libmysql_sources
|
|
|
|
linked_libmysql_r_sources: linked_libmysql_sources
|
|
cd libmysql_r; $(MAKE) link_sources
|
|
echo timestamp > linked_libmysql_r_sources
|
|
|
|
linked_libmysqld_sources:
|
|
cd libmysqld; $(MAKE) link_sources
|
|
echo timestamp > linked_libmysqld_sources
|
|
|
|
linked_libmysqldex_sources:
|
|
cd libmysqld/examples; $(MAKE) link_sources
|
|
echo timestamp > linked_libmysqldex_sources
|
|
|
|
linked_netware_sources:
|
|
cd @netware_dir@; $(MAKE) link_sources
|
|
echo timestamp > linked_netware_sources
|
|
|
|
linked_server_sources:
|
|
cd sql; $(MAKE) link_sources
|
|
echo timestamp > linked_server_sources
|
|
|
|
# Create permission databases
|
|
init-db: all
|
|
$(top_builddir)/scripts/mysql_install_db
|
|
|
|
bin-dist: all
|
|
$(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
|
|
|
|
# Remove BK's "SCCS" subdirectories from source distribution
|
|
# Create initial database files for Windows installations.
|
|
dist-hook:
|
|
rm -rf `find $(distdir) -type d -name SCCS -print`
|
|
if echo "$(distdir)" | grep -q '^/' ; then \
|
|
scripts/mysql_install_db --no-defaults --windows \
|
|
--datadir="$(distdir)/win/data"; \
|
|
else \
|
|
scripts/mysql_install_db --no-defaults --windows \
|
|
--datadir="$$(pwd)/$(distdir)/win/data"; \
|
|
fi
|
|
|
|
tags:
|
|
support-files/build-tags
|
|
.PHONY: init-db bin-dist
|
|
|
|
# Target 'test' will run the regression test suite using the built server.
|
|
#
|
|
# If you are running in a shared environment, users can avoid clashing
|
|
# port numbers by setting individual small numbers 1-100 to the
|
|
# environment variable MTR_BUILD_THREAD. The script "mysql-test-run"
|
|
# will then calculate the various port numbers it needs from this,
|
|
# making sure each user use different ports.
|
|
|
|
test:
|
|
cd mysql-test ; \
|
|
./mysql-test-run --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run --ps-protocol --mysqld=--binlog-format=row
|
|
|
|
test-full:
|
|
cd mysql-test ; \
|
|
./mysql-test-run --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run --ps-protocol --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run --mysqld=--binlog-format=row && \
|
|
./mysql-test-run --ps-protocol --mysqld=--binlog-format=row
|
|
|
|
test-force:
|
|
cd mysql-test ; \
|
|
./mysql-test-run --force --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run --ps-protocol --force --mysqld=--binlog-format=row
|
|
|
|
test-force-full:
|
|
cd mysql-test ; \
|
|
./mysql-test-run --force --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run --force --ps-protocol --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run --force --mysqld=--binlog-format=row && \
|
|
./mysql-test-run --force --ps-protocol --mysqld=--binlog-format=row
|
|
|
|
# We are testing a new Perl version of the test script
|
|
test-pl:
|
|
cd mysql-test ; \
|
|
./mysql-test-run.pl --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run.pl --ps-protocol --mysqld=--binlog-format=row
|
|
|
|
test-full-pl:
|
|
cd mysql-test ; \
|
|
./mysql-test-run.pl --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run.pl --ps-protocol --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run.pl --mysqld=--binlog-format=row && \
|
|
./mysql-test-run.pl --ps-protocol --mysqld=--binlog-format=row
|
|
|
|
test-force-pl:
|
|
cd mysql-test ; \
|
|
./mysql-test-run.pl --force --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run.pl --ps-protocol --force --mysqld=--binlog-format=row
|
|
|
|
test-force-full-pl:
|
|
cd mysql-test ; \
|
|
./mysql-test-run.pl --force --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run.pl --force --ps-protocol --mysqld=--binlog-format=statement && \
|
|
./mysql-test-run.pl --force --mysqld=--binlog-format=row && \
|
|
./mysql-test-run.pl --force --ps-protocol --mysqld=--binlog-format=row
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|
|
|