~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to libmysql_r/Makefile.am

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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@ -lz
 
26
 
 
27
INCLUDES =      -I$(top_builddir)/include -I$(top_srcdir)/include
 
28
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
 
29
include $(top_srcdir)/libmysql/Makefile.shared
 
30
 
 
31
nodist_libmysqlclient_r_la_SOURCES = $(target_sources)
 
32
libmysqlclient_r_la_LIBADD = $(target_libadd)
 
33
libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
 
34
 
 
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
 
44
 
 
45
# Don't update the files from bitkeeper
 
46
%::SCCS/s.%