1# $NetBSD: Makefile,v 1.6 2011/09/23 15:17:31 jruoho Exp $ 2 3.include <bsd.own.mk> 4 5USE_FORT?= yes 6 7LIB=saslc 8SRCS= 9SRCS+= buffer.c 10SRCS+= crypto.c 11SRCS+= dict.c 12SRCS+= error.c 13SRCS+= list.c 14SRCS+= mech.c 15SRCS+= mech_anonymous.c 16SRCS+= mech_crammd5.c 17SRCS+= mech_digestmd5.c 18SRCS+= mech_external.c 19.if (${MKKERBEROS} != "no") 20SRCS+= mech_gssapi.c 21.endif 22SRCS+= mech_login.c 23SRCS+= mech_plain.c 24SRCS+= msg.c 25SRCS+= parser.c 26SRCS+= saslc.c 27SRCS+= xsess.c 28 29COPTS.msg.c = -Wno-format-nonliteral 30 31CPPFLAGS+=-I${EXTDIST}/include 32WARNS?=4 33 34MAN=libsaslc.3 35MLINKS+=libsaslc.3 saslc.d.3 \ 36 libsaslc.3 saslc_alloc.3 \ 37 libsaslc.3 saslc_end.3 \ 38 libsaslc.3 saslc_init.3 \ 39 libsaslc.3 saslc_sess_init.3 \ 40 libsaslc.3 saslc_sess_end.3 \ 41 libsaslc.3 saslc_sess_getprop.3 \ 42 libsaslc.3 saslc_sess_setprop.3 \ 43 libsaslc.3 saslc_sess_cont.3 \ 44 libsaslc.3 saslc_sess_decode.3 \ 45 libsaslc.3 saslc_sess_encode.3 \ 46 libsaslc.3 saslc_sess_getmech.3 \ 47 libsaslc.3 saslc_sess_strerror.3 \ 48 libsaslc.3 saslc_strerror.3 49 50EXTDIST=${.CURDIR}/../dist 51 52.PATH: ${EXTDIST}/include ${EXTDIST}/src ${EXTDIST}/man 53 54INCS+= saslc.h 55INCSDIR=/usr/include 56 57LIBDPLIBS+= ssl ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libssl 58.if (${MKKERBEROS} != "no") 59LIBDPLIBS+= gssapi ${NETBSDSRCDIR}/crypto/external/bsd/heimdal/lib/libgssapi 60.endif 61 62.include <bsd.lib.mk> 63