Propagate BUILDENV into subdirectories.
This commit is contained in:
parent
e476f94212
commit
fe977f7512
1 changed files with 25 additions and 1 deletions
|
@ -52,6 +52,30 @@ top:
|
||||||
|
|
||||||
all: shared
|
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
|
buildinf.h: ../Makefile
|
||||||
( echo "#ifndef MK1MF_BUILD"; \
|
( echo "#ifndef MK1MF_BUILD"; \
|
||||||
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
|
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
|
||||||
|
@ -88,7 +112,7 @@ subdirs:
|
||||||
@for i in $(SDIRS) ;\
|
@for i in $(SDIRS) ;\
|
||||||
do \
|
do \
|
||||||
(cd $$i && echo "making all in crypto/$$i..." && \
|
(cd $$i && echo "making all in crypto/$$i..." && \
|
||||||
$(MAKE) INCLUDES='${INCLUDES}' all ) || exit 1; \
|
$(MAKE) $(BUILDENV) INCLUDES='${INCLUDES}' all ) || exit 1; \
|
||||||
done;
|
done;
|
||||||
|
|
||||||
files:
|
files:
|
||||||
|
|
Loading…
Reference in a new issue