summaryrefslogtreecommitdiff
path: root/lib/libgssapi/Makefile
blob: 93e5b785caa813f4887baa450d9287e9ef0e7d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# $OpenBSD: Makefile,v 1.8 2005/11/24 20:49:18 deraadt Exp $

KRB5DIR	= ${.CURDIR}/../../kerberosV
.include <${.CURDIR}/../libkrb5/Makefile.common.inc>

LIB=	gssapi
WANTLINT=

DIR_GSSAPI=	${KRB5SRC}/lib/gssapi
HDR_GSSAPI=	gssapi.h

includes:
	@echo -n ${DIR_GSSAPI}:; \
	cd ${DIR_GSSAPI}; for i in ${HDR_GSSAPI}; do \
		echo -n " $$i"; \
		cmp -s $$i ${DESTDIR}/usr/include/kerberosV/$$i || \
			${INSTALL} ${INSTALL_COPY} -m 444 \
			-o ${BINOWN} -g $(BINGRP) $$i \
			${DESTDIR}/usr/include/kerberosV; done; \
		echo

SRCS=	8003.c			\
	accept_sec_context.c	\
	acquire_cred.c		\
	add_cred.c		\
	add_oid_set_member.c	\
	arcfour.c		\
	canonicalize_name.c	\
	compare_name.c		\
	compat.c		\
	context_time.c		\
	copy_ccache.c		\
	create_emtpy_oid_set.c	\
	decapsulate.c		\
	delete_sec_context.c	\
	display_name.c		\
	display_status.c	\
	duplicate_name.c	\
	encapsulate.c		\
	export_sec_context.c	\
	export_name.c		\
	external.c		\
	get_mic.c		\
	gssapi.h		\
	gssapi_locl.h		\
	import_name.c		\
	import_sec_context.c	\
	indicate_mechs.c	\
	init.c			\
	init_sec_context.c	\
	inquire_context.c	\
	inquire_cred.c		\
	inquire_cred_by_mech.c	\
	inquire_mechs_for_name.c \
	inquire_names_for_mech.c \
	release_buffer.c	\
	release_cred.c		\
	release_name.c		\
	release_oid_set.c	\
	process_context_token.c \
	test_oid_set_member.c	\
	unwrap.c		\
	v1.c			\
	verify_mic.c		\
        wrap.c                  \
        address_to_krb5addr.c

MAN+=	gssapi.3

MAN+=	gss_acquire_cred.3
MLINKS+=gss_acquire_cred.3 gss_accept_sec_context.3 \
	gss_acquire_cred.3 gss_add_cred.3 \
	gss_acquire_cred.3 gss_add_oid_set_member.3 \
	gss_acquire_cred.3 gss_canonicalize_name.3 \
	gss_acquire_cred.3 gss_compare_name.3 \
	gss_acquire_cred.3 gss_context_time.3 \
	gss_acquire_cred.3 gss_create_empty_oid_set.3 \
	gss_acquire_cred.3 gss_delete_sec_context.3 \
	gss_acquire_cred.3 gss_display_name.3 \
	gss_acquire_cred.3 gss_display_status.3 \
	gss_acquire_cred.3 gss_duplicate_name.3 \
	gss_acquire_cred.3 gss_export_name.3 \
	gss_acquire_cred.3 gss_export_sec_context.3 \
	gss_acquire_cred.3 gss_get_mic.3 \
	gss_acquire_cred.3 gss_import_name.3 \
	gss_acquire_cred.3 gss_import_sec_context.3 \
	gss_acquire_cred.3 gss_indicate_mechs.3 \
	gss_acquire_cred.3 gss_init_sec_context.3 \
	gss_acquire_cred.3 gss_inquire_context.3 \
	gss_acquire_cred.3 gss_inquire_cred.3 \
	gss_acquire_cred.3 gss_inquire_cred_by_mech.3 \
	gss_acquire_cred.3 gss_inquire_mechs_for_name.3 \
	gss_acquire_cred.3 gss_inquire_names_for_mech.3 \
	gss_acquire_cred.3 gss_krb5_copy_ccache.3 \
	gss_acquire_cred.3 gss_krb5_compat_des3_mic.3 \
	gss_acquire_cred.3 gss_process_context_token.3 \
	gss_acquire_cred.3 gss_release_buffer.3 \
	gss_acquire_cred.3 gss_release_cred.3 \
	gss_acquire_cred.3 gss_release_name.3 \
	gss_acquire_cred.3 gss_release_oid_set.3 \
	gss_acquire_cred.3 gss_seal.3 \
	gss_acquire_cred.3 gss_sign.3 \
	gss_acquire_cred.3 gss_test_oid_set_member.3 \
	gss_acquire_cred.3 gss_unseal.3 \
	gss_acquire_cred.3 gss_unwrap.3 \
	gss_acquire_cred.3 gss_verify.3 \
	gss_acquire_cred.3 gss_verify_mic.3 \
	gss_acquire_cred.3 gss_wrap.3 \
	gss_acquire_cred.3 gss_wrap_size_limit.3

.PATH:	${KRB5SRC}/lib/gssapi
CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/ \
	-I${KRB5SRC}/lib/asn1 -I. \
	-DSHA1_CTX=SHA_CTX

.include <bsd.lib.mk>