~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
261.5.1 by Monty Taylor
Added a test and an automake condition around auth_pam that makes it not build
16
if BUILD_AUTH_PAM
259 by Brian Aker
First pass on PAM auth
17
EXTRA_LTLIBRARIES =	libauth_pam.la
18
pkgplugin_LTLIBRARIES =	@plugin_auth_pam_shared_target@
635.1.9 by Elan Ruusamäe
- no need to version dlopened plugins (add -avoid-version in am)
19
libauth_pam_la_LDFLAGS =	-module -avoid-version -rpath $(pkgplugindir) -lpam 
907.3.3 by Monty Taylor
A whole crapload of build fixes. OpenSolaris AMD64 builds with -m64 now by default... still isn't warning clean yet though. Also cleaned up the AM_*FLAGS situation.
20
libauth_pam_la_CPPFLAGS=	$(AM_CPPFLAGS) -DDRIZZLE_DYNAMIC_PLUGIN
259 by Brian Aker
First pass on PAM auth
21
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
22
endif