etc/services - sync with NetBSD-8
[minix.git] / crypto / external / bsd / heimdal / lib / libgssapi / Makefile
blobd303133c360a880659dedbf3c360d355d5b70edc
1 # $NetBSD: Makefile,v 1.4 2014/04/24 13:50:53 pettai Exp $
3 USE_FORT?= yes # network protocol library
5 .include <bsd.own.mk>
6 .include <${.CURDIR}/../../Makefile.inc>
8 .PATH: ${HEIMDIST}/lib/gssapi \
9 ${HEIMDIST}/lib/gssapi/krb5 \
10 ${HEIMDIST}/lib/gssapi/mech \
11 ${HEIMDIST}/lib/gssapi/spnego \
12 ${HEIMDIST}/lib/gssapi/ntlm
14 LIB= gssapi
16 LIBDPLIBS+= krb5 ${HEIMBASE}/lib/libkrb5 \
17 asn1 ${HEIMBASE}/lib/libasn1 \
18 com_err ${HEIMBASE}/lib/libcom_err \
19 roken ${HEIMBASE}/lib/libroken \
20 heimntlm ${HEIMBASE}/lib/libheimntlm \
21 crypto ${SSLBASE}/lib/libcrypto
23 HEIMSRCS= gkrb5_err.et spnego.asn1 gssapi.asn1
25 ASN1_OPTS.spnego.asn1 = --sequence=MechTypeList
27 ASN1_FILES.spnego.asn1 = \
28 asn1_ContextFlags.x \
29 asn1_MechType.x \
30 asn1_MechTypeList.x \
31 asn1_NegotiationToken.x \
32 asn1_NegotiationTokenWin.x \
33 asn1_NegHints.x \
34 asn1_NegTokenInit.x \
35 asn1_NegTokenInitWin.x \
36 asn1_NegTokenResp.x
38 krb5src = \
39 krb5/8003.c \
40 krb5/accept_sec_context.c \
41 krb5/acquire_cred.c \
42 krb5/add_cred.c \
43 krb5/address_to_krb5addr.c \
44 krb5/aeap.c \
45 krb5/arcfour.c \
46 krb5/canonicalize_name.c \
47 krb5/creds.c \
48 krb5/ccache_name.c \
49 krb5/cfx.c \
50 krb5/compare_name.c \
51 krb5/compat.c \
52 krb5/context_time.c \
53 krb5/copy_ccache.c \
54 krb5/decapsulate.c \
55 krb5/delete_sec_context.c \
56 krb5/display_name.c \
57 krb5/display_status.c \
58 krb5/duplicate_name.c \
59 krb5/encapsulate.c \
60 krb5/export_name.c \
61 krb5/export_sec_context.c \
62 krb5/external.c \
63 krb5/get_mic.c \
64 krb5/import_name.c \
65 krb5/import_sec_context.c \
66 krb5/indicate_mechs.c \
67 krb5/init.c \
68 krb5/init_sec_context.c \
69 krb5/inquire_context.c \
70 krb5/inquire_cred.c \
71 krb5/inquire_cred_by_mech.c \
72 krb5/inquire_cred_by_oid.c \
73 krb5/inquire_mechs_for_name.c \
74 krb5/inquire_names_for_mech.c \
75 krb5/inquire_sec_context_by_oid.c \
76 krb5/pname_to_uid.c \
77 krb5/process_context_token.c \
78 krb5/prf.c \
79 krb5/release_buffer.c \
80 krb5/release_cred.c \
81 krb5/release_name.c \
82 krb5/sequence.c \
83 krb5/store_cred.c \
84 krb5/set_cred_option.c \
85 krb5/set_sec_context_option.c \
86 krb5/ticket_flags.c \
87 krb5/unwrap.c \
88 krb5/authorize_localname.c \
89 krb5/verify_mic.c \
90 krb5/wrap.c
92 mechsrc = \
93 mech/context.c \
94 mech/doxygen.c \
95 mech/gss_accept_sec_context.c \
96 mech/gss_acquire_cred.c \
97 mech/gss_acquire_cred_ext.c \
98 mech/gss_acquire_cred_with_password.c \
99 mech/gss_add_cred.c \
100 mech/gss_add_cred_with_password.c \
101 mech/gss_add_oid_set_member.c \
102 mech/gss_aeap.c \
103 mech/gss_buffer_set.c \
104 mech/gss_canonicalize_name.c \
105 mech/gss_compare_name.c \
106 mech/gss_context_time.c \
107 mech/gss_create_empty_oid_set.c \
108 mech/gss_cred.c \
109 mech/gss_decapsulate_token.c \
110 mech/gss_delete_name_attribute.c \
111 mech/gss_delete_sec_context.c \
112 mech/gss_display_name.c \
113 mech/gss_display_name_ext.c \
114 mech/gss_display_status.c \
115 mech/gss_duplicate_name.c \
116 mech/gss_duplicate_oid.c \
117 mech/gss_encapsulate_token.c \
118 mech/gss_export_name.c \
119 mech/gss_export_name_composite.c \
120 mech/gss_export_sec_context.c \
121 mech/gss_get_mic.c \
122 mech/gss_get_name_attribute.c \
123 mech/gss_import_name.c \
124 mech/gss_import_sec_context.c \
125 mech/gss_indicate_mechs.c \
126 mech/gss_init_sec_context.c \
127 mech/gss_inquire_context.c \
128 mech/gss_inquire_cred.c \
129 mech/gss_inquire_cred_by_mech.c \
130 mech/gss_inquire_cred_by_oid.c \
131 mech/gss_inquire_mechs_for_name.c \
132 mech/gss_inquire_name.c \
133 mech/gss_inquire_names_for_mech.c \
134 mech/gss_krb5.c \
135 mech/gss_mech_switch.c \
136 mech/gss_mo.c \
137 mech/gss_names.c \
138 mech/gss_oid.c \
139 mech/gss_oid_equal.c \
140 mech/gss_oid_to_str.c \
141 mech/gss_pname_to_uid.c \
142 mech/gss_process_context_token.c \
143 mech/gss_pseudo_random.c \
144 mech/gss_release_buffer.c \
145 mech/gss_release_cred.c \
146 mech/gss_release_name.c \
147 mech/gss_release_oid.c \
148 mech/gss_release_oid_set.c \
149 mech/gss_seal.c \
150 mech/gss_set_cred_option.c \
151 mech/gss_set_name_attribute.c \
152 mech/gss_set_sec_context_option.c \
153 mech/gss_sign.c \
154 mech/gss_store_cred.c \
155 mech/gss_test_oid_set_member.c \
156 mech/gss_unseal.c \
157 mech/gss_unwrap.c \
158 mech/gss_authorize_localname.c \
159 mech/gss_utils.c \
160 mech/gss_verify.c \
161 mech/gss_verify_mic.c \
162 mech/gss_wrap.c \
163 mech/gss_wrap_size_limit.c \
164 mech/gss_inquire_sec_context_by_oid.c
166 spnegosrc = \
167 spnego/accept_sec_context.c \
168 spnego/compat.c \
169 spnego/context_stubs.c \
170 spnego/cred_stubs.c \
171 spnego/external.c \
172 spnego/init_sec_context.c
174 ntlmsrc = \
175 ntlm/accept_sec_context.c \
176 ntlm/acquire_cred.c \
177 ntlm/add_cred.c \
178 ntlm/canonicalize_name.c \
179 ntlm/compare_name.c \
180 ntlm/context_time.c \
181 ntlm/creds.c \
182 ntlm/crypto.c \
183 ntlm/delete_sec_context.c \
184 ntlm/display_name.c \
185 ntlm/display_status.c \
186 ntlm/duplicate_name.c \
187 ntlm/export_name.c \
188 ntlm/export_sec_context.c \
189 ntlm/external.c \
190 ntlm/import_name.c \
191 ntlm/import_sec_context.c \
192 ntlm/indicate_mechs.c \
193 ntlm/init_sec_context.c \
194 ntlm/inquire_context.c \
195 ntlm/inquire_cred_by_mech.c \
196 ntlm/inquire_mechs_for_name.c \
197 ntlm/inquire_names_for_mech.c \
198 ntlm/inquire_sec_context_by_oid.c \
199 ntlm/iter_cred.c \
200 ntlm/process_context_token.c \
201 ntlm/release_cred.c \
202 ntlm/release_name.c \
203 ntlm/kdc.c
205 NTLMSRC= ${ntlmsrc:S@/@__@}
206 KRB5SRC= ${krb5src:S@/@__@}
207 MECHSRC= ${mechsrc:S@/@__@}
208 SPNEGOSRC= ${spnegosrc:S@/@__@}
210 SRCS= ${KRB5SRC} ${MECHSRC} ${SPNEGOSRC} ${NTLMSRC}
212 .for i in ${KRB5SRC} ${MECHSRC} ${SPNEGOSRC} ${NTLMSRC}
213 BUILDSYMLINKS+= ${i:S@__@/@} ${i}
214 CLEANFILES+= ${i}
215 .endfor
217 MAN= \
218 gssapi.3 \
219 gss_acquire_cred.3 \
220 mech.5
222 MLINKS= \
223 gss_acquire_cred.3 gss_accept_sec_context.3 \
224 gss_acquire_cred.3 gss_add_cred.3 \
225 gss_acquire_cred.3 gss_add_oid_set_member.3 \
226 gss_acquire_cred.3 gss_canonicalize_name.3 \
227 gss_acquire_cred.3 gss_compare_name.3 \
228 gss_acquire_cred.3 gss_context_time.3 \
229 gss_acquire_cred.3 gss_create_empty_oid_set.3 \
230 gss_acquire_cred.3 gss_delete_sec_context.3 \
231 gss_acquire_cred.3 gss_display_name.3 \
232 gss_acquire_cred.3 gss_display_status.3 \
233 gss_acquire_cred.3 gss_duplicate_name.3 \
234 gss_acquire_cred.3 gss_export_name.3 \
235 gss_acquire_cred.3 gss_export_sec_context.3 \
236 gss_acquire_cred.3 gss_get_mic.3 \
237 gss_acquire_cred.3 gss_import_name.3 \
238 gss_acquire_cred.3 gss_import_sec_context.3 \
239 gss_acquire_cred.3 gss_indicate_mechs.3 \
240 gss_acquire_cred.3 gss_init_sec_context.3 \
241 gss_acquire_cred.3 gss_inquire_context.3 \
242 gss_acquire_cred.3 gss_inquire_cred.3 \
243 gss_acquire_cred.3 gss_inquire_cred_by_mech.3 \
244 gss_acquire_cred.3 gss_inquire_mechs_for_name.3 \
245 gss_acquire_cred.3 gss_inquire_names_for_mech.3 \
246 gss_acquire_cred.3 gss_krb5_ccache_name.3 \
247 gss_acquire_cred.3 gss_krb5_compat_des3_mic.3 \
248 gss_acquire_cred.3 gss_krb5_copy_ccache.3 \
249 gss_acquire_cred.3 gss_krb5_get_tkt_flags.3 \
250 gss_acquire_cred.3 gss_krb5_import_ccache.3 \
251 gss_acquire_cred.3 gss_krb5_import_cred.3 \
252 gss_acquire_cred.3 gss_process_context_token.3 \
253 gss_acquire_cred.3 gss_release_buffer.3 \
254 gss_acquire_cred.3 gss_release_cred.3 \
255 gss_acquire_cred.3 gss_release_name.3 \
256 gss_acquire_cred.3 gss_release_oid_set.3 \
257 gss_acquire_cred.3 gss_seal.3 \
258 gss_acquire_cred.3 gss_sign.3 \
259 gss_acquire_cred.3 gss_test_oid_set_member.3 \
260 gss_acquire_cred.3 gss_unseal.3 \
261 gss_acquire_cred.3 gss_unwrap.3 \
262 gss_acquire_cred.3 gss_verify.3 \
263 gss_acquire_cred.3 gss_verify_mic.3 \
264 gss_acquire_cred.3 gss_wrap.3 \
265 gss_acquire_cred.3 gss_wrap_size_limit.3 \
266 gss_acquire_cred.3 gsskrb5_extract_authz_data_from_sec_context.3 \
267 gss_acquire_cred.3 gsskrb5_register_acceptor_identity.3
269 INCS= gssapi.h
270 INCS+= gssapi/gssapi.h gssapi/gssapi_krb5.h gssapi/gssapi_spnego.h
271 INCS+= gssapi/gssapi_oid.h gssapi/gssapi_ntlm.h
272 INCSDIR= /usr/include
274 CPPFLAGS+= \
275 -I${HEIMDIST}/lib/krb5 \
276 -I${HEIMDIST}/lib/asn1 \
278 .include <${HEIMBASE}/Makefile.rules.inc>
279 .include <bsd.lib.mk>