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