138 lines
3.6 KiB
Makefile
138 lines
3.6 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2006/05/11 23:16:28 mrg Exp $
|
|
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.PATH: ${DIST}/heimdal/lib/gssapi
|
|
|
|
WARNS?= 1
|
|
|
|
LIB= gssapi
|
|
|
|
LIBDPLIBS= crypto ${.CURDIR}/../libcrypto \
|
|
krb5 ${.CURDIR}/../libkrb5 \
|
|
asn1 ${.CURDIR}/../libasn1 \
|
|
roken ${.CURDIR}/../libroken
|
|
|
|
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 \
|
|
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_compat_des3_mic.3 \
|
|
gss_acquire_cred.3 gss_krb5_copy_ccache.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
|
|
|
|
INCS= gssapi.h
|
|
INCSDIR= /usr/include/gssapi
|
|
|
|
ASN1!= cd ${NETBSDSRCDIR}/lib/libasn1 && ${PRINTOBJDIR}
|
|
KRB5!= cd ${NETBSDSRCDIR}/lib/libkrb5 && ${PRINTOBJDIR}
|
|
|
|
CPPFLAGS+= -I. \
|
|
-I${DIST}/heimdal/lib/gssapi \
|
|
-I${ASN1} \
|
|
-I${KRB5} \
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
-I${DIST}/heimdal/lib/com_err \
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
-I${NETBSDSRCDIR}/lib/libroken \
|
|
-I${DIST}/heimdal/lib/roken \
|
|
-DHAVE_CONFIG_H
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
.if ${HAVE_GCC} == 4
|
|
COPTS+= -Wno-pointer-sign
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|