Home | History | Annotate | Line # | Download | only in libcommon
Makefile revision 1.5
      1  1.5  riastrad #	$NetBSD: Makefile,v 1.5 2023/05/25 15:52:28 riastradh Exp $
      2  1.1  christos 
      3  1.1  christos # RCSid:
      4  1.1  christos #	Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
      5  1.1  christos #
      6  1.1  christos #	@(#) Copyright (c) 1994 Simon J. Gerraty
      7  1.1  christos #
      8  1.1  christos #	This file is provided in the hope that it will
      9  1.1  christos #	be of use.  There is absolutely NO WARRANTY.
     10  1.1  christos #	Permission to copy, redistribute or otherwise
     11  1.5  riastrad #	use this file is hereby granted provided that
     12  1.1  christos #	the above copyright notice and this notice are
     13  1.5  riastrad #	left intact.
     14  1.5  riastrad #
     15  1.1  christos #	Please send copies of changes and bug-fixes to:
     16  1.1  christos #	sjg (at] quick.com.au
     17  1.1  christos #
     18  1.2  christos LIBISPRIVATE=	pic
     19  1.1  christos LIB=	common
     20  1.1  christos USE_FORT?= yes	# cryptographic software
     21  1.1  christos USE_SHLIBDIR=	no
     22  1.1  christos USE_FIPS=	no
     23  1.1  christos #DBG=-g
     24  1.1  christos 
     25  1.1  christos .include <bsd.own.mk>
     26  1.1  christos .include <bsd.shlib.mk>
     27  1.1  christos 
     28  1.1  christos CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
     29  1.1  christos CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
     30  1.1  christos CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
     31  1.1  christos CPPFLAGS+= -I${OPENSSLSRC}/crypto/modes
     32  1.1  christos CPPFLAGS+= -I${OPENSSLSRC}/../include
     33  1.1  christos CPPFLAGS+= -I${OPENSSLSRC}/providers/common/include
     34  1.1  christos CPPFLAGS+= -I${OPENSSLSRC}/providers/implementations/include
     35  1.1  christos CPPFLAGS+= -I${.CURDIR}/../libdefault
     36  1.1  christos 
     37  1.1  christos 
     38  1.1  christos CRYPTODIST=	${NETBSDSRCDIR}/crypto
     39  1.1  christos OPENSSLINC=	${OPENSSLSRC}/include/openssl
     40  1.1  christos 
     41  1.1  christos .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
     42  1.1  christos .PATH: ${OPENSSLSRC} ${OPENSSLINC}
     43  1.1  christos .PATH: ${OPENSSLSRC}/../include/openssl
     44  1.1  christos .PATH: ${OPENSSLSRC}/providers/implementations/digests
     45  1.1  christos .PATH: ${OPENSSLSRC}/providers/implementations/macs
     46  1.1  christos 
     47  1.1  christos .include "srcs.inc"
     48  1.1  christos 
     49  1.1  christos AFLAGS+=-DELF
     50  1.1  christos 
     51  1.1  christos OS_VERSION!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
     52  1.1  christos 
     53  1.1  christos .include <bsd.lib.mk>
     54