source: openpam/trunk/doc/man/Makefile.am

Last change on this file was 834, checked in by des, 4 days ago

Add configure options to build as much as possible using the system
libpam and / or liboath. Doing so disables building the corresponding
library and its documentation, but still builts the corresponding tools
and modules and runs the unit tests.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id$
2
3NULL =
4
5# Standard PAM API
6PAM_MAN = \
7        pam_acct_mgmt.3 \
8        pam_authenticate.3 \
9        pam_chauthtok.3 \
10        pam_close_session.3 \
11        pam_end.3 \
12        pam_get_data.3 \
13        pam_get_item.3 \
14        pam_get_user.3 \
15        pam_getenv.3 \
16        pam_getenvlist.3 \
17        pam_open_session.3 \
18        pam_putenv.3 \
19        pam_set_data.3 \
20        pam_set_item.3 \
21        pam_setcred.3 \
22        pam_start.3 \
23        pam_strerror.3 \
24        $(NULL)
25
26# Standard module API
27MOD_MAN = \
28        pam_sm_acct_mgmt.3 \
29        pam_sm_authenticate.3 \
30        pam_sm_chauthtok.3 \
31        pam_sm_close_session.3 \
32        pam_sm_open_session.3 \
33        pam_sm_setcred.3 \
34        $(NULL)
35
36# OpenPAM extensions
37OPENPAM_MAN = \
38        openpam_borrow_cred.3 \
39        openpam_free_data.3 \
40        openpam_free_envlist.3 \
41        openpam_get_feature.3 \
42        openpam_get_option.3 \
43        openpam_log.3 \
44        openpam_nullconv.3 \
45        openpam_readline.3 \
46        openpam_readlinev.3 \
47        openpam_readword.3 \
48        openpam_restore_cred.3 \
49        openpam_set_feature.3 \
50        openpam_set_option.3 \
51        openpam_straddch.3 \
52        openpam_subst.3 \
53        openpam_ttyconv.3 \
54        pam_error.3 \
55        pam_get_authtok.3 \
56        pam_info.3 \
57        pam_prompt.3 \
58        pam_setenv.3 \
59        pam_verror.3 \
60        pam_vinfo.3 \
61        pam_vprompt.3 \
62        $(NULL)
63
64if WITH_OATH
65if !WITH_SYSTEM_LIBOATH
66OATH_MAN = \
67        oath_key_alloc.3 \
68        oath_key_create.3 \
69        oath_key_dummy.3 \
70        oath_key_free.3 \
71        oath_key_from_file.3 \
72        oath_key_from_uri.3 \
73        oath_uri_decode.3 \
74        $(NULL)
75endif
76endif
77
78EXTRA_DIST = openpam.man pam.man
79
80if !WITH_SYSTEM_LIBPAM
81PAMCMAN = $(PAM_MAN) $(MOD_MAN) $(OPENPAM_MAN)
82PAMXMAN = openpam.3 pam.3
83endif
84
85if WITH_OATH
86if !WITH_SYSTEM_LIBOATH
87OATHCMAN = $(OATH_MAN)
88OATHXMAN = oath.3
89endif
90endif
91
92ALLCMAN = $(PAMCMAN) $(OATHCMAN)
93GENMAN = $(ALLCMAN) $(PAMXMAN) $(OATHXMAN)
94
95dist_man3_MANS = $(GENMAN) pam_conv.3
96
97dist_man5_MANS = pam.conf.5
98
99CLEANFILES = $(GENMAN)
100
101GENDOC = $(top_srcdir)/misc/gendoc.pl
102
103LIBPAMSRCDIR = $(top_srcdir)/lib/libpam
104if WITH_OATH
105LIBOATHSRCDIR = $(top_srcdir)/lib/liboath
106endif
107
108VPATH = $(LIBPAMSRCDIR) $(LIBOATHSRCDIR) $(srcdir)
109
110SUFFIXES = .3
111
112.c.3: $(GENDOC)
113        perl -w $(GENDOC) $< || rm $@
114
115if WITH_OATH
116if !WITH_SYSTEM_LIBOATH
117oath.3: $(OATH_MAN) $(GENDOC) $(srcdir)/oath.man
118        perl -w $(GENDOC) -a $(OATH_MAN) <$(srcdir)/oath.man || rm $@
119endif
120endif
121
122openpam.3: $(OPENPAM_MAN) $(GENDOC) $(srcdir)/openpam.man
123        perl -w $(GENDOC) -o $(OPENPAM_MAN) <$(srcdir)/openpam.man || rm $@
124
125pam.3: $(PAM_MAN) $(GENDOC) $(srcdir)/pam.man
126        perl -w $(GENDOC) -p $(PAM_MAN) <$(srcdir)/pam.man || rm $@
127
128$(GENMAN): $(GENDOC)
Note: See TracBrowser for help on using the repository browser.