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

Contents of /trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 118 - (show annotations)
Sun May 13 09:48:57 2012 UTC (9 years, 4 months ago) by gray
File size: 1006 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 # Copyright (C) 2001, 2006, 2008-2011 Sergey Poznyakoff
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; either version 3, or (at your option)
6 # any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License along
14 # with this program. If not, see <http://www.gnu.org/licenses/>.
15
16 AUTOMAKE_OPTIONS = gnits 1.8
17 if PAM_COND_FSHADOW
18 FSHADOW_DIR=pam_fshadow
19 endif
20 if PAM_COND_REGEX
21 REGEX_DIR=pam_regex
22 endif
23 if PAM_COND_LOG
24 LOG_DIR=pam_regex
25 endif
26 if PAM_COND_LDAPHOME
27 LDAPHOME_DIR=pam_ldaphome
28 endif
29 SUBDIRS = \
30 doc\
31 lib\
32 $(FSHADOW_DIR)\
33 $(REGEX_DIR)\
34 $(LOG_DIR)\
35 pam_sql\
36 $(LDAPHOME_DIR)\
37 pamck

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

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