NetBSD/lib/libcrypto/ocsp.inc
dsl 0ab764f9ff Don't add every source directory to the -I path.
Instead use CPPFLAGS.file to add the relevant directory for each file.
Removes about 4000000 failed open() system calls from the libcrypto build,
and reduces the compile time (on my system) from 154 seconds to 115 seconds.
The arch/*/*.inc files need similar treatment.
2006-03-17 20:47:45 +00:00

18 lines
471 B
PHP

# $NetBSD: ocsp.inc,v 1.2 2006/03/17 20:47:45 dsl Exp $
#
# @(#) Copyright (c) 1995 Simon J. Gerraty
#
# SRCS extracted from /home/current/src/lib/libcrypto/../../crypto/dist/openssl/crypto/ocsp/Makefile.ssl
#
.PATH: ${OPENSSLSRC}/crypto/ocsp
OCSP_SRCS = ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c
SRCS += ${OCSP_SRCS}
.for cryptosrc in ${OCSP_SRCS}
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/ocsp
.endfor