~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to libmysql_r/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2000-2004 MySQL AB
 
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.
 
6
#
 
7
# There are special exceptions to the terms and conditions of the GPL as it
 
8
# is applied to this software. View the full text of the exception in file
 
9
# EXCEPTIONS-CLIENT in the directory of this software distribution.
 
10
 
11
# This library is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
# Library General Public License for more details.
 
15
 
16
# You should have received a copy of the GNU Library General Public
 
17
# License along with this library; if not, write to the Free
 
18
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
19
# MA 02111-1307, USA
 
20
#
 
21
# This file is public domain and comes with NO WARRANTY of any kind
 
22
 
 
23
target = libmysqlclient_r.la
 
24
target_defs = -DDONT_USE_RAID -DMYSQL_CLIENT @LIB_EXTRA_CCFLAGS@
 
25
LIBS = @LIBS@ @ZLIB_LIBS@ @openssl_libs@
 
26
 
 
27
INCLUDES =      -I$(top_builddir)/include -I$(top_srcdir)/include \
 
28
                $(openssl_includes) @ZLIB_INCLUDES@
 
29
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
 
30
include $(top_srcdir)/libmysql/Makefile.shared
 
31
 
 
32
nodist_libmysqlclient_r_la_SOURCES = $(target_sources)
 
33
libmysqlclient_r_la_LIBADD = $(target_libadd) $(yassl_las)
 
34
libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
 
35
 
 
36
link_sources:
 
37
        set -x; \
 
38
        for d in $(top_srcdir)/libmysql $(top_builddir)/libmysql; do \
 
39
          for f in `cd $$d && echo *.[ch]`; do \
 
40
            rm -f $$f; \
 
41
            @LN_CP_F@ $$d/$$f $$f; \
 
42
          done; \
 
43
        done
 
44
        echo timestamp > link_sources
 
45
 
 
46
# Don't update the files from bitkeeper
 
47
%::SCCS/s.%