1 # Makefile.in generated automatically by automake 1.5 from Makefile.am.
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4 # Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16 # Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
18 # This program is free software; you can redistribute it and/or modify
19 # it under the terms of the GNU General Public License as published by
20 # the Free Software Foundation; either version 2 of the License, or
21 # (at your option) any later version.
23 # This program is distributed in the hope that it will be useful,
24 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 # GNU General Public License for more details.
28 # You should have received a copy of the GNU General Public License
29 # along with this program; if not, write to the Free Software
30 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 # Process this file with automake to create Makefile.in
37 top_srcdir = @top_srcdir@
40 exec_prefix = @exec_prefix@
44 libexecdir = @libexecdir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
52 includedir = @includedir@
53 oldincludedir = /usr/include
54 pkgdatadir = $(datadir)/@PACKAGE@
55 pkglibdir = $(libdir)/@PACKAGE@
56 pkgincludedir = $(includedir)/@PACKAGE@
62 AUTOHEADER = @AUTOHEADER@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_DATA = @INSTALL_DATA@
67 INSTALL_SCRIPT = @INSTALL_SCRIPT@
68 INSTALL_HEADER = $(INSTALL_DATA)
69 transform = @program_transform_name@
76 build_alias = @build_alias@
77 build_triplet = @build@
78 host_alias = @host_alias@
80 target_alias = @target_alias@
81 target_triplet = @target@
86 AVAILABLE_LANGUAGES = @AVAILABLE_LANGUAGES@
87 AVAILABLE_LANGUAGES_ERRORS = @AVAILABLE_LANGUAGES_ERRORS@
90 CC_VERSION = @CC_VERSION@
92 CHARSETS_NEED_SOURCE = @CHARSETS_NEED_SOURCE@
93 CHARSET_OBJS = @CHARSET_OBJS@
94 CHARSET_SRCS = @CHARSET_SRCS@
95 CHECK_PID = @CHECK_PID@
97 CLIENT_EXTRA_LDFLAGS = @CLIENT_EXTRA_LDFLAGS@
98 CLIENT_LIBS = @CLIENT_LIBS@
100 COMPILATION_COMMENT = @COMPILATION_COMMENT@
101 CONF_COMMAND = @CONF_COMMAND@
105 CXXFLAGS += @CXXFLAGS@
106 CXXLDFLAGS = @CXXLDFLAGS@
107 CXX_VERSION = @CXX_VERSION@
110 DOT_FRM_VERSION = @DOT_FRM_VERSION@
114 FIND_PROC = @FIND_PROC@
117 HOSTNAME = @HOSTNAME@
118 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
119 IS_LINUX = @IS_LINUX@
124 LIB_EXTRA_CCFLAGS = @LIB_EXTRA_CCFLAGS@
125 LM_CFLAGS = @LM_CFLAGS@
129 MACHINE_TYPE = @MACHINE_TYPE@
131 MAKE_BINARY_DISTRIBUTION_OPTIONS = @MAKE_BINARY_DISTRIBUTION_OPTIONS@
132 MAKE_SHELL = @MAKE_SHELL@
133 MT_INCLUDES = @MT_INCLUDES@
134 MT_LD_ADD = @MT_LD_ADD@
136 MYSQLD_DEFAULT_SWITCHES = @MYSQLD_DEFAULT_SWITCHES@
137 MYSQLD_EXTRA_LDFLAGS = @MYSQLD_EXTRA_LDFLAGS@
138 MYSQLD_USER = @MYSQLD_USER@
139 MYSQL_BASE_VERSION = @MYSQL_BASE_VERSION@
140 MYSQL_NO_DASH_VERSION = @MYSQL_NO_DASH_VERSION@
141 MYSQL_SERVER_SUFFIX = @MYSQL_SERVER_SUFFIX@
142 MYSQL_TCP_PORT = @MYSQL_TCP_PORT@
143 MYSQL_TCP_PORT_DEFAULT = @MYSQL_TCP_PORT_DEFAULT@
144 MYSQL_UNIX_ADDR = @MYSQL_UNIX_ADDR@
145 MYSQL_VERSION_ID = @MYSQL_VERSION_ID@
146 NOINST_LDFLAGS = @NOINST_LDFLAGS@
150 PDFMANUAL = @PDFMANUAL@
153 PROTOCOL_VERSION = @PROTOCOL_VERSION@
157 SAVE_ASFLAGS = @SAVE_ASFLAGS@
158 SAVE_CFLAGS = @SAVE_CFLAGS@
159 SAVE_CXXFLAGS = @SAVE_CXXFLAGS@
160 SAVE_CXXLDFLAGS = @SAVE_CXXLDFLAGS@
161 SAVE_LDFLAGS = @SAVE_LDFLAGS@
163 SHARED_LIB_VERSION = @SHARED_LIB_VERSION@
165 SYSTEM_TYPE = @SYSTEM_TYPE@
167 TERMCAP_LIB = @TERMCAP_LIB@
168 THREAD_LOBJECTS = @THREAD_LOBJECTS@
169 THREAD_LPROGRAMS = @THREAD_LPROGRAMS@
171 WRAPLIBS = @WRAPLIBS@
173 am__include = @am__include@
174 am__quote = @am__quote@
175 bdb_includes = @bdb_includes@
176 bdb_libs = @bdb_libs@
177 bdb_libs_with_path = @bdb_libs_with_path@
178 bench_dirs = @bench_dirs@
179 default_charset = @default_charset@
180 docs_dirs = @docs_dirs@
182 innodb_includes = @innodb_includes@
183 innodb_libs = @innodb_libs@
184 innodb_system_libs = @innodb_system_libs@
185 install_sh = @install_sh@
186 isam_libs = @isam_libs@
187 libmysqld_dirs = @libmysqld_dirs@
188 linked_client_targets = @linked_client_targets@
189 linked_netware_sources = @linked_netware_sources@
190 netware_dir = @netware_dir@
191 openssl_includes = @openssl_includes@
192 openssl_libs = @openssl_libs@
193 orbit_idl = @orbit_idl@
194 orbit_includes = @orbit_includes@
195 orbit_libs = @orbit_libs@
196 pstack_dirs = @pstack_dirs@
197 pstack_libs = @pstack_libs@
198 readline_dir = @readline_dir@
199 readline_link = @readline_link@
200 server_scripts = @server_scripts@
201 sql_client_dirs = @sql_client_dirs@
202 sql_server_dirs = @sql_server_dirs@
203 thread_dirs = @thread_dirs@
204 tools_dirs = @tools_dirs@
205 uname_prog = @uname_prog@
207 vio_libs = @vio_libs@
209 AUTOMAKE_OPTIONS = foreign
211 # These are built from source in the Docs directory
212 EXTRA_DIST = INSTALL-SOURCE README \
215 SUBDIRS = . include @docs_dirs@ @readline_dir@ \
216 @thread_dirs@ pstack @sql_client_dirs@ \
217 @sql_server_dirs@ scripts man tests \
218 BUILD @netware_dir@ os2 @libmysqld_dirs@ \
219 @bench_dirs@ support-files @fs_dirs@ @tools_dirs@
220 SUBDIRS = . include libmysql
223 linked_sources = linked_client_sources linked_server_sources \
224 linked_libmysql_sources linked_libmysql_r_sources \
225 linked_libmysqld_sources linked_libmysqldex_sources \
226 linked_include_sources @linked_netware_sources@
229 CLEANFILES = $(linked_sources)
231 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
232 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
233 CONFIG_HEADER = config.h
234 CONFIG_CLEAN_FILES = bdb/Makefile
237 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
238 uninstall-info-recursive all-recursive install-data-recursive \
239 install-exec-recursive installdirs-recursive install-recursive \
240 uninstall-recursive check-recursive installcheck-recursive
241 DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
242 acconfig.h acinclude.m4 aclocal.m4 config.guess config.h.in \
243 config.sub configure configure.in depcomp install-sh ltconfig \
244 ltmain.sh missing mkinstalldirs
245 DIST_SUBDIRS = $(SUBDIRS)
247 $(MAKE) $(AM_MAKEFLAGS) all-recursive
259 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
260 cd $(top_srcdir) && \
261 $(AUTOMAKE) --foreign Makefile
262 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
263 cd $(top_builddir) && \
264 CONFIG_HEADERS= CONFIG_LINKS= \
265 CONFIG_FILES=$@ $(SHELL) ./config.status
267 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
268 $(SHELL) ./config.status --recheck
269 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
270 cd $(srcdir) && $(AUTOCONF)
272 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
273 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
274 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
275 @rm -f stamp-h stamp-hT
276 @echo timestamp > stamp-hT 2> /dev/null
278 && CONFIG_FILES= CONFIG_HEADERS=config.h \
279 $(SHELL) ./config.status
281 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/./stamp-h.in
282 @if test ! -f $@; then \
283 rm -f $(srcdir)/./stamp-h.in; \
284 $(MAKE) $(srcdir)/./stamp-h.in; \
286 $(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
287 @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
288 @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
289 cd $(top_srcdir) && $(AUTOHEADER)
290 @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
294 bdb/Makefile: $(top_builddir)/config.status $(top_srcdir)/bdb/Makefile.in
295 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
298 # This directory's subdirectories are mostly independent; you can cd
299 # into them and run `make' without going through this Makefile.
300 # To change the values of `make' variables: instead of editing Makefiles,
301 # (1) if the variable is set in `config.status', edit `config.status'
302 # (which will cause the Makefiles to be regenerated when you run `make');
303 # (2) otherwise, pass the desired values on the `make' command line.
304 $(RECURSIVE_TARGETS):
305 @set fnord $(MAKEFLAGS); amf=$$2; \
307 target=`echo $@ | sed s/-recursive//`; \
308 list='$(SUBDIRS)'; for subdir in $$list; do \
309 echo "Making $$target in $$subdir"; \
310 if test "$$subdir" = "."; then \
312 local_target="$$target-am"; \
314 local_target="$$target"; \
316 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
317 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
319 if test "$$dot_seen" = "no"; then \
320 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
323 mostlyclean-recursive clean-recursive distclean-recursive \
324 maintainer-clean-recursive:
325 @set fnord $(MAKEFLAGS); amf=$$2; \
328 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
329 *) list='$(SUBDIRS)' ;; \
331 rev=''; for subdir in $$list; do \
332 if test "$$subdir" = "."; then :; else \
333 rev="$$subdir $$rev"; \
337 target=`echo $@ | sed s/-recursive//`; \
338 for subdir in $$rev; do \
339 echo "Making $$target in $$subdir"; \
340 if test "$$subdir" = "."; then \
341 local_target="$$target-am"; \
343 local_target="$$target"; \
345 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
346 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
347 done && test -z "$$fail"
349 list='$(SUBDIRS)'; for subdir in $$list; do \
350 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
353 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
354 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
355 unique=`for i in $$list; do \
356 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
358 $(AWK) ' { files[$$0] = 1; } \
359 END { for (i in files) print i; }'`; \
360 mkid -fID $$unique $(LISP)
362 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
363 $(TAGS_FILES) $(LISP)
366 list='$(SUBDIRS)'; for subdir in $$list; do \
367 if test "$$subdir" = .; then :; else \
368 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
371 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
372 unique=`for i in $$list; do \
373 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
375 $(AWK) ' { files[$$0] = 1; } \
376 END { for (i in files) print i; }'`; \
377 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
378 || etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
381 here=`CDPATH=: && cd $(top_builddir) && pwd` \
382 && cd $(top_srcdir) \
383 && gtags -i $(GTAGS_ARGS) $$here
386 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
388 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
391 # Avoid unsightly `./'.
392 distdir = $(PACKAGE)-$(VERSION)
396 distdir: $(DISTFILES)
397 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
399 $(mkinstalldirs) $(distdir)/bdb $(distdir)/include
400 @for file in $(DISTFILES); do \
401 if test -f $$file; then d=.; else d=$(srcdir); fi; \
402 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
403 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
404 $(mkinstalldirs) "$(distdir)/$$dir"; \
406 if test -d $$d/$$file; then \
407 cp -pR $$d/$$file $(distdir) \
410 test -f $(distdir)/$$file \
411 || cp -p $$d/$$file $(distdir)/$$file \
415 for subdir in $(SUBDIRS); do \
416 if test "$$subdir" = .; then :; else \
417 test -d $(distdir)/$$subdir \
418 || mkdir $(distdir)/$$subdir \
421 $(MAKE) $(AM_MAKEFLAGS) \
422 top_distdir="$(top_distdir)" \
423 distdir=../$(distdir)/$$subdir \
428 $(MAKE) $(AM_MAKEFLAGS) \
429 top_distdir="${top_distdir}" distdir="$(distdir)" \
431 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
432 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
433 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
434 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
435 || chmod -R a+r $(distdir)
437 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
438 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
440 # This target untars the dist file and tries a VPATH configuration. Then
441 # it guarantees that the distribution is self-contained by making another
444 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
445 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
446 chmod -R a-w $(distdir); chmod a+w $(distdir)
447 mkdir $(distdir)/=build
448 mkdir $(distdir)/=inst
450 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
451 && cd $(distdir)/=build \
452 && ../configure --srcdir=.. --prefix=$$dc_install_base \
453 && $(MAKE) $(AM_MAKEFLAGS) \
454 && $(MAKE) $(AM_MAKEFLAGS) dvi \
455 && $(MAKE) $(AM_MAKEFLAGS) check \
456 && $(MAKE) $(AM_MAKEFLAGS) install \
457 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
458 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
459 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
460 || (echo "Error: files left after uninstall" 1>&2; \
462 && $(MAKE) $(AM_MAKEFLAGS) dist \
463 && $(MAKE) $(AM_MAKEFLAGS) distclean \
464 && rm -f $(distdir).tar.gz \
465 && (test `find . -type f -print | wc -l` -eq 0 \
466 || (echo "Error: files left after distclean" 1>&2; \
468 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
469 @echo "$(distdir).tar.gz is ready for distribution" | \
470 sed 'h;s/./=/g;p;x;p;x'
472 check: check-recursive
473 all-am: Makefile config.h
474 installdirs: installdirs-recursive
477 install: install-recursive
478 install-exec: install-exec-recursive
479 install-data: install-data-recursive
480 uninstall: uninstall-recursive
483 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
485 installcheck: installcheck-recursive
487 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
488 `test -z '$(STRIP)' || \
489 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
493 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
496 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
498 maintainer-clean-generic:
499 @echo "This command is intended for maintainers to use"
500 @echo "it deletes files that may require special tools to rebuild."
501 clean: clean-recursive
503 clean-am: clean-generic clean-libtool mostlyclean-am
506 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
507 -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
508 distclean: distclean-recursive
509 -rm -f config.status config.cache config.log
510 distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
525 install-info: install-info-recursive
531 maintainer-clean: maintainer-clean-recursive
533 maintainer-clean-am: distclean-am maintainer-clean-generic
535 mostlyclean: mostlyclean-recursive
537 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
539 uninstall-am: uninstall-info-am
541 uninstall-info: uninstall-info-recursive
543 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
544 clean-generic clean-libtool clean-recursive dist dist-all \
545 distcheck distclean distclean-generic distclean-hdr \
546 distclean-libtool distclean-recursive distclean-tags distdir \
547 dvi dvi-am dvi-recursive info info-am info-recursive install \
548 install-am install-data install-data-am install-data-recursive \
549 install-exec install-exec-am install-exec-recursive \
550 install-info install-info-am install-info-recursive install-man \
551 install-recursive install-strip installcheck installcheck-am \
552 installdirs installdirs-am installdirs-recursive \
553 maintainer-clean maintainer-clean-generic \
554 maintainer-clean-recursive mostlyclean mostlyclean-generic \
555 mostlyclean-libtool mostlyclean-recursive tags tags-recursive \
556 uninstall uninstall-am uninstall-info-am \
557 uninstall-info-recursive uninstall-recursive
560 # This is just so that the linking is done early.
561 config.h: $(linked_sources)
563 linked_include_sources:
564 cd include; $(MAKE) link_sources
565 echo timestamp > linked_include_sources
567 linked_client_sources: @linked_client_targets@
568 cd client; $(MAKE) link_sources
569 echo timestamp > linked_client_sources
571 linked_libmysql_sources:
572 cd libmysql; $(MAKE) link_sources
573 echo timestamp > linked_libmysql_sources
575 linked_libmysql_r_sources: linked_libmysql_sources
576 cd libmysql_r; $(MAKE) link_sources
577 echo timestamp > linked_libmysql_r_sources
579 linked_libmysqld_sources:
580 cd libmysqld; $(MAKE) link_sources
581 echo timestamp > linked_libmysqld_sources
583 linked_libmysqldex_sources:
584 cd libmysqld/examples; $(MAKE) link_sources
585 echo timestamp > linked_libmysqldex_sources
587 linked_netware_sources:
588 cd @netware_dir@; $(MAKE) link_sources
589 echo timestamp > linked_netware_sources
591 #avoid recursive make calls in sql directory
592 linked_server_sources:
593 cd sql; rm -f mini_client_errors.c;@LN_CP_F@ ../libmysql/errmsg.c mini_client_errors.c
594 echo timestamp > linked_server_sources
596 # Create permission databases
598 $(top_builddir)/scripts/mysql_install_db
601 $(top_builddir)/scripts/make_binary_distribution @MAKE_BINARY_DISTRIBUTION_OPTIONS@
603 # Remove BK's "SCCS" subdirectories from source distribution
605 rm -rf `find $(distdir) -type d -name SCCS`
608 support-files/build-tags
609 .PHONY: init-db bin-dist
614 cd mysql-test ; ./mysql-test-run
615 # Tell versions [3.59,3.63) of GNU make to not export all variables.
616 # Otherwise a system limit (for SysV at least) may be exceeded.