~drizzle-trunk/drizzle/development

259 by Brian Aker
First pass on PAM auth
1
# Copyright (C) 2006 MySQL AB
2
#
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
6
#
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
# GNU General Public License for more details.
11
#
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
15
16
MYSQLDATAdir =          $(localstatedir)
17
MYSQLSHAREdir =         $(pkgdatadir)
18
MYSQLBASEdir=           $(prefix)
19
MYSQLLIBdir=            $(pkglibdir)
20
pkgplugindir =		$(pkglibdir)/plugin
21
261.5.1 by Monty Taylor
Added a test and an automake condition around auth_pam that makes it not build
22
if BUILD_AUTH_PAM
259 by Brian Aker
First pass on PAM auth
23
EXTRA_LTLIBRARIES =	libauth_pam.la
24
pkgplugin_LTLIBRARIES =	@plugin_auth_pam_shared_target@
139.1.18 by Trond Norbye
Don't include security/pam_misc.h on Solaris
25
libauth_pam_la_LDFLAGS =	-module -rpath $(pkgplugindir) -lpam 
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
26
libauth_pam_la_CPPFLAGS=	$(GLOBAL_CPPFLAGS) -DDRIZZLE_DYNAMIC_PLUGIN
259 by Brian Aker
First pass on PAM auth
27
libauth_pam_la_SOURCES =	auth_pam.cc
261.5.1 by Monty Taylor
Added a test and an automake condition around auth_pam that makes it not build
28
endif