~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
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
236.1.38 by Monty Taylor
Fixed header install problem. The now install to the right places.
27
libdrizzleincludedir = ${includedir}/libdrizzle
28
dist_libdrizzleinclude_HEADERS =	drizzle.h \
29
					drizzle_com.h \
30
					drizzle_time.h \
31
					errmsg.h \
32
					sql_common.h
212.5.25 by Monty Taylor
Moved drizzle.h to libdrizzle.
33
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
34
pkglib_LTLIBRARIES = libdrizzle.la
236.3.8 by Andrey Hristov
Move local infile handling to a separate file
35
libdrizzle_la_SOURCES = libdrizzle.c client.c local_infile.c net_serv.c get_password.c
77.1.90 by Monty Taylor
Whoops. We _do_ need strings. Sigh.
36
libdrizzle_la_LIBADD =	${sql_cmn_objects} ${sqlobjects} \
37
			${top_builddir}/mysys/libmysyslt.la \
212.5.4 by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency.
38
			${top_builddir}/mystrings/libmystringslt.la \
77.1.90 by Monty Taylor
Whoops. We _do_ need strings. Sigh.
39
			libsqlcommon.la \
40
			${top_builddir}/vio/libviolt.la 
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
41
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
42
77.1.54 by Monty Taylor
More warnings cleanups.
43
noinst_LTLIBRARIES = libsqlcommon.la
44
libsqlcommon_la_SOURCES = pack.c my_time.c errmsg.c password.c
45
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
46
DEFS =			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
47
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
48
			-DDEFAULT_HOME_ENV=MYSQL_HOME \
49
			-DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX \
50
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
51
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
52
			-DUNDEF_THREADS_HACK
53
212.5.31 by Monty Taylor
Moved sql_common.h and my_time.h to libdrizzle.
54
noinst_HEADERS = 	client_settings.h \
55
			my_time.h
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
56
57
CLEANFILES =		$(target_libadd) $(SHLIBOBJS) \
58
			$(target) $(BUILT_SOURCES)
59