Develop and Download Open Source Software

Browse Subversion Repository

Contents of /tags/tritonn-1.0.13-mysql-5.0.67/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 176 - (show annotations) (download)
Wed Dec 10 05:08:28 2008 UTC (15 years, 3 months ago) by mir
File size: 6994 byte(s)
started tritonn-1.0.13

1 # Copyright (C) 2000-2006 MySQL AB
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; version 2 of the License.
6 #
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 # GNU General Public License for more details.
11 #
12 # You should have received a copy of the GNU General Public License
13 # along with this program; if not, write to the Free Software
14 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
16 # Process this file with automake to create Makefile.in
17
18 AUTOMAKE_OPTIONS = foreign
19
20 # These are built from source in the Docs directory
21 EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
22 README COPYING EXCEPTIONS-CLIENT CMakeLists.txt
23
24 SUBDIRS = . include @docs_dirs@ @zlib_dir@ @yassl_dir@ \
25 @readline_topdir@ sql-common scripts \
26 @thread_dirs@ pstack \
27 @sql_union_dirs@ @man_dirs@ tests \
28 netware @libmysqld_dirs@ \
29 @bench_dirs@ support-files @tools_dirs@
30
31 DIST_SUBDIRS = . include @docs_dirs@ zlib \
32 @readline_topdir@ sql-common \
33 @thread_dirs@ pstack \
34 @sql_union_dirs@ scripts @man_dirs@ tests SSL\
35 BUILD netware os2 @libmysqld_dirs@ \
36 @bench_dirs@ support-files @tools_dirs@ win
37
38 # Run these targets before any others, also make part of clean target,
39 # to make sure we create new links after a clean.
40 BUILT_SOURCES = linked_client_sources linked_server_sources \
41 @linked_client_targets@ \
42 @linked_libmysqld_targets@ \
43 linked_include_sources @linked_netware_sources@
44
45 # The db.h file is a bit special, see note in "configure.in".
46 # In the case we didn't compile with bdb, a dummy file is put
47 # there, but will not be removed by the bdb make file becuase
48 # it will never be called.
49 CLEANFILES = $(BUILT_SOURCES) bdb/build_unix/db.h
50 DISTCLEANFILES = ac_available_languages_fragment
51
52 # Our current filtering of "sql_yacc.cc" in "sql/Makefile.am" creates
53 # a problem, if a VPATH build and "sql_yacc.cc" was part of the source
54 # distribution we end up with one "sql_yacc.cc" in the source tree,
55 # and one in the build tree. This breaks "distcleancheck", until this
56 # is sorted out we redefine the find that scans for files not removed
57
58 distcleancheck_listfiles = find . -name sql_yacc.cc -o -type f -print
59
60 linked_include_sources:
61 cd include; $(MAKE) link_sources
62 echo timestamp > linked_include_sources
63
64 linked_client_sources: @linked_client_targets@
65 cd client; $(MAKE) link_sources
66 echo timestamp > linked_client_sources
67
68 linked_libmysql_sources:
69 cd libmysql; $(MAKE) link_sources
70 echo timestamp > linked_libmysql_sources
71
72 linked_libmysql_r_sources: linked_libmysql_sources
73 cd libmysql_r; $(MAKE) link_sources
74 echo timestamp > linked_libmysql_r_sources
75
76 linked_libmysqld_sources:
77 cd libmysqld; $(MAKE) link_sources
78 echo timestamp > linked_libmysqld_sources
79
80 linked_libmysqldex_sources:
81 cd libmysqld/examples; $(MAKE) link_sources
82 echo timestamp > linked_libmysqldex_sources
83
84 linked_netware_sources:
85 cd @netware_dir@; $(MAKE) link_sources
86 echo timestamp > linked_netware_sources
87
88 linked_server_sources:
89 cd sql; $(MAKE) link_sources
90 echo timestamp > linked_server_sources
91
92 # Create permission databases
93 init-db: all
94 $(top_builddir)/scripts/mysql_install_db
95
96 bin-dist: all
97 $(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
98
99 # Remove BK's "SCCS" subdirectories from source distribution
100 # Create initial database files for Windows installations.
101 dist-hook:
102 rm -rf `find $(distdir) -type d -name SCCS -print`
103 rm -f `find $(distdir) -type l -print`
104 mkdir -p $(distdir)/win
105 scripts/mysql_install_db --no-defaults --cross-bootstrap \
106 --basedir=$(top_builddir) \
107 --datadir=$(distdir)/win/data \
108 --srcdir=$(top_srcdir)
109
110 tags:
111 support-files/build-tags
112
113 .PHONY: init-db bin-dist \
114 test test-force test-full test-force-full test-force-mem \
115 test-pl test-force-pl test-full-pl test-force-full-pl test-force-pl-mem \
116 test-ps test-ns test-ext-funcs test-ext \
117 test-fast test-fast-cursor test-fast-view test-fast-prepare \
118 test-full-qa
119
120 # Target 'test' will run the regression test suite using the built server.
121 #
122 # If you are running in a shared environment, users can avoid clashing
123 # port numbers by setting individual small numbers 1-100 to the
124 # environment variable MTR_BUILD_THREAD. The script "mysql-test-run"
125 # will then calculate the various port numbers it needs from this,
126 # making sure each user use different ports.
127
128 test-ps:
129 cd mysql-test ; \
130 @PERL@ ./mysql-test-run.pl $(force) $(mem) --ps-protocol
131
132 test-ns:
133 cd mysql-test ; \
134 @PERL@ ./mysql-test-run.pl $(force) $(mem)
135
136 test: test-ns test-ps
137
138 # To ease script-writing, although in 5.0 it is identical to 'test'
139 test-full: test
140
141 test-force:
142 $(MAKE) force=--force test
143
144 test-force-full:
145 $(MAKE) force=--force test-full
146
147 #used by autopush.pl to run memory based tests
148 test-force-mem:
149 $(MAKE) force=--force mem=--mem test
150
151 test-bt:
152 -cd mysql-test ; MTR_BUILD_THREAD=auto \
153 @PERL@ ./mysql-test-run.pl --force --comment=normal --report-features
154 -cd mysql-test ; MTR_BUILD_THREAD=auto \
155 @PERL@ ./mysql-test-run.pl --force --comment=ps --ps-protocol
156 -cd mysql-test ; MTR_BUILD_THREAD=auto \
157 @PERL@ ./mysql-test-run.pl --force --comment=funcs1_ps --ps-protocol --reorder --suite=funcs_1
158 -cd mysql-test ; MTR_BUILD_THREAD=auto \
159 @PERL@ ./mysql-test-run.pl --force --comment=funcs2 --suite=funcs_2
160 -if [ -d mysql-test/suite/nist ] ; then \
161 cd mysql-test ; MTR_BUILD_THREAD=auto \
162 @PERL@ ./mysql-test-run.pl --comment=NIST+normal --force --suite=nist ; \
163 fi
164 -if [ -d mysql-test/suite/nist ] ; then \
165 cd mysql-test ; MTR_BUILD_THREAD=auto \
166 @PERL@ ./mysql-test-run.pl --comment=NIST+ps --force --suite=nist --ps-protocol ; \
167 fi
168
169 test-bt-debug:
170 -cd mysql-test ; MTR_BUILD_THREAD=auto \
171 @PERL@ ./mysql-test-run.pl --force --comment=debug --report-features
172
173 # Keep these for a while
174 test-pl: test
175 test-full-pl: test-full
176 test-force-pl: test-force
177 test-force-pl-mem: test-force-mem
178 test-force-full-pl: test-force-full
179
180 test-ext-funcs:
181 cd mysql-test ; \
182 @PERL@ ./mysql-test-run.pl --force --reorder --suite=funcs_1 ; \
183 @PERL@ ./mysql-test-run.pl --force --suite=funcs_2
184
185 test-ext: test-ext-funcs
186
187 test-fast:
188 cd mysql-test ; \
189 @PERL@ ./mysql-test-run.pl $(subset) --force --skip-ndb --skip-innodb --skip-im --skip-rpl ; \
190 @PERL@ ./mysql-test-run.pl $(subset) --force --suite=funcs_1 --do-test=myisam
191
192 test-fast-view:
193 $(MAKE) subset=--view-protocol test-fast
194
195 test-fast-cursor:
196 $(MAKE) subset=--cursor-protocol test-fast
197
198 test-fast-prepare:
199 $(MAKE) subset=--ps-protocol test-fast
200
201 test-full-qa:
202 $(MAKE) force=--force test-pl \
203 test-ext test-fast-view \
204 test-fast-cursor
205
206 # Don't update the files from bitkeeper
207 %::SCCS/s.%

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26