~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright (C) 2008 Sun Microsystems, Inc.
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 GNU General Public License as
# published by the Free Software Foundation.
#
# There are special exceptions to the terms and conditions of the GPL as it
# is applied to this software. View the full text of the exception in file
# EXCEPTIONS-CLIENT in the directory of this software distribution.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA



MYSQLDATAdir =			$(localstatedir)
MYSQLSHAREdir =			$(pkgdatadir)
MYSQLBASEdir=			$(prefix)

libdrizzleincludedir = ${includedir}/libdrizzle
dist_libdrizzleinclude_HEADERS =	libdrizzle.h \
					drizzle_com.h \
					errmsg.h \
					net_serv.h \
					sql_common.h \
					drizzle.h \
					drizzle_res.h \
					drizzle_field.h \
					drizzle_rows.h \
					drizzle_methods.h \
					drizzle_data.h \
					drizzle_options.h \
					drizzle_parameters.h

lib_LTLIBRARIES = libdrizzle.la
libdrizzle_la_SOURCES = client.c \
			drizzle.c \
			drizzle_data.c \
			errmsg.c \
			get_password.c \
			libdrizzle.c \
			libdrizzle_priv.c \
			local_infile.c \
			net_serv.c \
			pack.c \
			password.c

libdrizzle_la_LIBADD =	${top_builddir}/vio/libviolt.la 
libdrizzle_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@ @LD_VERSION_SCRIPT@ 

DEFS =			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
			-DDEFAULT_HOME_ENV=DRIZZLE_HOME \
			-DDEFAULT_GROUP_SUFFIX_ENV=DRIZZLE_GROUP_SUFFIX \
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
			-DUNDEF_THREADS_HACK

noinst_HEADERS =	gettext.h \
			libdrizzle_priv.h \
			local_infile.h

EXTRA_DIST =		libdrizzle.ver
CLEANFILES =		$(target_libadd) $(SHLIBOBJS) \
			$(target) $(BUILT_SOURCES)