1# $NetBSD: Makefile,v 1.9 2018/03/02 13:26:40 christos Exp $ 2 3# RCSid: 4# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp 5# 6# @(#) Copyright (c) 1994 Simon J. Gerraty 7# 8# This file is provided in the hope that it will 9# be of use. There is absolutely NO WARRANTY. 10# Permission to copy, redistribute or otherwise 11# use this file is hereby granted provided that 12# the above copyright notice and this notice are 13# left intact. 14# 15# Please send copies of changes and bug-fixes to: 16# sjg@quick.com.au 17# 18 19.include <bsd.own.mk> 20 21USE_FORT?=yes # cryptographic software and network library 22 23# XXX There's a bit of work to do before we can enable warnings. 24WARNS=0 25CWARNFLAGS.clang+= -Wno-unused-value 26 27LIB= ssl 28CPPFLAGS+= -Dlib${LIB} -I${OPENSSLSRC} -I${OPENSSLSRC}/crypto 29CPPFLAGS+= -I${OPENSSLSRC}/include 30 31CRYPTODIST= ${NETBSDSRCDIR}/crypto 32 33.include "${NETBSDSRCDIR}/crypto/Makefile.openssl" 34.PATH: ${OPENSSLSRC} ${OPENSSLSRC}/crypto/pqueue ${OPENSSLSRC}/include/openssl 35 36.include "srcs.inc" 37 38LIBDPLIBS+=crypto ${.CURDIR}/../libcrypto 39 40AFLAGS+=-DELF 41 42# This is from the include/openssl directory; see ../libcrypto/Makefile 43INCS= dtls1.h ssl.h ssl2.h ssl3.h tls1.h srtp.h async.h 44INCSDIR=/usr/include/openssl 45 46LDFLAGS+=-Wl,--version-script=${.CURDIR}/ssl.map 47 48PKGCONFIG=libssl openssl 49.include "${.CURDIR}/../../pkgconfig.mk" 50 51.include <bsd.lib.mk> 52