~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
77.1.89 by Monty Taylor
Removed client reference to strings dir... turns out we don't need it!
23
AM_CPPFLAGS =	-I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/vio -I$(top_srcdir)/mysys
77.1.50 by Monty Taylor
First step of sql-common removal (the cheap way)
24
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
25
MYSQLDATAdir =			$(localstatedir)
26
MYSQLSHAREdir =			$(pkgdatadir)
27
MYSQLBASEdir=			$(prefix)
28
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
29
pkglib_LTLIBRARIES = libdrizzle.la
77.1.54 by Monty Taylor
More warnings cleanups.
30
libdrizzle_la_SOURCES = libdrizzle.c client.c net_serv.c get_password.c
77.1.90 by Monty Taylor
Whoops. We _do_ need strings. Sigh.
31
libdrizzle_la_LIBADD =	${sql_cmn_objects} ${sqlobjects} \
32
			${top_builddir}/mysys/libmysyslt.la \
77.1.93 by Monty Taylor
Fixed libdrizzle trailing space.
33
			${top_builddir}/strings/libmystringslt.la \
77.1.90 by Monty Taylor
Whoops. We _do_ need strings. Sigh.
34
			libsqlcommon.la \
35
			${top_builddir}/vio/libviolt.la 
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
36
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
37
77.1.54 by Monty Taylor
More warnings cleanups.
38
noinst_LTLIBRARIES = libsqlcommon.la
39
libsqlcommon_la_SOURCES = pack.c my_time.c errmsg.c password.c
40
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
41
DEFS =			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
42
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
43
			-DDEFAULT_HOME_ENV=MYSQL_HOME \
44
			-DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX \
45
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
46
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
47
			-DUNDEF_THREADS_HACK
48
28.1.26 by Monty Taylor
Fixed a few small problems so that make distcheck works.
49
noinst_HEADERS = client_settings.h
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
50
51
CLEANFILES =		$(target_libadd) $(SHLIBOBJS) \
52
			$(target) $(BUILT_SOURCES)
53