1
# Copyright (C) 2008 Sun Microsystems, Inc.
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.
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.
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.
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
22
MYSQLDATAdir = $(localstatedir)
23
MYSQLSHAREdir = $(pkgdatadir)
24
MYSQLBASEdir= $(prefix)
26
libdrizzleincludedir = ${includedir}/libdrizzle
27
dist_libdrizzleinclude_HEADERS = \
34
drizzle_parameters.h \
44
lib_LTLIBRARIES = libdrizzle.la
45
libdrizzle_la_SOURCES = client.c \
59
libdrizzle_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@ @LD_VERSION_SCRIPT@
60
libdrizzle_la_LIBS = ${Z_LIBS}
62
DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
63
-DDATADIR="\"$(MYSQLDATAdir)\"" \
64
-DDEFAULT_HOME_ENV=DRIZZLE_HOME \
65
-DDEFAULT_GROUP_SUFFIX_ENV=DRIZZLE_GROUP_SUFFIX \
66
-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
67
-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
70
noinst_HEADERS = libdrizzle_priv.h \
73
EXTRA_DIST = libdrizzle.ver
74
CLEANFILES = $(target_libadd) $(SHLIBOBJS) \
75
$(target) $(BUILT_SOURCES)