xref: /freebsd/kerberos5/lib/libkrb5/Makefile (revision 7aa383846770374466b1dcb2cefd71bde9acf463)
1# $FreeBSD$
2
3LIB=	krb5
4VERSION_MAP= ${KRB5DIR}/lib/krb5/version-script.map
5
6INCS=	heim_err.h \
7	heim_threads.h \
8	k524_err.h \
9	krb5-protos.h \
10	krb5-types.h \
11	krb5.h \
12	krb5_err.h \
13	krb5-v4compat.h \
14	krb_err.h
15
16MAN=	krb5.3 \
17	krb524_convert_creds_kdc.3 \
18	krb5_425_conv_principal.3 \
19	krb5_acl_match_file.3 \
20	krb5_address.3 \
21	krb5_aname_to_localname.3 \
22	krb5_appdefault.3 \
23	krb5_auth_context.3 \
24	krb5_c_make_checksum.3 \
25	krb5_ccache.3 \
26	krb5_check_transited.3 \
27	krb5_compare_creds.3 \
28	krb5_config.3 \
29	krb5_context.3 \
30	krb5_create_checksum.3 \
31	krb5_creds.3 \
32	krb5_crypto_init.3 \
33	krb5_data.3 \
34	krb5_digest.3 \
35	krb5_eai_to_heim_errno.3 \
36	krb5_encrypt.3 \
37	krb5_expand_hostname.3 \
38	krb5_find_padata.3 \
39	krb5_generate_random_block.3 \
40	krb5_get_all_client_addrs.3 \
41	krb5_get_credentials.3 \
42	krb5_get_creds.3 \
43	krb5_get_forwarded_creds.3 \
44	krb5_get_in_cred.3 \
45	krb5_get_init_creds.3 \
46	krb5_get_krbhst.3 \
47	krb5_getportbyname.3 \
48	krb5_init_context.3 \
49	krb5_is_thread_safe.3 \
50	krb5_keyblock.3 \
51	krb5_keytab.3 \
52	krb5_krbhst_init.3 \
53	krb5_kuserok.3 \
54	krb5_mk_req.3 \
55	krb5_mk_safe.3 \
56	krb5_openlog.3 \
57	krb5_parse_name.3 \
58	krb5_principal.3 \
59	krb5_rcache.3 \
60	krb5_rd_error.3 \
61	krb5_rd_safe.3 \
62	krb5_set_default_realm.3 \
63	krb5_set_password.3 \
64	krb5_storage.3 \
65	krb5_string_to_key.3 \
66	krb5_ticket.3 \
67	krb5_timeofday.3 \
68	krb5_unparse_name.3 \
69	krb5_verify_init_creds.3 \
70	krb5_verify_user.3 \
71	krb5_warn.3 \
72	verify_krb5_conf.8
73
74MAN+=	krb5.conf.5
75MAN+=	kerberos.8
76
77MLINKS=	krb5_425_conv_principal.3 krb5_425_conv_principal_ext.3 \
78	krb5_425_conv_principal.3 krb5_524_conv_principal.3 \
79	krb5_address.3 krb5_addr2sockaddr.3 \
80	krb5_address.3 krb5_address_compare.3 \
81	krb5_address.3 krb5_address_order.3 \
82	krb5_address.3 krb5_address_search.3 \
83	krb5_address.3 krb5_addresses.3 \
84	krb5_address.3 krb5_anyaddr.3 \
85	krb5_address.3 krb5_append_addresses.3 \
86	krb5_address.3 krb5_copy_address.3 \
87	krb5_address.3 krb5_copy_addresses.3 \
88	krb5_address.3 krb5_free_address.3 \
89	krb5_address.3 krb5_free_addresses.3 \
90	krb5_address.3 krb5_h_addr2addr.3 \
91	krb5_address.3 krb5_h_addr2sockaddr.3 \
92	krb5_address.3 krb5_make_addrport.3 \
93	krb5_address.3 krb5_max_sockaddr_size.3 \
94	krb5_address.3 krb5_parse_address.3 \
95	krb5_address.3 krb5_print_address.3 \
96	krb5_address.3 krb5_sockaddr2address.3 \
97	krb5_address.3 krb5_sockaddr2port.3 \
98	krb5_address.3 krb5_sockaddr_uninteresting.3 \
99	krb5_appdefault.3 krb5_appdefault_boolean.3 \
100	krb5_appdefault.3 krb5_appdefault_string.3 \
101	krb5_appdefault.3 krb5_appdefault_time.3 \
102	krb5_auth_context.3 krb5_auth_con_free.3 \
103	krb5_auth_context.3 krb5_auth_con_genaddrs.3 \
104	krb5_auth_context.3 krb5_auth_con_getaddrs.3 \
105	krb5_auth_context.3 krb5_auth_con_getflags.3 \
106	krb5_auth_context.3 krb5_auth_con_getkey.3 \
107	krb5_auth_context.3 krb5_auth_con_getlocalsubkey.3 \
108	krb5_auth_context.3 krb5_auth_con_getrcache.3 \
109	krb5_auth_context.3 krb5_auth_con_getremotesubkey.3 \
110	krb5_auth_context.3 krb5_auth_con_getuserkey.3 \
111	krb5_auth_context.3 krb5_auth_con_init.3 \
112	krb5_auth_context.3 krb5_auth_con_initivector.3 \
113	krb5_auth_context.3 krb5_auth_con_setaddrs.3 \
114	krb5_auth_context.3 krb5_auth_con_setaddrs_from_fd.3 \
115	krb5_auth_context.3 krb5_auth_con_setflags.3 \
116	krb5_auth_context.3 krb5_auth_con_setivector.3 \
117	krb5_auth_context.3 krb5_auth_con_setkey.3 \
118	krb5_auth_context.3 krb5_auth_con_setlocalsubkey.3 \
119	krb5_auth_context.3 krb5_auth_con_setrcache.3 \
120	krb5_auth_context.3 krb5_auth_con_setremotesubkey.3 \
121	krb5_auth_context.3 krb5_auth_con_setuserkey.3 \
122	krb5_auth_context.3 krb5_auth_getauthenticator.3 \
123	krb5_auth_context.3 krb5_auth_getcksumtype.3 \
124	krb5_auth_context.3 krb5_auth_getkeytype.3 \
125	krb5_auth_context.3 krb5_auth_getlocalseqnumber.3 \
126	krb5_auth_context.3 krb5_auth_getremoteseqnumber.3 \
127	krb5_auth_context.3 krb5_auth_setcksumtype.3 \
128	krb5_auth_context.3 krb5_auth_setkeytype.3 \
129	krb5_auth_context.3 krb5_auth_setlocalseqnumber.3 \
130	krb5_auth_context.3 krb5_auth_setremoteseqnumber.3 \
131	krb5_ccache.3 krb5_cc_close.3 \
132	krb5_ccache.3 krb5_cc_copy_cache.3 \
133	krb5_ccache.3 krb5_cc_cursor.3 \
134	krb5_ccache.3 krb5_cc_default.3 \
135	krb5_ccache.3 krb5_cc_default_name.3 \
136	krb5_ccache.3 krb5_cc_destroy.3 \
137	krb5_ccache.3 krb5_cc_end_seq_get.3 \
138	krb5_ccache.3 krb5_cc_gen_new.3 \
139	krb5_ccache.3 krb5_cc_get_name.3 \
140	krb5_ccache.3 krb5_cc_get_ops.3 \
141	krb5_ccache.3 krb5_cc_get_principal.3 \
142	krb5_ccache.3 krb5_cc_get_type.3 \
143	krb5_ccache.3 krb5_cc_get_version.3 \
144	krb5_ccache.3 krb5_cc_initialize.3 \
145	krb5_ccache.3 krb5_cc_next_cred.3 \
146	krb5_ccache.3 krb5_cc_ops.3 \
147	krb5_ccache.3 krb5_cc_register.3 \
148	krb5_ccache.3 krb5_cc_remove_cred.3 \
149	krb5_ccache.3 krb5_cc_resolve.3 \
150	krb5_ccache.3 krb5_cc_retrieve_cred.3 \
151	krb5_ccache.3 krb5_cc_set_default_name.3 \
152	krb5_ccache.3 krb5_cc_set_flags.3 \
153	krb5_ccache.3 krb5_cc_store_cred.3 \
154	krb5_ccache.3 krb5_fcc_ops.3 \
155	krb5_ccache.3 krb5_mcc_ops.3 \
156	krb5_config.3 krb5_config_get_bool_default.3 \
157	krb5_config.3 krb5_config_get_int_default.3 \
158	krb5_config.3 krb5_config_get_string_default.3 \
159	krb5_config.3 krb5_config_get_time_default.3 \
160	krb5_create_checksum.3 krb5_checksum_is_collision_proof.3 \
161	krb5_create_checksum.3 krb5_checksum_is_keyed.3 \
162	krb5_create_checksum.3 krb5_checksumsize.3 \
163	krb5_create_checksum.3 krb5_verify_checksum.3 \
164	krb5_crypto_init.3 krb5_crypto_destroy.3 \
165	krb5_data.3 krb5_copy_data.3 \
166	krb5_data.3 krb5_data_alloc.3 \
167	krb5_data.3 krb5_data_copy.3 \
168	krb5_data.3 krb5_data_free.3 \
169	krb5_data.3 krb5_data_realloc.3 \
170	krb5_data.3 krb5_data_zero.3 \
171	krb5_data.3 krb5_free_data.3 \
172	krb5_data.3 krb5_free_data_contents.3 \
173	krb5_encrypt.3 krb5_decrypt.3 \
174	krb5_encrypt.3 krb5_decrypt_EncryptedData.3 \
175	krb5_encrypt.3 krb5_encrypt_EncryptedData.3 \
176	krb5_get_all_client_addrs.3 krb5_get_all_server_addrs.3 \
177	krb5_get_krbhst.3 krb5_free_krbhst.3 \
178	krb5_get_krbhst.3 krb5_get_krb524hst.3 \
179	krb5_get_krbhst.3 krb5_get_krb_admin_hst.3 \
180	krb5_get_krbhst.3 krb5_get_krb_changepw_hst.3 \
181	krb5_init_context.3 krb5_free_context.3 \
182	krb5_keytab.3 krb5_keytab_entry.3 \
183	krb5_keytab.3 krb5_kt_add_entry.3 \
184	krb5_keytab.3 krb5_kt_close.3 \
185	krb5_keytab.3 krb5_kt_compare.3 \
186	krb5_keytab.3 krb5_kt_copy_entry_contents.3 \
187	krb5_keytab.3 krb5_kt_cursor.3 \
188	krb5_keytab.3 krb5_kt_default.3 \
189	krb5_keytab.3 krb5_kt_default_name.3 \
190	krb5_keytab.3 krb5_kt_end_seq_get.3 \
191	krb5_keytab.3 krb5_kt_free_entry.3 \
192	krb5_keytab.3 krb5_kt_get_entry.3 \
193	krb5_keytab.3 krb5_kt_get_name.3 \
194	krb5_keytab.3 krb5_kt_get_type.3 \
195	krb5_keytab.3 krb5_kt_next_entry.3 \
196	krb5_keytab.3 krb5_kt_ops.3 \
197	krb5_keytab.3 krb5_kt_read_service_key.3 \
198	krb5_keytab.3 krb5_kt_register.3 \
199	krb5_keytab.3 krb5_kt_remove_entry.3 \
200	krb5_keytab.3 krb5_kt_resolve.3 \
201	krb5_keytab.3 krb5_kt_start_seq_get.3 \
202	krb5_krbhst_init.3 krb5_krbhst_format_string.3 \
203	krb5_krbhst_init.3 krb5_krbhst_free.3 \
204	krb5_krbhst_init.3 krb5_krbhst_get_addrinfo.3 \
205	krb5_krbhst_init.3 krb5_krbhst_next.3 \
206	krb5_krbhst_init.3 krb5_krbhst_next_as_string.3 \
207	krb5_krbhst_init.3 krb5_krbhst_reset.3 \
208	krb5_openlog.3 krb5_addlog_dest.3 \
209	krb5_openlog.3 krb5_addlog_func.3 \
210	krb5_openlog.3 krb5_closelog.3 \
211	krb5_openlog.3 krb5_initlog.3 \
212	krb5_openlog.3 krb5_log.3 \
213	krb5_openlog.3 krb5_log_msg.3 \
214	krb5_openlog.3 krb5_vlog.3 \
215	krb5_openlog.3 krb5_vlog_msg.3 \
216	krb5_principal.3 krb5_get_default_principal.3 \
217	krb5_principal.3 krb5_build_principal.3 \
218	krb5_principal.3 krb5_build_principal_ext.3 \
219	krb5_principal.3 krb5_build_principal_va.3 \
220	krb5_principal.3 krb5_build_principal_va_ext.3 \
221	krb5_principal.3 krb5_copy_principal.3 \
222	krb5_principal.3 krb5_free_principal.3 \
223	krb5_principal.3 krb5_make_principal.3 \
224	krb5_principal.3 krb5_parse_name.3 \
225	krb5_principal.3 krb5_parse_name_flags.3 \
226	krb5_principal.3 krb5_parse_nametype.3 \
227	krb5_principal.3 krb5_princ_realm.3 \
228	krb5_principal.3 krb5_princ_set_realm.3 \
229	krb5_principal.3 krb5_principal_compare.3 \
230	krb5_principal.3 krb5_principal_compare_any_realm.3 \
231	krb5_principal.3 krb5_principal_get_comp_string.3 \
232	krb5_principal.3 krb5_principal_get_realm.3 \
233	krb5_principal.3 krb5_principal_get_type.3 \
234	krb5_principal.3 krb5_principal_match.3 \
235	krb5_principal.3 krb5_principal_set_type.3 \
236	krb5_principal.3 krb5_realm_compare.3 \
237	krb5_principal.3 krb5_sname_to_principal.3 \
238	krb5_principal.3 krb5_sock_to_principal.3 \
239	krb5_principal.3 krb5_unparse_name.3 \
240	krb5_principal.3 krb5_unparse_name_flags.3 \
241	krb5_principal.3 krb5_unparse_name_fixed.3 \
242	krb5_principal.3 krb5_unparse_name_fixed_flags.3 \
243	krb5_principal.3 krb5_unparse_name_fixed_short.3 \
244	krb5_principal.3 krb5_unparse_name_short.3 \
245	krb5_set_default_realm.3 krb5_free_host_realm.3 \
246	krb5_set_default_realm.3 krb5_get_default_realm.3 \
247	krb5_set_default_realm.3 krb5_get_default_realms.3 \
248	krb5_set_default_realm.3 krb5_get_host_realm.3 \
249	krb5_timeofday.3 krb5_us_timeofday.3 \
250	krb5_verify_user.3 krb5_verify_opt_init.3 \
251	krb5_verify_user.3 krb5_verify_opt_set_flags.3 \
252	krb5_verify_user.3 krb5_verify_opt_set_keytab.3 \
253	krb5_verify_user.3 krb5_verify_opt_set_secure.3 \
254	krb5_verify_user.3 krb5_verify_opt_set_service.3 \
255	krb5_verify_user.3 krb5_verify_user_lrealm.3 \
256	krb5_verify_user.3 krb5_verify_user_opt.3 \
257	krb5_warn.3 krb5_err.3 \
258	krb5_warn.3 krb5_errx.3 \
259	krb5_warn.3 krb5_set_warn_dest.3 \
260	krb5_warn.3 krb5_verr.3 \
261	krb5_warn.3 krb5_verrx.3 \
262	krb5_warn.3 krb5_vwarn.3 \
263	krb5_warn.3 krb5_vwarnx.3 \
264	krb5_warn.3 krb5_warnx.3
265
266SRCS=	acache.c \
267	acl.c \
268	add_et_list.c \
269	addr_families.c \
270	aname_to_localname.c \
271	appdefault.c \
272	asn1_glue.c \
273	auth_context.c \
274	build_ap_req.c \
275	build_auth.c \
276	cache.c \
277	changepw.c \
278	codec.c \
279	config_file.c \
280	config_file_netinfo.c \
281	constants.c \
282	context.c \
283	convert_creds.c \
284	copy_host_realm.c \
285	crc.c \
286	creds.c \
287	crypto.c \
288	data.c \
289	digest.c \
290	eai_to_heim_errno.c \
291	error_string.c \
292	expand_hostname.c \
293	fcache.c \
294	free.c \
295	free_host_realm.c \
296	generate_seq_number.c \
297	generate_subkey.c \
298	get_addrs.c \
299	get_cred.c \
300	get_default_principal.c \
301	get_default_realm.c \
302	get_for_creds.c \
303	get_host_realm.c \
304	get_in_tkt.c \
305	get_in_tkt_pw.c \
306	get_in_tkt_with_keytab.c \
307	get_in_tkt_with_skey.c \
308	get_port.c \
309	heim_threads.h \
310	init_creds.c \
311	init_creds_pw.c \
312	kcm.c \
313	kcm.h \
314	keyblock.c \
315	keytab.c \
316	keytab_any.c \
317	keytab_file.c \
318	keytab_keyfile.c \
319	keytab_krb4.c \
320	keytab_memory.c \
321	krb5_locl.h \
322	krb5-v4compat.h \
323	krbhst.c \
324	kuserok.c \
325	log.c \
326	mcache.c \
327	misc.c \
328	mk_error.c \
329	mk_priv.c \
330	mk_rep.c \
331	mk_req.c \
332	mk_req_ext.c \
333	mk_safe.c \
334	mit_glue.c \
335	n-fold.c \
336	net_read.c \
337	net_write.c \
338	pac.c \
339	padata.c \
340	pkinit.c \
341	principal.c \
342	prog_setup.c \
343	prompter_posix.c \
344	rd_cred.c \
345	rd_error.c \
346	rd_priv.c \
347	rd_rep.c \
348	rd_req.c \
349	rd_safe.c \
350	read_message.c \
351	recvauth.c \
352	replay.c \
353	send_to_kdc.c \
354	sendauth.c \
355	set_default_realm.c \
356	sock_principal.c \
357	store.c \
358	store-int.h \
359	store_emem.c \
360	store_fd.c \
361	store_mem.c \
362	plugin.c \
363	ticket.c \
364	time.c \
365	transited.c \
366	v4_glue.c \
367	verify_init.c \
368	verify_user.c \
369	version.c \
370	warn.c \
371	write_message.c
372
373SRCS+=	heim_err.c \
374	heim_err.h \
375	hx509_err.c \
376	hx509_err.h \
377	k524_err.c \
378	k524_err.h \
379	krb5_err.c \
380	krb5_err.h \
381	krb_err.c \
382	krb_err.h
383
384CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.
385
386.include <bsd.lib.mk>
387
388.PATH: ${KRB5DIR}/lib/krb5 ${KRB5DIR}/lib/asn1 ${.CURDIR}/../../include
389