diff options
author | Ben Laurie <ben@openssl.org> | 2005-05-21 16:13:36 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-05-21 16:13:36 +0000 |
commit | fe977f75129f4e1b4ad08fab837fa2d90893ed07 (patch) | |
tree | 249b89b2de1fc87d47f007aec4a3efa44beaada6 | |
parent | e476f9421288aedee52a65ec813c7683ff0ccf5f (diff) | |
download | openssl-fe977f75129f4e1b4ad08fab837fa2d90893ed07.tar.gz |
Propagate BUILDENV into subdirectories.
-rw-r--r-- | crypto/Makefile | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index c6c76c26ac..1322b72a39 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -52,6 +52,30 @@ top: all: shared +BUILDENV= PLATFORM='${PLATFORM}' PROCESSOR='${PROCESSOR}' \ + CC='${CC}' CFLAG='${CFLAG}' \ + AS='${CC}' ASFLAG='${CFLAG} -c' \ + AR='${AR}' PERL='${PERL}' RANLIB='${RANLIB}' \ + SDIRS='$(SDIRS)' LIBRPATH='$(INSTALLTOP)/lib' \ + INSTALLTOP='${INSTALLTOP}' OPENSSLDIR='${OPENSSLDIR}' \ + MAKEDEPEND='$$(TOP)/util/domd $$(TOP) -MD $(MAKEDEPPROG)'\ + DEPFLAG='-DOPENSSL_NO_DEPRECATED ${DEPFLAG}' \ + MAKEDEPPROG='${MAKEDEPPROG}' \ + LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \ + KRB5_INCLUDES='${KRB5_INCLUDES}' LIBKRB5='${LIBKRB5}' \ + EXE_EXT='${EXE_EXT}' SHARED_LIBS='${SHARED_LIBS}' \ + SHLIB_EXT='${SHLIB_EXT}' SHLIB_TARGET='${SHLIB_TARGET}' \ + PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' \ + CPUID_OBJ='${CPUID_OBJ}' \ + BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' \ + AES_ASM_OBJ='${AES_ASM_OBJ}' \ + BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' \ + RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' \ + SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' \ + MD5_ASM_OBJ='${MD5_ASM_OBJ}' \ + RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' \ + THIS=$${THIS:-$@} + buildinf.h: ../Makefile ( echo "#ifndef MK1MF_BUILD"; \ echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \ @@ -88,7 +112,7 @@ subdirs: @for i in $(SDIRS) ;\ do \ (cd $$i && echo "making all in crypto/$$i..." && \ - $(MAKE) INCLUDES='${INCLUDES}' all ) || exit 1; \ + $(MAKE) $(BUILDENV) INCLUDES='${INCLUDES}' all ) || exit 1; \ done; files: |