mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / libmysql_r / Makefile.am
blob0fc6c73c1adcaa91ddda914207dcb85d02d0e450
1 # Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
2
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of version 2 GNU General Public License as
5 # published by the Free Software Foundation.
7 # There are special exceptions to the terms and conditions of the GPL as it
8 # is applied to this software.
9
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Library General Public License for more details.
14
15 # You should have received a copy of the GNU Library General Public
16 # License along with this library; if not, write to the Free
17 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 # MA 02110-1301, USA
20 # This file is public domain and comes with NO WARRANTY of any kind
22 target = libmysqlclient_r.la
23 target_defs = -DDONT_USE_RAID -DMYSQL_CLIENT @LIB_EXTRA_CCFLAGS@
24 LIBS = @LIBS@ @ZLIB_LIBS@ @openssl_libs@
26 INCLUDES =      -I$(top_builddir)/include -I$(top_srcdir)/include \
27                 $(openssl_includes) @ZLIB_INCLUDES@
28 ## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
29 include $(top_srcdir)/libmysql/Makefile.shared
31 nodist_libmysqlclient_r_la_SOURCES = $(target_sources)
32 libmysqlclient_r_la_LIBADD = $(target_libadd) $(yassl_las)
33 libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
35 link_sources:
36         set -x; \
37         for d in $(top_srcdir)/libmysql $(top_builddir)/libmysql; do \
38           for f in `cd $$d && echo *.[ch]`; do \
39             rm -f $$f; \
40             @LN_CP_F@ $$d/$$f $$f; \
41           done; \
42         done
43         echo timestamp > link_sources
45 # Don't update the files from bitkeeper
46 %::SCCS/s.%