1#	$NetBSD: Makefile,v 1.3 2011/05/26 12:56:26 joerg Exp $
2
3USE_FORT?=	yes
4
5CWARNFLAGS.clang=	-Wno-format-extra-args
6
7.include "../libldap/Makefile.libldap"
8
9LIB=		ldap
10
11.PATH:		${LDAP_SRCDIR}/man
12
13MAN=		ldap.3 ldap_abandon.3 ldap_add.3 ldap_bind.3 ldap_compare.3 \
14		ldap_delete.3 ldap_error.3 ldap_first_attribute.3 \
15		ldap_first_entry.3 ldap_first_message.3 \
16		ldap_first_reference.3 ldap_get_dn.3 ldap_get_values.3 \
17		ldap_modify.3 ldap_modrdn.3 ldap_open.3 \
18		ldap_parse_reference.3 ldap_parse_result.3 ldap_result.3 \
19		ldap_schema.3 ldap_search.3 ldap_sort.3 ldap_url.3
20
21MLINKS+=	ldap_abandon.3 ldap_abandon_ext.3
22
23MLINKS+=	ldap_add.3 ldap_add_s.3 \
24		ldap_add.3 ldap_add_ext.3 \
25		ldap_add.3 ldap_add_ext_s.3
26
27MLINKS+=	ldap_bind.3 ldap_bind_s.3 \
28		ldap_bind.3 ldap_simple_bind.3 \
29		ldap_bind.3 ldap_simple_bind_s.3 \
30		ldap_bind.3 ldap_sasl_bind.3 \
31		ldap_bind.3 ldap_sasl_bind_s.3 \
32		ldap_bind.3 ldap_kerberos_bind_s.3 \
33		ldap_bind.3 ldap_kerberos_bind1.3 \
34		ldap_bind.3 ldap_kerberos_bind1_s.3 \
35		ldap_bind.3 ldap_kerberos_bind2.3 \
36		ldap_bind.3 ldap_kerberos_bind2_s.3 \
37		ldap_bind.3 ldap_unbind.3 \
38		ldap_bind.3 ldap_unbind_ext.3 \
39		ldap_bind.3 ldap_unbind_s.3 \
40		ldap_bind.3 ldap_unbind_ext_s.3
41
42MLINKS+=	ldap_compare.3 ldap_compare_s.3 \
43		ldap_compare.3 ldap_compare_ext.3 \
44		ldap_compare.3 ldap_compare_ext_s.3
45
46MLINKS+=	ldap_delete.3 ldap_delete_s.3 \
47		ldap_delete.3 ldap_delete_ext.3 \
48		ldap_delete.3 ldap_delete_ext_s.3
49
50MLINKS+=	ldap_error.3 ldap_perror.3 \
51		ldap_error.3 ld_errno.3 \
52		ldap_error.3 ldap_result2error.3 \
53		ldap_error.3 ldap_errlist.3 \
54		ldap_error.3 ldap_err2string.3
55
56MLINKS+=	ldap_first_attribute.3 ldap_next_attribute.3
57
58MLINKS+=	ldap_first_entry.3 ldap_next_entry.3 \
59		ldap_first_entry.3 ldap_count_entries.3
60
61MLINKS+=	ldap_first_message.3 ldap_next_message.3 \
62		ldap_first_message.3 ldap_count_messages.3
63
64MLINKS+=	ldap_first_reference.3 ldap_next_reference.3 \
65		ldap_first_reference.3 ldap_count_references.3
66
67MLINKS+=	ldap_get_dn.3 ldap_explode_dn.3 \
68		ldap_get_dn.3 ldap_explode_rdn.3 \
69		ldap_get_dn.3 ldap_dn2ufn.3 \
70		ldap_get_dn.3 ldap_str2dn.3 \
71		ldap_get_dn.3 ldap_dn2str.3 \
72		ldap_get_dn.3 ldap_dn2dcedn.3 \
73		ldap_get_dn.3 ldap_dcedn2dn.3 \
74		ldap_get_dn.3 ldap_dn2ad_canonical.3
75
76MLINKS+=	ldap_get_values.3 ldap_get_values_len.3 \
77		ldap_get_values.3 ldap_value_free.3 \
78		ldap_get_values.3 ldap_value_free_len.3 \
79		ldap_get_values.3 ldap_count_values.3 \
80		ldap_get_values.3 ldap_count_values_len.3
81
82MLINKS+=	ldap_modify.3 ldap_modify_s.3 \
83		ldap_modify.3 ldap_modify_ext.3 \
84		ldap_modify.3 ldap_modify_ext_s.3 \
85		ldap_modify.3 ldap_mods_free.3
86
87MLINKS+=	ldap_modrdn.3 ldap_modrdn_s.3 \
88		ldap_modrdn.3 ldap_modrdn2.3 \
89		ldap_modrdn.3 ldap_modrdn2_s.3
90
91MLINKS+=	ldap_open.3 ldap_init.3
92
93MLINKS+=	ldap_parse_result.3 ldap_parse_sasl_bind_result.3 \
94		ldap_parse_result.3 ldap_parse_extended_result.3
95
96MLINKS+=	ldap_result.3 ldap_msgfree.3 \
97		ldap_result.3 ldap_msgtype.3 \
98		ldap_result.3 ldap_msgid.3
99
100MLINKS+=	ldap_schema.3 ldap_str2syntax.3 \
101		ldap_schema.3 ldap_syntax2str.3 \
102		ldap_schema.3 ldap_syntax2name.3 \
103		ldap_schema.3 ldap_syntax_free.3 \
104		ldap_schema.3 ldap_str2matchingrule.3 \
105		ldap_schema.3 ldap_matchingrule2str.3 \
106		ldap_schema.3 ldap_matchingrule2name.3 \
107		ldap_schema.3 ldap_matchingrule_free.3 \
108		ldap_schema.3 ldap_str2attributetype.3 \
109		ldap_schema.3 ldap_attributetype2str.3 \
110		ldap_schema.3 ldap_attributetype2name.3 \
111		ldap_schema.3 ldap_attributetype_free.3 \
112		ldap_schema.3 ldap_str2objectclass.3 \
113		ldap_schema.3 ldap_objectclass2str.3 \
114		ldap_schema.3 ldap_objectclass2name.3 \
115		ldap_schema.3 ldap_objectclass_free.3 \
116		ldap_schema.3 ldap_scherr2str.3
117
118MLINKS+=	ldap_search.3 ldap_search_s.3 \
119		ldap_search.3 ldap_search_st.3 \
120		ldap_search.3 ldap_search_ext.3 \
121		ldap_search.3 ldap_search_ext_s.3
122
123MLINKS+=	ldap_sort.3 ldap_sort_entries.3 \
124		ldap_sort.3 ldap_sort_values.3 \
125		ldap_sort.3 ldap_sort_strcasecmp.3
126
127MLINKS+=	ldap_url.3 ldap_is_ldap_url.3 \
128		ldap_url.3 ldap_url_parse.3 \
129		ldap_url.3 ldap_free_urldesc.3
130
131
132MAN+=		ldap.conf.5 ldif.5
133
134.include <bsd.lib.mk>
135