/ [pam-modules] / trunk / pam_ldaphome / Makefile.am
To checkout: svn checkout http://svn.gnu.org.ua/sources/pam-modules/trunk/pam_ldaphome/Makefile.am
Puszcza

Annotation of /trunk/pam_ldaphome/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 118 - (hide annotations)
Sun May 13 09:48:57 2012 UTC (9 years, 6 months ago) by gray
File size: 957 byte(s)
Revamp build system. Add pam_ldaphome module.

* configure.ac: Test for ldap.
(AC_OUTPUT): Create pam_ldaphome/Makefile.
* acinclude.m4 (PM_ENABLE): Declare PAM_COND_<item>
conditional in addition to BUILD_PAM_<item> substitution
variable.
* Makefile.am (SUBDIRS): Include most modules via
conditionally defined Makefile variables.

* lib/graypam.h (gray_env): New struct.
(gray_env_get,gray_env_free,gray_env_read)
(gray_boolean_true_p): New protos.
* lib/env.c: New file.
* lib/Makefile.am (libgraypam_la_SOURCES): Add env.c

* pam_fshadow/Makefile.am: Remove BUILD_PAM_FSHADOW
substitution.
* pam_regex/Makefile.am: Remove BUILD_PAM_REGEX
substitution.
* pam_sql/pam_sql.c (free_config, boolean_true_p)
(read_config): Remove. Use gray_env_* functions
instead. All uses updated.
* pam_regex/pam_regex.c: Fix typo.

* pam_ldaphome/Makefile.am: New file.

1 gray 118 # This file is part of pam-modules.
2     # Copyright (C) 2012 Sergey Poznyakoff
3     #
4     # This program is free software; you can redistribute it and/or modify it
5     # under the terms of the GNU General Public License as published by the
6     # Free Software Foundation; either version 3 of the License, or (at your
7     # option) any later version.
8     #
9     # This program is distributed in the hope that it will be useful,
10     # but WITHOUT ANY WARRANTY; without even the implied warranty of
11     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12     # GNU General Public License for more details.
13     #
14     # You should have received a copy of the GNU General Public License along
15     # with this program. If not, see <http://www.gnu.org/licenses/>. */
16    
17     include $(top_srcdir)/Make.rules
18    
19     pamdir=@PAMDIR@
20     pam_LTLIBRARIES = pam_ldaphome.la
21     AM_CPPFLAGS=-DMODULE_NAME=\"pam_ldaphome\" -DSYSCONFDIR=\"${sysconfdir}\"
22     pam_ldaphome_la_SOURCES = pam_ldaphome.c
23     pam_ldaphome_la_LIBADD = @PAM_MISC@ -lldap

Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20