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.
25 lines
675 B
PHP
25 lines
675 B
PHP
# $NetBSD: des.inc,v 1.10 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/des/Makefile.ssl
|
|
#
|
|
|
|
.PATH: ${OPENSSLSRC}/crypto/des
|
|
|
|
|
|
DES_SRCS = cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
|
|
ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
|
|
fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
|
|
qud_cksm.c rand_key.c rpc_enc.c set_key.c \
|
|
des_enc.c fcrypt_b.c \
|
|
xcbc_enc.c \
|
|
str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c \
|
|
read2pwd.c
|
|
# des_old.c des_old2.c
|
|
SRCS += ${DES_SRCS}
|
|
|
|
.for cryptosrc in ${DES_SRCS}
|
|
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/des
|
|
.endfor
|