~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
383.1.44 by Monty Taylor
Renamed drizzle.h to libdrizzle.h.
28
dist_libdrizzleinclude_HEADERS =	libdrizzle.h \
236.1.38 by Monty Taylor
Fixed header install problem. The now install to the right places.
29
					drizzle_com.h \
30
					errmsg.h \
383.1.48 by Monty Taylor
Got rid of libsqlcommon and some surious defines.
31
					sql_common.h \
32
					drizzle.h \
33
					drizzle_res.h \
34
					drizzle_field.h \
35
					drizzle_rows.h \
36
					drizzle_methods.h \
37
					drizzle_data.h \
38
					drizzle_options.h \
39
					drizzle_parameters.h
212.5.25 by Monty Taylor
Moved drizzle.h to libdrizzle.
40
264.1.8 by Monty Taylor
Make libdrizzle.so install into $(libdir) instead of $(pkglibdir)
41
lib_LTLIBRARIES = libdrizzle.la
383.1.48 by Monty Taylor
Got rid of libsqlcommon and some surious defines.
42
libdrizzle_la_SOURCES = libdrizzle.c \
43
			client.c \
44
			local_infile.c \
45
			net_serv.c \
46
			get_password.c \
47
			pack.c \
48
			errmsg.c \
49
			password.c
50
51
libdrizzle_la_LIBADD =	${top_builddir}/vio/libviolt.la 
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
52
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
53
54
DEFS =			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
55
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
56
			-DDEFAULT_HOME_ENV=DRIZZLE_HOME \
57
			-DDEFAULT_GROUP_SUFFIX_ENV=DRIZZLE_GROUP_SUFFIX \
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
58
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
59
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
60
			-DUNDEF_THREADS_HACK
61
383.1.49 by Monty Taylor
Got rid of client_settings.h
62
noinst_HEADERS =	gettext.h \
63
			local_infile.h
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
64
312.1.14 by Monty Taylor
Fixed bug#257694 - added various files to EXTRA_DIST and noinst_HEADERS to make make distcheck (and with-it out-of-tree builds) work.
65
EXTRA_DIST =		libdrizzle.ver
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
66
CLEANFILES =		$(target_libadd) $(SHLIBOBJS) \
67
			$(target) $(BUILT_SOURCES)
68