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.
17 lines
417 B
PHP
17 lines
417 B
PHP
# $NetBSD: cast.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/cast/Makefile.ssl
|
|
#
|
|
|
|
.PATH: ${OPENSSLSRC}/crypto/cast
|
|
|
|
|
|
CAST_SRCS = c_skey.c c_ecb.c c_enc.c c_cfb64.c c_ofb64.c
|
|
SRCS += ${CAST_SRCS}
|
|
|
|
.for cryptosrc in ${CAST_SRCS}
|
|
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/cast
|
|
.endfor
|