0ab764f9ff
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.
18 lines
483 B
PHP
18 lines
483 B
PHP
# $NetBSD: pem.inc,v 1.5 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/pem/Makefile.ssl
|
|
#
|
|
|
|
.PATH: ${OPENSSLSRC}/crypto/pem
|
|
|
|
|
|
PEM_SRCS = pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c pem_err.c \
|
|
pem_x509.c pem_xaux.c pem_oth.c pem_pk8.c pem_pkey.c
|
|
SRCS += ${PEM_SRCS}
|
|
|
|
.for cryptosrc in ${PEM_SRCS}
|
|
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/pem
|
|
.endfor
|