1 # $NetBSD: Makefile,v 1.1 2025/07/17 14:26:09 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 (at] quick.com.au 17 # 18 LIBISPRIVATE= yes 19 LIB= default 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/fips/include 35 CPPFLAGS+= -I${OPENSSLSRC}/providers/implementations/include 36 37 CRYPTODIST= ${NETBSDSRCDIR}/crypto 38 OPENSSLINC= ${OPENSSLSRC}/include/openssl 39 40 .include "${NETBSDSRCDIR}/crypto/Makefile.openssl" 41 .PATH: ${OPENSSLSRC} ${OPENSSLINC} 42 .PATH: ${OPENSSLSRC}/../include/openssl 43 .PATH: ${OPENSSLSRC}/providers/implementations/digests 44 .PATH: ${OPENSSLSRC}/providers/implementations/macs 45 46 .include "srcs.inc" 47 48 AFLAGS+=-DELF 49 50 OS_VERSION!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh 51 52 .include <bsd.lib.mk> 53