~drizzle-trunk/drizzle/development

390.1.4 by Monty Taylor
More copyright header file fixes.
1
# Copyright (C) 2008 Sun Microsystems, Inc.
1 by brian
clean slate
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
# 
390.1.4 by Monty Taylor
More copyright header file fixes.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
20
1 by brian
clean slate
21
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
22
MYSQLDATAdir =			$(localstatedir)
23
MYSQLSHAREdir =			$(pkgdatadir)
24
MYSQLBASEdir=			$(prefix)
25
236.1.38 by Monty Taylor
Fixed header install problem. The now install to the right places.
26
libdrizzleincludedir = ${includedir}/libdrizzle
383.1.44 by Monty Taylor
Renamed drizzle.h to libdrizzle.h.
27
dist_libdrizzleinclude_HEADERS =	libdrizzle.h \
236.1.38 by Monty Taylor
Fixed header install problem. The now install to the right places.
28
					drizzle_com.h \
29
					errmsg.h \
390.1.6 by Monty Taylor
Oh dear god the changes. The changes. I'd tell you what they are, but I'd just be making stuff up. Suffice it to day it's mostly all around splitting files in libdrizzle into different files and removing interdepends. And whatever else I happened to see...
30
					net_serv.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
390.1.5 by Monty Taylor
Moved more functions into drizzle.c as part of the split of code.
42
libdrizzle_la_SOURCES = client.c \
43
			drizzle.c \
390.1.6 by Monty Taylor
Oh dear god the changes. The changes. I'd tell you what they are, but I'd just be making stuff up. Suffice it to day it's mostly all around splitting files in libdrizzle into different files and removing interdepends. And whatever else I happened to see...
44
			drizzle_data.c \
390.1.5 by Monty Taylor
Moved more functions into drizzle.c as part of the split of code.
45
			errmsg.c \
46
			get_password.c \
47
			libdrizzle.c \
390.1.6 by Monty Taylor
Oh dear god the changes. The changes. I'd tell you what they are, but I'd just be making stuff up. Suffice it to day it's mostly all around splitting files in libdrizzle into different files and removing interdepends. And whatever else I happened to see...
48
			libdrizzle_priv.c \
383.1.48 by Monty Taylor
Got rid of libsqlcommon and some surious defines.
49
			local_infile.c \
50
			net_serv.c \
51
			pack.c \
52
			password.c
53
54
libdrizzle_la_LIBADD =	${top_builddir}/vio/libviolt.la 
77.1.38 by Monty Taylor
Renamed more stuff to drizzle.
55
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
56
57
DEFS =			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
58
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
59
			-DDEFAULT_HOME_ENV=DRIZZLE_HOME \
60
			-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
61
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
62
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
63
			-DUNDEF_THREADS_HACK
64
383.1.49 by Monty Taylor
Got rid of client_settings.h
65
noinst_HEADERS =	gettext.h \
390.1.5 by Monty Taylor
Moved more functions into drizzle.c as part of the split of code.
66
			libdrizzle_priv.h \
383.1.49 by Monty Taylor
Got rid of client_settings.h
67
			local_infile.h
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
68
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.
69
EXTRA_DIST =		libdrizzle.ver
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
70
CLEANFILES =		$(target_libadd) $(SHLIBOBJS) \
71
			$(target) $(BUILT_SOURCES)
72