xref: /freebsd/contrib/openpam/lib/libpam/Makefile.am (revision 3ba4c8c81a28de3e00ccf6d7f92c6f8e58bef456)
1NULL =
2
3AM_CPPFLAGS = -I$(top_srcdir)/include
4
5lib_LTLIBRARIES = libpam.la
6
7noinst_HEADERS = \
8	openpam_asprintf.h \
9	openpam_constants.h \
10	openpam_cred.h \
11	openpam_ctype.h \
12	openpam_debug.h \
13	openpam_dlfunc.h \
14	openpam_features.h \
15	openpam_impl.h \
16	openpam_strlcat.h \
17	openpam_strlcmp.h \
18	openpam_strlcpy.h \
19	openpam_strlset.h \
20	openpam_vasprintf.h
21
22libpam_la_SOURCES = \
23	openpam_asprintf.c \
24	openpam_borrow_cred.c \
25	openpam_check_owner_perms.c \
26	openpam_configure.c \
27	openpam_constants.c \
28	openpam_dispatch.c \
29	openpam_dynamic.c \
30	openpam_features.c \
31	openpam_findenv.c \
32	openpam_free_data.c \
33	openpam_free_envlist.c \
34	openpam_get_feature.c \
35	openpam_get_option.c \
36	openpam_load.c \
37	openpam_log.c \
38	openpam_nullconv.c \
39	openpam_readline.c \
40	openpam_readlinev.c \
41	openpam_readword.c \
42	openpam_restore_cred.c \
43	openpam_set_option.c \
44	openpam_set_feature.c \
45	openpam_static.c \
46	openpam_straddch.c \
47	openpam_strlcat.c \
48	openpam_strlcpy.c \
49	openpam_strlset.c \
50	openpam_subst.c \
51	openpam_vasprintf.c \
52	openpam_ttyconv.c \
53	pam_acct_mgmt.c \
54	pam_authenticate.c \
55	pam_chauthtok.c \
56	pam_close_session.c \
57	pam_end.c \
58	pam_error.c \
59	pam_get_authtok.c \
60	pam_get_data.c \
61	pam_get_item.c \
62	pam_get_user.c \
63	pam_getenv.c \
64	pam_getenvlist.c \
65	pam_info.c \
66	pam_open_session.c \
67	pam_prompt.c \
68	pam_putenv.c \
69	pam_set_data.c \
70	pam_set_item.c \
71	pam_setcred.c \
72	pam_setenv.c \
73	pam_start.c \
74	pam_strerror.c \
75	pam_verror.c \
76	pam_vinfo.c \
77	pam_vprompt.c \
78	$(NULL)
79
80libpam_la_LDFLAGS = -no-undefined -version-info $(LIB_MAJ)
81libpam_la_LIBADD = $(DL_LIBS)
82
83EXTRA_DIST = \
84	pam_authenticate_secondary.c \
85	pam_get_mapped_authtok.c \
86	pam_get_mapped_username.c \
87	pam_set_mapped_authtok.c \
88	pam_set_mapped_username.c \
89	\
90	pam_sm_acct_mgmt.c \
91	pam_sm_authenticate.c \
92	pam_sm_authenticate_secondary.c \
93	pam_sm_chauthtok.c \
94	pam_sm_close_session.c \
95	pam_sm_get_mapped_authtok.c \
96	pam_sm_get_mapped_username.c \
97	pam_sm_open_session.c \
98	pam_sm_set_mapped_authtok.c \
99	pam_sm_set_mapped_username.c \
100	pam_sm_setcred.c
101