1
# Copyright (C) 2008 Sun Microsystems, Inc.
1
# Copyright (C) 2000-2004 MySQL AB
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of version 2 GNU General Public License as
13
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
14
# Library General Public License for more details.
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
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,
21
# This file is public domain and comes with NO WARRANTY of any kind
22
23
MYSQLDATAdir = $(localstatedir)
23
24
MYSQLSHAREdir = $(pkgdatadir)
24
25
MYSQLBASEdir= $(prefix)
26
27
libdrizzleincludedir = ${includedir}/libdrizzle
27
dist_libdrizzleinclude_HEADERS = \
34
drizzle_parameters.h \
28
dist_libdrizzleinclude_HEADERS = drizzle.h \
43
34
lib_LTLIBRARIES = libdrizzle.la
44
libdrizzle_la_SOURCES = client.c \
56
libdrizzle_la_LIBADD = ${top_builddir}/vio/libviolt.la
35
libdrizzle_la_SOURCES = libdrizzle.c client.c local_infile.c net_serv.c get_password.c
36
libdrizzle_la_LIBADD = ${sql_cmn_objects} ${sqlobjects} \
37
${top_builddir}/mysys/libmysys.la \
38
${top_builddir}/mystrings/libmystrings.la \
40
${top_builddir}/vio/libviolt.la
57
41
libdrizzle_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@ @LD_VERSION_SCRIPT@
43
noinst_LTLIBRARIES = libsqlcommon.la
44
libsqlcommon_la_SOURCES = pack.c my_time.c errmsg.c password.c
59
46
DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
60
47
-DDATADIR="\"$(MYSQLDATAdir)\"" \
61
48
-DDEFAULT_HOME_ENV=DRIZZLE_HOME \
64
51
-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
65
52
-DUNDEF_THREADS_HACK
67
noinst_HEADERS = libdrizzle_priv.h \
54
noinst_HEADERS = client_settings.h \
70
58
EXTRA_DIST = libdrizzle.ver
71
59
CLEANFILES = $(target_libadd) $(SHLIBOBJS) \