xref: /freebsd/kerberos5/lib/libkrb5/Makefile (revision 17d6c636720d00f77e5d098daf4c278f89d84f7b)
1# $FreeBSD$
2
3LIB=	krb5
4CFLAGS+=-I${KRB5DIR}/lib/krb5 \
5	-I${KRB5DIR}/lib/asn1 \
6	-I${KRB5DIR}/lib/des \
7	-I${KRB5DIR}/lib/roken \
8	-I${KRB5DIR}/include \
9	-I${KRB5OBJDIR} \
10	-I${ASN1OBJDIR}
11.if defined(MAKE_KERBEROS4) && \
12	(${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes")
13CFLAGS+=-I${KRB4DIR}/include
14.endif
15SRCS=	\
16	acl.c \
17	add_et_list.c \
18	addr_families.c \
19	address.c \
20	aname_to_localname.c \
21	appdefault.c \
22	asn1_glue.c \
23	auth_context.c \
24	build_ap_req.c \
25	build_auth.c \
26	cache.c \
27	changepw.c \
28	codec.c \
29	config_file.c \
30	config_file_netinfo.c \
31	convert_creds.c \
32	constants.c \
33	context.c \
34	copy_host_realm.c \
35	crc.c \
36	creds.c \
37	crypto.c \
38	data.c \
39	eai_to_heim_errno.c \
40	error_string.c \
41	expand_hostname.c \
42	fcache.c \
43	free.c \
44	free_host_realm.c \
45	generate_seq_number.c \
46	generate_subkey.c \
47	get_addrs.c \
48	get_cred.c \
49	get_default_principal.c \
50	get_default_realm.c \
51	get_for_creds.c \
52	get_host_realm.c \
53	get_in_tkt.c \
54	get_in_tkt_pw.c \
55	get_in_tkt_with_keytab.c \
56	get_in_tkt_with_skey.c \
57	get_port.c \
58	init_creds.c \
59	init_creds_pw.c \
60	keyblock.c \
61	keytab.c \
62	keytab_any.c \
63	keytab_file.c \
64	keytab_memory.c \
65	keytab_keyfile.c \
66	keytab_krb4.c \
67	krbhst.c \
68	kuserok.c \
69	log.c \
70	mcache.c \
71	misc.c \
72	mk_error.c \
73	mk_priv.c \
74	mk_rep.c \
75	mk_req.c \
76	mk_req_ext.c \
77	mk_safe.c \
78	net_read.c \
79	net_write.c \
80	n-fold.c \
81	padata.c \
82	principal.c \
83	prog_setup.c \
84	prompter_posix.c \
85	rd_cred.c \
86	rd_error.c \
87	rd_priv.c \
88	rd_rep.c \
89	rd_req.c \
90	rd_safe.c \
91	read_message.c \
92	recvauth.c \
93	replay.c \
94	send_to_kdc.c \
95	sendauth.c \
96	set_default_realm.c \
97	sock_principal.c \
98	store.c \
99	store_emem.c \
100	store_fd.c \
101	store_mem.c \
102	ticket.c \
103	time.c \
104	transited.c \
105	verify_init.c \
106	verify_user.c \
107	version.c \
108	warn.c \
109	write_message.c \
110	krb5_err.c \
111	heim_err.c \
112	heim_err.h
113
114INCLUDES=${KRB5DIR}/lib/krb5/krb5.h ${.CURDIR}/../../include/krb5-types.h \
115	${KRB5DIR}/lib/krb5/krb5-protos.h heim_err.h krb5_err.h
116
117MAN3=						\
118	krb5_425_conv_principal.3		\
119	krb5_appdefault.3			\
120	krb5_auth_context.3			\
121	krb5_build_principal.3			\
122	krb5_config.3				\
123	krb5_context.3				\
124	krb5_free_principal.3			\
125	krb5_init_context.3			\
126	krb5_keytab.3				\
127	krb5_openlog.3				\
128	krb5_parse_name.3			\
129	krb5_sname_to_principal.3		\
130	krb5_unparse_name.3			\
131	krb5_warn.3
132
133MAN5=						\
134	krb5.conf.5
135
136MAN8=						\
137	kerberos.8				\
138	verify_krb5_conf.8
139
140.include <bsd.lib.mk>
141
142.PATH:		${KRB5DIR}/lib/krb5
143.PATH:		${KRB5DIR}/lib/des
144
145beforedepend all:	asn1_err.h krb5_err.h
146