xref: /netbsd-src/crypto/external/bsd/openssl/lib/libdefault/Makefile (revision f68d28ccb5df2dfe20ddb2c038cc8840e47295bd)
1*f68d28ccSriastradh#	$NetBSD: Makefile,v 1.6 2023/05/25 15:52:29 riastradh Exp $
2782713e6Schristos
3782713e6Schristos# RCSid:
4782713e6Schristos#	Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
5782713e6Schristos#
6782713e6Schristos#	@(#) Copyright (c) 1994 Simon J. Gerraty
7782713e6Schristos#
8782713e6Schristos#	This file is provided in the hope that it will
9782713e6Schristos#	be of use.  There is absolutely NO WARRANTY.
10782713e6Schristos#	Permission to copy, redistribute or otherwise
11782713e6Schristos#	use this file is hereby granted provided that
12782713e6Schristos#	the above copyright notice and this notice are
13782713e6Schristos#	left intact.
14782713e6Schristos#
15782713e6Schristos#	Please send copies of changes and bug-fixes to:
16782713e6Schristos#	sjg@quick.com.au
17782713e6Schristos#
18782713e6SchristosLIBISPRIVATE=	yes
19782713e6SchristosLIB=	default
20782713e6SchristosUSE_FORT?= yes	# cryptographic software
21782713e6SchristosUSE_SHLIBDIR=	no
22782713e6SchristosUSE_FIPS=	no
23782713e6Schristos#DBG=-g
24782713e6Schristos
25782713e6Schristos.include <bsd.own.mk>
26782713e6Schristos.include <bsd.shlib.mk>
27782713e6Schristos
28782713e6SchristosCPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
29782713e6SchristosCPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
30782713e6SchristosCPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
31782713e6SchristosCPPFLAGS+= -I${OPENSSLSRC}/crypto/modes
32782713e6SchristosCPPFLAGS+= -I${OPENSSLSRC}/../include
3338cbfbd6SchristosCPPFLAGS+= -I${OPENSSLSRC}/providers/common/include
3438cbfbd6SchristosCPPFLAGS+= -I${OPENSSLSRC}/providers/implementations/include
35782713e6Schristos
36782713e6SchristosCRYPTODIST=	${NETBSDSRCDIR}/crypto
37782713e6SchristosOPENSSLINC=	${OPENSSLSRC}/include/openssl
38782713e6Schristos
39782713e6Schristos.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
40782713e6Schristos.PATH: ${OPENSSLSRC} ${OPENSSLINC}
41782713e6Schristos.PATH: ${OPENSSLSRC}/../include/openssl
42782713e6Schristos.PATH: ${OPENSSLSRC}/providers/implementations/digests
43782713e6Schristos.PATH: ${OPENSSLSRC}/providers/implementations/macs
44782713e6Schristos
45782713e6Schristos.include "srcs.inc"
46782713e6Schristos
47782713e6SchristosAFLAGS+=-DELF
48782713e6Schristos
49782713e6SchristosOS_VERSION!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
50782713e6Schristos
51782713e6Schristos.include <bsd.lib.mk>
52