NetBSD/lib/libcrypto/bio.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

21 lines
569 B
PHP

# $NetBSD: bio.inc,v 1.6 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/bio/Makefile.ssl
#
.PATH: ${OPENSSLSRC}/crypto/bio
BIO_SRCS = bio_lib.c bio_cb.c bio_err.c \
bss_mem.c bss_null.c bss_fd.c \
bss_file.c bss_sock.c bss_conn.c \
bf_null.c bf_buff.c b_print.c b_dump.c \
b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c bss_dgram.c
SRCS += ${BIO_SRCS}
.for cryptosrc in ${BIO_SRCS}
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/bio
.endfor