|
Packit |
6bd9ab |
# Makefile.am - use automake to generate Makefile.in
|
|
Packit |
6bd9ab |
#
|
|
Packit |
6bd9ab |
# Copyright (C) 2009, 2010, 2011 Arthur de Jong
|
|
Packit |
6bd9ab |
# Copyright (C) 2010 Symas Corporation
|
|
Packit |
6bd9ab |
#
|
|
Packit |
6bd9ab |
# This library is free software; you can redistribute it and/or
|
|
Packit |
6bd9ab |
# modify it under the terms of the GNU Lesser General Public
|
|
Packit |
6bd9ab |
# License as published by the Free Software Foundation; either
|
|
Packit |
6bd9ab |
# version 2.1 of the License, or (at your option) any later version.
|
|
Packit |
6bd9ab |
#
|
|
Packit |
6bd9ab |
# This library is distributed in the hope that it will be useful,
|
|
Packit |
6bd9ab |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
6bd9ab |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
6bd9ab |
# Lesser General Public License for more details.
|
|
Packit |
6bd9ab |
#
|
|
Packit |
6bd9ab |
# You should have received a copy of the GNU Lesser General Public
|
|
Packit |
6bd9ab |
# License along with this library; if not, write to the Free Software
|
|
Packit |
6bd9ab |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
Packit |
6bd9ab |
# 02110-1301 USA
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
noinst_PROGRAMS = pam_ldap.so
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
AM_CPPFLAGS=-I$(top_srcdir)
|
|
Packit |
6bd9ab |
AM_CFLAGS = $(PIC_CFLAGS)
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
pam_ldap_so_SOURCES = ../nslcd.h ../common/nslcd-prot.h \
|
|
Packit |
6bd9ab |
../compat/attrs.h pam.c common.h
|
|
Packit |
6bd9ab |
pam_ldap_so_LDADD = ../common/libtio.a ../common/libprot.a \
|
|
Packit |
6bd9ab |
../compat/libcompat.a \
|
|
Packit |
6bd9ab |
-lpam
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
EXTRA_DIST = pam_ldap.map
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
install-exec-local: install-pam_ldap_so
|
|
Packit |
6bd9ab |
uninstall-local: uninstall-pam_ldap_so
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
install-pam_ldap_so: pam_ldap.so
|
|
Packit |
6bd9ab |
-rm -f $(DESTDIR)$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME)
|
|
Packit |
6bd9ab |
$(mkinstalldirs) $(DESTDIR)$(PAM_SECLIB_DIR)
|
|
Packit |
6bd9ab |
$(INSTALL_PROGRAM) pam_ldap.so $(DESTDIR)$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME)
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
uninstall-pam_ldap_so:
|
|
Packit |
6bd9ab |
-rm -f $(DESTDIR)$(PAM_SECLIB_DIR)/$(PAM_LDAP_SONAME)
|