Lionel Sambuc ebfedea0ce Importing crypto libraries
- crypto/external/bsd/heimdal
 - crypto/external/bsd/libsaslc
 - crypto/external/bsd/netpgp
 - crypto/external/bsd/openssl

Change-Id: I91dbf05f33e637edf5b9bb408d5baddd7ba8cf75
2015-10-07 23:37:12 +02:00

64 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2013/09/11 23:04:09 joerg Exp $
.include <bsd.own.mk>
USE_FORT?= yes
LIB=saslc
SRCS=
SRCS+= buffer.c
SRCS+= crypto.c
SRCS+= dict.c
SRCS+= error.c
SRCS+= list.c
SRCS+= mech.c
SRCS+= mech_anonymous.c
SRCS+= mech_crammd5.c
SRCS+= mech_digestmd5.c
SRCS+= mech_external.c
.if (${MKKERBEROS} != "no")
SRCS+= mech_gssapi.c
.endif
SRCS+= mech_login.c
SRCS+= mech_plain.c
SRCS+= msg.c
SRCS+= parser.c
SRCS+= saslc.c
SRCS+= xsess.c
COPTS.msg.c = -Wno-format-nonliteral
CPPFLAGS+=-I${EXTDIST}/include
WARNS?=4
MAN=libsaslc.3
MLINKS+=libsaslc.3 saslc.d.3 \
libsaslc.3 saslc_alloc.3 \
libsaslc.3 saslc_end.3 \
libsaslc.3 saslc_init.3 \
libsaslc.3 saslc_sess_init.3 \
libsaslc.3 saslc_sess_end.3 \
libsaslc.3 saslc_sess_getprop.3 \
libsaslc.3 saslc_sess_setprop.3 \
libsaslc.3 saslc_sess_cont.3 \
libsaslc.3 saslc_sess_decode.3 \
libsaslc.3 saslc_sess_encode.3 \
libsaslc.3 saslc_sess_getmech.3 \
libsaslc.3 saslc_sess_strerror.3 \
libsaslc.3 saslc_strerror.3
EXTDIST=${.CURDIR}/../dist
.PATH: ${EXTDIST}/include ${EXTDIST}/src ${EXTDIST}/man
INCS+= saslc.h
INCSDIR=/usr/include
LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto
LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libssl
.if (${MKKERBEROS} != "no")
LIBDPLIBS+= gssapi ${NETBSDSRCDIR}/crypto/external/bsd/heimdal/lib/libgssapi
.endif
.include <bsd.lib.mk>