xref: /netbsd-src/crypto/external/bsd/openssl/lib/libdefault/Makefile (revision f68d28ccb5df2dfe20ddb2c038cc8840e47295bd)
1#	$NetBSD: Makefile,v 1.6 2023/05/25 15:52:29 riastradh 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#
18LIBISPRIVATE=	yes
19LIB=	default
20USE_FORT?= yes	# cryptographic software
21USE_SHLIBDIR=	no
22USE_FIPS=	no
23#DBG=-g
24
25.include <bsd.own.mk>
26.include <bsd.shlib.mk>
27
28CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
29CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
30CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
31CPPFLAGS+= -I${OPENSSLSRC}/crypto/modes
32CPPFLAGS+= -I${OPENSSLSRC}/../include
33CPPFLAGS+= -I${OPENSSLSRC}/providers/common/include
34CPPFLAGS+= -I${OPENSSLSRC}/providers/implementations/include
35
36CRYPTODIST=	${NETBSDSRCDIR}/crypto
37OPENSSLINC=	${OPENSSLSRC}/include/openssl
38
39.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
40.PATH: ${OPENSSLSRC} ${OPENSSLINC}
41.PATH: ${OPENSSLSRC}/../include/openssl
42.PATH: ${OPENSSLSRC}/providers/implementations/digests
43.PATH: ${OPENSSLSRC}/providers/implementations/macs
44
45.include "srcs.inc"
46
47AFLAGS+=-DELF
48
49OS_VERSION!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
50
51.include <bsd.lib.mk>
52