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