1 # $NetBSD: Makefile,v 1.4 2014/04/24 13:50:53 pettai Exp $
3 USE_FORT?
= yes
# network protocol library
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
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
= \
31 asn1_NegotiationToken.x \
32 asn1_NegotiationTokenWin.x \
35 asn1_NegTokenInitWin.x \
40 krb5
/accept_sec_context.c \
43 krb5
/address_to_krb5addr.c \
46 krb5
/canonicalize_name.c \
55 krb5
/delete_sec_context.c \
57 krb5
/display_status.c \
58 krb5
/duplicate_name.c \
61 krb5
/export_sec_context.c \
65 krb5
/import_sec_context.c \
66 krb5
/indicate_mechs.c \
68 krb5
/init_sec_context.c \
69 krb5
/inquire_context.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 \
77 krb5
/process_context_token.c \
79 krb5
/release_buffer.c \
84 krb5
/set_cred_option.c \
85 krb5
/set_sec_context_option.c \
88 krb5
/authorize_localname.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 \
100 mech
/gss_add_cred_with_password.c \
101 mech
/gss_add_oid_set_member.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 \
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 \
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 \
135 mech
/gss_mech_switch.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 \
150 mech
/gss_set_cred_option.c \
151 mech
/gss_set_name_attribute.c \
152 mech
/gss_set_sec_context_option.c \
154 mech
/gss_store_cred.c \
155 mech
/gss_test_oid_set_member.c \
158 mech
/gss_authorize_localname.c \
161 mech
/gss_verify_mic.c \
163 mech
/gss_wrap_size_limit.c \
164 mech
/gss_inquire_sec_context_by_oid.c
167 spnego
/accept_sec_context.c \
169 spnego
/context_stubs.c \
170 spnego
/cred_stubs.c \
172 spnego
/init_sec_context.c
175 ntlm
/accept_sec_context.c \
176 ntlm
/acquire_cred.c \
178 ntlm
/canonicalize_name.c \
179 ntlm
/compare_name.c \
180 ntlm
/context_time.c \
183 ntlm
/delete_sec_context.c \
184 ntlm
/display_name.c \
185 ntlm
/display_status.c \
186 ntlm
/duplicate_name.c \
188 ntlm
/export_sec_context.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 \
200 ntlm
/process_context_token.c \
201 ntlm
/release_cred.c \
202 ntlm
/release_name.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}
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
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
275 -I
${HEIMDIST}/lib
/krb5 \
276 -I
${HEIMDIST}/lib
/asn1 \
278 .
include <${HEIMBASE}/Makefile.rules.inc
>
279 .
include <bsd.lib.mk
>