1
by brian
clean slate |
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 |
||
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
23 |
MYSQLDATAdir = $(localstatedir) |
24 |
MYSQLSHAREdir = $(pkgdatadir) |
|
25 |
MYSQLBASEdir= $(prefix) |
|
26 |
||
27 |
pkglib_LTLIBRARIES = libmysqlclient.la |
|
30.1.2
by Monty Taylor
Somehow missed moving password.c. Duh. |
28 |
libmysqlclient_la_SOURCES = libmysql.c get_password.c \ |
28.1.7
by Monty Taylor
Put errmsg.c in sql-common since it can be built only once and used twice. |
29 |
client.c net_serv.c |
30 |
libmysqlclient_la_LIBADD = ${sql_cmn_objects} ${sqlobjects} \ |
|
28.1.3
by Monty Taylor
Fixed patch application so that the silly thing compiles. :) |
31 |
${top_builddir}/mysys/libmysyslt.la \ |
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
32 |
${top_builddir}/strings/libmystringslt.la \ |
28.1.7
by Monty Taylor
Put errmsg.c in sql-common since it can be built only once and used twice. |
33 |
${top_builddir}/dbug/libdbuglt.la \ |
34 |
${top_builddir}/sql-common/libsqlcommon.la \ |
|
35 |
${top_builddir}/vio/libviolt.la |
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
36 |
libmysqlclient_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@ @LD_VERSION_SCRIPT@ |
37 |
||
38 |
DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \ |
|
39 |
-DDATADIR="\"$(MYSQLDATAdir)\"" \ |
|
40 |
-DDEFAULT_HOME_ENV=MYSQL_HOME \ |
|
41 |
-DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX \ |
|
42 |
-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \ |
|
43 |
-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \ |
|
44 |
-DUNDEF_THREADS_HACK |
|
45 |
||
1
by brian
clean slate |
46 |
LIBS = @CLIENT_LIBS@ |
28.1.20
by Monty Taylor
Replaced INCLUDES with AM_CPPFLAGS. |
47 |
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/vio -I$(top_srcdir)/mysys -I$(top_builddir)/sql-common |
1
by brian
clean slate |
48 |
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
49 |
EXTRA_DIST = libmysql.def |
50 |
||
51 |
CLEANFILES = $(target_libadd) $(SHLIBOBJS) \ |
|
52 |
$(target) $(BUILT_SOURCES) |
|
53 |
||
1
by brian
clean slate |
54 |
|
55 |
# This part requires GNUmake
|
|
56 |
#
|
|
57 |
# This makes a distribution file with only the files needed to compile
|
|
58 |
# a minimal MySQL client library
|
|
59 |
#
|
|
60 |
# A list of needed headers collected from the deps information 000213
|
|
61 |
nh = my_global.h config-win32.h dbug.h errmsg.h \ |
|
62 |
m_ctype.h m_string.h \
|
|
63 |
my_alarm.h my_config.h my_dir.h my_list.h my_net.h my_sys.h \
|
|
64 |
mysql.h mysql_com.h mysql_version.h mysqld_error.h \
|
|
65 |
mysys_err.h my_pthread.h thr_alarm.h violite.h hash.h \
|
|
28.1.7
by Monty Taylor
Put errmsg.c in sql-common since it can be built only once and used twice. |
66 |
sql_common.h |
1
by brian
clean slate |
67 |