xref: /freebsd/kerberos5/lib/libgssapi_krb5/Makefile (revision 52267f7411adcc76ede961420e08c0e42f42d415)
1# $FreeBSD$
2
3LIB=	gssapi_krb5
4LDFLAGS= -Wl,-Bsymbolic
5LDADD=	-lkrb5 -lhx509 -lcrypto -lroken -lasn1 -lcom_err -lcrypt
6DPADD=	${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBROKEN} ${LIBASN1} \
7	${LIBCOM_ERR} ${LIBCRYPT}
8
9INCS=	${KRB5DIR}/lib/gssapi/gssapi/gssapi_krb5.h
10INCSDIR= ${INCLUDEDIR}/gssapi
11
12SRCS=	8003.c \
13	accept_sec_context.c \
14	acquire_cred.c \
15	add_cred.c \
16	address_to_krb5addr.c \
17	arcfour.c \
18	canonicalize_name.c \
19	ccache_name.c \
20	cfx.c \
21	compare_name.c \
22	compat.c \
23	context_time.c \
24	copy_ccache.c \
25	decapsulate.c \
26	delete_sec_context.c \
27	display_name.c \
28	display_status.c \
29	duplicate_name.c \
30	encapsulate.c \
31	export_name.c \
32	export_sec_context.c \
33	external.c \
34	get_mic.c \
35	gkrb5_err.c \
36	gkrb5_err.h \
37	import_name.c \
38	import_sec_context.c \
39	indicate_mechs.c \
40	init.c \
41	init_sec_context.c \
42	inquire_context.c \
43	inquire_cred.c \
44	inquire_cred_by_mech.c \
45	inquire_cred_by_oid.c \
46	inquire_mechs_for_name.c \
47	inquire_names_for_mech.c \
48	inquire_sec_context_by_oid.c \
49	pname_to_uid.c \
50	prefix.c \
51	prf.c \
52	process_context_token.c \
53	release_buffer.c \
54	release_cred.c \
55	release_name.c \
56	sequence.c \
57	set_cred_option.c \
58	set_sec_context_option.c \
59	unwrap.c \
60	v1.c \
61	verify_mic.c \
62	wrap.c \
63	gss_krb5.c
64
65#SRCS+=	gss_add_oid_set_member.c \
66#	gss_create_empty_oid_set.c \
67#	gss_release_buffer.c \
68#	gss_release_oid_set.c \
69#	gss_test_oid_set_member.c \
70#	gss_utils.c
71
72CFLAGS+=-I${KRB5DIR}/lib/gssapi
73CFLAGS+=-I${KRB5DIR}/lib/gssapi/krb5
74CFLAGS+=-I${KRB5DIR}/lib/krb5
75CFLAGS+=-I${KRB5DIR}/lib/asn1
76CFLAGS+=-I${KRB5DIR}/lib/roken -I.
77
78.include <bsd.lib.mk>
79
80.PATH: ${KRB5DIR}/lib/gssapi/krb5 ${.CURDIR}/../../../lib/libgssapi
81