This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
commit cae7509c204dc36f2a41cc14759008af1f25ca79 Author: Sebb <s...@apache.org> AuthorDate: Sat Oct 28 11:59:05 2023 +0100 Add target to show settings [skip ci] --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index af230130..00dac6dc 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,10 @@ endif NATIVE_TARGET_DIR:=$(TARGET)/classes/org/apache/commons/crypto/native/$(OS_NAME)/$(OS_ARCH) NATIVE_DLL:=$(NATIVE_TARGET_DIR)/$(LIBNAME) -all: $(NATIVE_DLL) +all: show $(NATIVE_DLL) + +show: + @echo "=== OS_NAME=$(OS_NAME) OS_ARCH=$(OS_ARCH) os_arch=$(os_arch) ===" $(TARGET)/jni-classes/org/apache/commons/crypto/cipher/OpenSslNative.h: $(TARGET)/classes/org/apache/commons/crypto/cipher/OpenSslNative.class $(JAVAH) -force -classpath $(TARGET)/classes -o $@ org.apache.commons.crypto.cipher.OpenSslNative @@ -74,7 +77,7 @@ clean: $(DELTREE) $(subst /,$(FSEP),$(TARGET)/jni-classes) $(DELTREE) $(subst /,$(FSEP),$(COMMONS_CRYPTO_OUT)) -native: $(NATIVE_DLL) +native: show $(NATIVE_DLL) $(NATIVE_DLL): $(COMMONS_CRYPTO_OUT)/$(LIBNAME) @mkdir -p $(@D)