1 # $Id: Makefile.am,v 1.1.1.4 2008/01/27 00:54:55 christos Exp $
29 pam_sm_authenticate.3 \
31 pam_sm_close_session.3 \
32 pam_sm_open_session.3 \
38 openpam_borrow_cred.3 \
40 openpam_free_envlist.3 \
41 openpam_get_option.3 \
45 openpam_restore_cred.3 \
46 openpam_set_option.3 \
58 EXTRA_DIST = openpam.man pam.man
60 ALLCMAN = $(PMAN) $(MMAN) $(OMAN)
62 LINKS = $(ALLCMAN:.3=.c) openpam_configure.c openpam_dispatch.c
64 dist_man3_MANS = $(ALLCMAN) openpam.3 pam.3 pam_conv.3
66 dist_man5_MANS = pam.conf.5
68 CLEANFILES = $(ALLCMAN) $(LINKS) openpam.3 pam.3 symlink-stamp
70 GENDOC = $(top_srcdir)/misc/gendoc.pl
74 $(LINKS): symlink-stamp
76 symlink-stamp: Makefile
77 for lnk in $(LINKS); do \
78 ln -sf $(top_srcdir)/lib/$$lnk . || exit; \
85 openpam.3: $(OMAN) $(GENDOC) openpam.man
86 perl -w $(GENDOC) -o $(OMAN) <$(srcdir)/openpam.man
88 pam.3: $(PMAN) $(GENDOC) pam.man
89 perl -w $(GENDOC) -p $(PMAN) <$(srcdir)/pam.man