Merge from vendor branch BINUTILS:
[dragonfly.git] / kerberos5 / lib / libkrb5 / Makefile
1 # $FreeBSD: src/kerberos5/lib/libkrb5/Makefile,v 1.17 2004/02/05 18:51:49 ru Exp $
2 # $DragonFly: src/kerberos5/lib/libkrb5/Makefile,v 1.4 2005/01/16 14:25:46 eirikn Exp $
3
4 LIB=    krb5
5
6 INCS=   heim_err.h \
7         k524_err.h \
8         krb5-protos.h \
9         krb5-types.h \
10         krb5.h \
11         krb5_err.h
12
13 MAN=    krb5.3 \
14         krb5_425_conv_principal.3 \
15         krb5_address.3 \
16         krb5_aname_to_localname.3 \
17         krb5_appdefault.3 \
18         krb5_auth_context.3 \
19         krb5_build_principal.3 \
20         krb5_ccache.3 \
21         krb5_config.3 \
22         krb5_context.3 \
23         krb5_create_checksum.3 \
24         krb5_crypto_init.3 \
25         krb5_data.3 \
26         krb5_encrypt.3 \
27         krb5_free_addresses.3 \
28         krb5_free_principal.3 \
29         krb5_get_all_client_addrs.3 \
30         krb5_get_krbhst.3 \
31         krb5_init_context.3 \
32         krb5_keytab.3 \
33         krb5_krbhst_init.3 \
34         krb5_kuserok.3 \
35         krb5_openlog.3 \
36         krb5_parse_name.3 \
37         krb5_principal_get_realm.3 \
38         krb5_set_default_realm.3 \
39         krb5_sname_to_principal.3 \
40         krb5_timeofday.3 \
41         krb5_unparse_name.3 \
42         krb5_verify_user.3 \
43         krb5_warn.3
44 MAN+=   krb5.conf.5
45 MAN+=   kerberos.8
46
47 MLINKS= krb5_425_conv_principal.3 krb5_425_conv_principal_ext.3 \
48         krb5_425_conv_principal.3 krb5_524_conv_principal.3 \
49         krb5_address.3 krb5_addr2sockaddr.3 \
50         krb5_address.3 krb5_address_compare.3 \
51         krb5_address.3 krb5_address_order.3 \
52         krb5_address.3 krb5_address_search.3 \
53         krb5_address.3 krb5_addresses.3 \
54         krb5_address.3 krb5_anyaddr.3 \
55         krb5_address.3 krb5_append_addresses.3 \
56         krb5_address.3 krb5_copy_address.3 \
57         krb5_address.3 krb5_copy_addresses.3 \
58         krb5_address.3 krb5_free_address.3 \
59         krb5_address.3 krb5_free_addresses.3 \
60         krb5_address.3 krb5_h_addr2addr.3 \
61         krb5_address.3 krb5_h_addr2sockaddr.3 \
62         krb5_address.3 krb5_make_addrport.3 \
63         krb5_address.3 krb5_max_sockaddr_size.3 \
64         krb5_address.3 krb5_parse_address.3 \
65         krb5_address.3 krb5_print_address.3 \
66         krb5_address.3 krb5_sockaddr2address.3 \
67         krb5_address.3 krb5_sockaddr2port.3 \
68         krb5_address.3 krb5_sockaddr_uninteresting.3 \
69         krb5_appdefault.3 krb5_appdefault_boolean.3 \
70         krb5_appdefault.3 krb5_appdefault_string.3 \
71         krb5_appdefault.3 krb5_appdefault_time.3 \
72         krb5_auth_context.3 krb5_auth_con_free.3 \
73         krb5_auth_context.3 krb5_auth_con_genaddrs.3 \
74         krb5_auth_context.3 krb5_auth_con_getaddrs.3 \
75         krb5_auth_context.3 krb5_auth_con_getflags.3 \
76         krb5_auth_context.3 krb5_auth_con_getkey.3 \
77         krb5_auth_context.3 krb5_auth_con_getlocalsubkey.3 \
78         krb5_auth_context.3 krb5_auth_con_getrcache.3 \
79         krb5_auth_context.3 krb5_auth_con_getremotesubkey.3 \
80         krb5_auth_context.3 krb5_auth_con_getuserkey.3 \
81         krb5_auth_context.3 krb5_auth_con_init.3 \
82         krb5_auth_context.3 krb5_auth_con_initivector.3 \
83         krb5_auth_context.3 krb5_auth_con_setaddrs.3 \
84         krb5_auth_context.3 krb5_auth_con_setaddrs_from_fd.3 \
85         krb5_auth_context.3 krb5_auth_con_setflags.3 \
86         krb5_auth_context.3 krb5_auth_con_setivector.3 \
87         krb5_auth_context.3 krb5_auth_con_setkey.3 \
88         krb5_auth_context.3 krb5_auth_con_setlocalsubkey.3 \
89         krb5_auth_context.3 krb5_auth_con_setrcache.3 \
90         krb5_auth_context.3 krb5_auth_con_setremotesubkey.3 \
91         krb5_auth_context.3 krb5_auth_con_setuserkey.3 \
92         krb5_auth_context.3 krb5_auth_getauthenticator.3 \
93         krb5_auth_context.3 krb5_auth_getcksumtype.3 \
94         krb5_auth_context.3 krb5_auth_getkeytype.3 \
95         krb5_auth_context.3 krb5_auth_getlocalseqnumber.3 \
96         krb5_auth_context.3 krb5_auth_getremoteseqnumber.3 \
97         krb5_auth_context.3 krb5_auth_setcksumtype.3 \
98         krb5_auth_context.3 krb5_auth_setkeytype.3 \
99         krb5_auth_context.3 krb5_auth_setlocalseqnumber.3 \
100         krb5_auth_context.3 krb5_auth_setremoteseqnumber.3 \
101         krb5_build_principal.3 krb5_build_principal_ext.3 \
102         krb5_build_principal.3 krb5_build_principal_va.3 \
103         krb5_build_principal.3 krb5_build_principal_va_ext.3 \
104         krb5_build_principal.3 krb5_make_principal.3 \
105         krb5_ccache.3 krb5_cc_close.3 \
106         krb5_ccache.3 krb5_cc_copy_cache.3 \
107         krb5_ccache.3 krb5_cc_cursor.3 \
108         krb5_ccache.3 krb5_cc_default.3 \
109         krb5_ccache.3 krb5_cc_default_name.3 \
110         krb5_ccache.3 krb5_cc_destroy.3 \
111         krb5_ccache.3 krb5_cc_end_seq_get.3 \
112         krb5_ccache.3 krb5_cc_gen_new.3 \
113         krb5_ccache.3 krb5_cc_get_name.3 \
114         krb5_ccache.3 krb5_cc_get_ops.3 \
115         krb5_ccache.3 krb5_cc_get_principal.3 \
116         krb5_ccache.3 krb5_cc_get_type.3 \
117         krb5_ccache.3 krb5_cc_get_version.3 \
118         krb5_ccache.3 krb5_cc_initialize.3 \
119         krb5_ccache.3 krb5_cc_next_cred.3 \
120         krb5_ccache.3 krb5_cc_ops.3 \
121         krb5_ccache.3 krb5_cc_register.3 \
122         krb5_ccache.3 krb5_cc_remove_cred.3 \
123         krb5_ccache.3 krb5_cc_resolve.3 \
124         krb5_ccache.3 krb5_cc_retrieve_cred.3 \
125         krb5_ccache.3 krb5_cc_set_default_name.3 \
126         krb5_ccache.3 krb5_cc_set_flags.3 \
127         krb5_ccache.3 krb5_cc_store_cred.3 \
128         krb5_ccache.3 krb5_fcc_ops.3 \
129         krb5_ccache.3 krb5_mcc_ops.3 \
130         krb5_config.3 krb5_config_get_bool_default.3 \
131         krb5_config.3 krb5_config_get_int_default.3 \
132         krb5_config.3 krb5_config_get_string_default.3 \
133         krb5_config.3 krb5_config_get_time_default.3 \
134         krb5_create_checksum.3 krb5_checksum_is_collision_proof.3 \
135         krb5_create_checksum.3 krb5_checksum_is_keyed.3 \
136         krb5_create_checksum.3 krb5_checksumsize.3 \
137         krb5_create_checksum.3 krb5_verify_checksum.3 \
138         krb5_crypto_init.3 krb5_crypto_destroy.3 \
139         krb5_data.3 krb5_copy_data.3 \
140         krb5_data.3 krb5_data_alloc.3 \
141         krb5_data.3 krb5_data_copy.3 \
142         krb5_data.3 krb5_data_free.3 \
143         krb5_data.3 krb5_data_realloc.3 \
144         krb5_data.3 krb5_data_zero.3 \
145         krb5_data.3 krb5_free_data.3 \
146         krb5_data.3 krb5_free_data_contents.3 \
147         krb5_encrypt.3 krb5_decrypt.3 \
148         krb5_encrypt.3 krb5_decrypt_EncryptedData.3 \
149         krb5_encrypt.3 krb5_encrypt_EncryptedData.3 \
150         krb5_get_all_client_addrs.3 krb5_get_all_server_addrs.3 \
151         krb5_get_krbhst.3 krb5_free_krbhst.3 \
152         krb5_get_krbhst.3 krb5_get_krb524hst.3 \
153         krb5_get_krbhst.3 krb5_get_krb_admin_hst.3 \
154         krb5_get_krbhst.3 krb5_get_krb_changepw_hst.3 \
155         krb5_init_context.3 krb5_free_context.3 \
156         krb5_keytab.3 krb5_keytab_entry.3 \
157         krb5_keytab.3 krb5_kt_add_entry.3 \
158         krb5_keytab.3 krb5_kt_close.3 \
159         krb5_keytab.3 krb5_kt_compare.3 \
160         krb5_keytab.3 krb5_kt_copy_entry_contents.3 \
161         krb5_keytab.3 krb5_kt_cursor.3 \
162         krb5_keytab.3 krb5_kt_default.3 \
163         krb5_keytab.3 krb5_kt_default_name.3 \
164         krb5_keytab.3 krb5_kt_end_seq_get.3 \
165         krb5_keytab.3 krb5_kt_free_entry.3 \
166         krb5_keytab.3 krb5_kt_get_entry.3 \
167         krb5_keytab.3 krb5_kt_get_name.3 \
168         krb5_keytab.3 krb5_kt_get_type.3 \
169         krb5_keytab.3 krb5_kt_next_entry.3 \
170         krb5_keytab.3 krb5_kt_ops.3 \
171         krb5_keytab.3 krb5_kt_read_service_key.3 \
172         krb5_keytab.3 krb5_kt_register.3 \
173         krb5_keytab.3 krb5_kt_remove_entry.3 \
174         krb5_keytab.3 krb5_kt_resolve.3 \
175         krb5_keytab.3 krb5_kt_start_seq_get.3 \
176         krb5_krbhst_init.3 krb5_krbhst_format_string.3 \
177         krb5_krbhst_init.3 krb5_krbhst_free.3 \
178         krb5_krbhst_init.3 krb5_krbhst_get_addrinfo.3 \
179         krb5_krbhst_init.3 krb5_krbhst_next.3 \
180         krb5_krbhst_init.3 krb5_krbhst_next_as_string.3 \
181         krb5_krbhst_init.3 krb5_krbhst_reset.3 \
182         krb5_openlog.3 krb5_addlog_dest.3 \
183         krb5_openlog.3 krb5_addlog_func.3 \
184         krb5_openlog.3 krb5_closelog.3 \
185         krb5_openlog.3 krb5_initlog.3 \
186         krb5_openlog.3 krb5_log.3 \
187         krb5_openlog.3 krb5_log_msg.3 \
188         krb5_openlog.3 krb5_vlog.3 \
189         krb5_openlog.3 krb5_vlog_msg.3 \
190         krb5_principal_get_realm.3 krb5_principal_get_comp_string.3 \
191         krb5_set_default_realm.3 krb5_free_host_realm.3 \
192         krb5_set_default_realm.3 krb5_get_default_realm.3 \
193         krb5_set_default_realm.3 krb5_get_default_realms.3 \
194         krb5_set_default_realm.3 krb5_get_host_realm.3 \
195         krb5_sname_to_principal.3 krb5_sock_to_principal.3 \
196         krb5_timeofday.3 krb5_us_timeofday.3 \
197         krb5_verify_user.3 krb5_verify_opt_init.3 \
198         krb5_verify_user.3 krb5_verify_opt_set_flags.3 \
199         krb5_verify_user.3 krb5_verify_opt_set_keytab.3 \
200         krb5_verify_user.3 krb5_verify_opt_set_secure.3 \
201         krb5_verify_user.3 krb5_verify_opt_set_service.3 \
202         krb5_verify_user.3 krb5_verify_user_lrealm.3 \
203         krb5_verify_user.3 krb5_verify_user_opt.3 \
204         krb5_warn.3 krb5_err.3 \
205         krb5_warn.3 krb5_errx.3 \
206         krb5_warn.3 krb5_set_warn_dest.3 \
207         krb5_warn.3 krb5_verr.3 \
208         krb5_warn.3 krb5_verrx.3 \
209         krb5_warn.3 krb5_vwarn.3 \
210         krb5_warn.3 krb5_vwarnx.3 \
211         krb5_warn.3 krb5_warnx.3
212
213 SRCS=   acl.c \
214         add_et_list.c \
215         addr_families.c \
216         aname_to_localname.c \
217         appdefault.c \
218         asn1_glue.c \
219         auth_context.c \
220         build_ap_req.c \
221         build_auth.c \
222         cache.c \
223         changepw.c \
224         codec.c \
225         config_file.c \
226         config_file_netinfo.c \
227         constants.c \
228         context.c \
229         convert_creds.c \
230         copy_host_realm.c \
231         crc.c \
232         creds.c \
233         crypto.c \
234         data.c \
235         eai_to_heim_errno.c \
236         error_string.c \
237         expand_hostname.c \
238         fcache.c \
239         free.c \
240         free_host_realm.c \
241         generate_seq_number.c \
242         generate_subkey.c \
243         get_addrs.c \
244         get_cred.c \
245         get_default_principal.c \
246         get_default_realm.c \
247         get_for_creds.c \
248         get_host_realm.c \
249         get_in_tkt.c \
250         get_in_tkt_pw.c \
251         get_in_tkt_with_keytab.c \
252         get_in_tkt_with_skey.c \
253         get_port.c \
254         heim_err.c \
255         heim_err.h \
256         init_creds.c \
257         init_creds_pw.c \
258         k524_err.c \
259         k524_err.h \
260         keyblock.c \
261         keytab.c \
262         keytab_any.c \
263         keytab_file.c \
264         keytab_keyfile.c \
265         keytab_krb4.c \
266         keytab_memory.c \
267         krb5_err.c \
268         krb5_err.h \
269         krbhst.c \
270         kuserok.c \
271         log.c \
272         mcache.c \
273         misc.c \
274         mk_error.c \
275         mk_priv.c \
276         mk_rep.c \
277         mk_req.c \
278         mk_req_ext.c \
279         mk_safe.c \
280         n-fold.c \
281         net_read.c \
282         net_write.c \
283         padata.c \
284         principal.c \
285         prog_setup.c \
286         prompter_posix.c \
287         rd_cred.c \
288         rd_error.c \
289         rd_priv.c \
290         rd_rep.c \
291         rd_req.c \
292         rd_safe.c \
293         read_message.c \
294         recvauth.c \
295         replay.c \
296         send_to_kdc.c \
297         sendauth.c \
298         set_default_realm.c \
299         sock_principal.c \
300         store.c \
301         store_emem.c \
302         store_fd.c \
303         store_mem.c \
304         ticket.c \
305         time.c \
306         transited.c \
307         verify_init.c \
308         verify_user.c \
309         version.c \
310         warn.c \
311         write_message.c
312
313 CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.
314 DPADD+= ${LIBUTIL}
315 LDADD+= -lutil
316
317 .include <bsd.lib.mk>
318
319 .PATH: ${KRB5DIR}/lib/krb5 ${.CURDIR}/../../include