~drizzle-trunk/drizzle/development

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
53.2.24 by Monty Taylor
Added an automake conditional to not build the dbug dir, since I don't want to keep seeing errors for it while cleaning up other parts of the tree.
23
if BUILD_DBUG
24
  d_dbug = $(top_builddir)/dbug/libdbuglt.la
25
endif
26
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
27
MYSQLDATAdir =			$(localstatedir)
28
MYSQLSHAREdir =			$(pkgdatadir)
29
MYSQLBASEdir=			$(prefix)
30
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
31
pkglib_LTLIBRARIES = libdrizzle.la
32
libdrizzle_la_SOURCES = libdrizzle.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.
33
                            client.c net_serv.c
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
34
libdrizzle_la_LIBADD = ${sql_cmn_objects} ${sqlobjects} \
28.1.3 by Monty Taylor
Fixed patch application so that the silly thing compiles. :)
35
			   ${top_builddir}/mysys/libmysyslt.la \
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
36
			   ${top_builddir}/strings/libmystringslt.la \
53.2.24 by Monty Taylor
Added an automake conditional to not build the dbug dir, since I don't want to keep seeing errors for it while cleaning up other parts of the tree.
37
			   $(d_dbug) \
28.1.7 by Monty Taylor
Put errmsg.c in sql-common since it can be built only once and used twice.
38
			   ${top_builddir}/sql-common/libsqlcommon.la \
39
			   ${top_builddir}/vio/libviolt.la 
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
40
libdrizzle_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@ @LD_VERSION_SCRIPT@ 
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
41
42
DEFS =			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
43
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
44
			-DDEFAULT_HOME_ENV=MYSQL_HOME \
45
			-DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX \
46
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
47
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
48
			-DUNDEF_THREADS_HACK
49
1 by brian
clean slate
50
LIBS =		@CLIENT_LIBS@ 
52 by Brian Aker
Cleanup of sql-common and mysqldump
51
AM_CPPFLAGS =	-I$(top_builddir)/include -I$(top_srcdir)/vio -I$(top_srcdir)/mysys -I$(top_builddir)/sql-common
1 by brian
clean slate
52
28.1.26 by Monty Taylor
Fixed a few small problems so that make distcheck works.
53
noinst_HEADERS = client_settings.h
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
54
55
CLEANFILES =		$(target_libadd) $(SHLIBOBJS) \
56
			$(target) $(BUILT_SOURCES)
57