1NULL = 2 3# Standard PAM API 4PAM_MAN = \ 5 pam_acct_mgmt.3 \ 6 pam_authenticate.3 \ 7 pam_chauthtok.3 \ 8 pam_close_session.3 \ 9 pam_end.3 \ 10 pam_get_data.3 \ 11 pam_get_item.3 \ 12 pam_get_user.3 \ 13 pam_getenv.3 \ 14 pam_getenvlist.3 \ 15 pam_open_session.3 \ 16 pam_putenv.3 \ 17 pam_set_data.3 \ 18 pam_set_item.3 \ 19 pam_setcred.3 \ 20 pam_start.3 \ 21 pam_strerror.3 \ 22 $(NULL) 23 24# Standard module API 25MOD_MAN = \ 26 pam_sm_acct_mgmt.3 \ 27 pam_sm_authenticate.3 \ 28 pam_sm_chauthtok.3 \ 29 pam_sm_close_session.3 \ 30 pam_sm_open_session.3 \ 31 pam_sm_setcred.3 \ 32 $(NULL) 33 34# OpenPAM extensions 35OPENPAM_MAN = \ 36 openpam_borrow_cred.3 \ 37 openpam_free_data.3 \ 38 openpam_free_envlist.3 \ 39 openpam_get_feature.3 \ 40 openpam_get_option.3 \ 41 openpam_log.3 \ 42 openpam_nullconv.3 \ 43 openpam_readline.3 \ 44 openpam_readlinev.3 \ 45 openpam_readword.3 \ 46 openpam_restore_cred.3 \ 47 openpam_set_feature.3 \ 48 openpam_set_option.3 \ 49 openpam_straddch.3 \ 50 openpam_subst.3 \ 51 openpam_ttyconv.3 \ 52 pam_error.3 \ 53 pam_get_authtok.3 \ 54 pam_info.3 \ 55 pam_prompt.3 \ 56 pam_setenv.3 \ 57 pam_verror.3 \ 58 pam_vinfo.3 \ 59 pam_vprompt.3 \ 60 $(NULL) 61 62EXTRA_DIST = openpam.man pam.man 63 64if !WITH_SYSTEM_LIBPAM 65PAMCMAN = $(PAM_MAN) $(MOD_MAN) $(OPENPAM_MAN) 66PAMXMAN = openpam.3 pam.3 67endif 68 69ALLCMAN = $(PAMCMAN) 70GENMAN = $(ALLCMAN) $(PAMXMAN) 71 72dist_man3_MANS = $(GENMAN) pam_conv.3 73 74dist_man5_MANS = pam.conf.5 75 76CLEANFILES = $(GENMAN) 77 78GENDOC = $(top_srcdir)/misc/gendoc.pl 79 80LIBPAMSRCDIR = $(top_srcdir)/lib/libpam 81 82VPATH = $(LIBPAMSRCDIR) $(srcdir) 83 84SUFFIXES = .3 85 86.c.3: $(GENDOC) 87 perl -w $(GENDOC) $< || rm $@ 88 89openpam.3: $(OPENPAM_MAN) $(GENDOC) $(srcdir)/openpam.man 90 perl -w $(GENDOC) -o $(OPENPAM_MAN) <$(srcdir)/openpam.man || rm $@ 91 92pam.3: $(PAM_MAN) $(GENDOC) $(srcdir)/pam.man 93 perl -w $(GENDOC) -p $(PAM_MAN) <$(srcdir)/pam.man || rm $@ 94 95$(GENMAN): $(GENDOC) 96