Skip to content

Commit 252d48b

Browse files
committed
Add a makefile target to extract the Makefile config.
1 parent 323aa5f commit 252d48b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
6565
all: $(OS_LIST)
6666

6767
.PHONY: \
68-
all clean distclean update-patch vars \
68+
all clean distclean update-patch vars config \
6969
$(foreach os,$(OS_LIST),$(os) clean-$(os) dev-clean-$(os) vars-$(os)) \
7070
$(foreach os,$(OS_LIST),$(foreach sdk,$$(sort $$(basename $$(TARGETS-$(os)))),$(sdk) vars-$(sdk)))
7171
$(foreach os,$(OS_LIST),$(foreach target,$$(TARGETS-$(os)),$(target) vars-$(target)))
@@ -642,6 +642,15 @@ vars: $(foreach os,$(OS_LIST),vars-$(os))
642642
@echo "HOST_PYTHON: $(HOST_PYTHON)"
643643
@echo
644644

645+
config:
646+
@echo "PYTHON_VERSION=$(PYTHON_VERSION)"
647+
@echo "PYTHON_VER=$(PYTHON_VER)"
648+
@echo "BUILD_NUMBER=$(BUILD_NUMBER)"
649+
@echo "BZIP2_VERSION=$(BZIP2_VERSION)"
650+
@echo "XZ_VERSION=$(XZ_VERSION)"
651+
@echo "OPENSSL_VERSION=$(OPENSSL_VERSION)"
652+
@echo "LIBFFI_VERSION=$(LIBFFI_VERSION)"
653+
645654
# Expand cross-platform build and clean targets for each output product
646655
clean: $(foreach os,$(OS_LIST),clean-$(os))
647656
dev-clean: $(foreach os,$(OS_LIST),dev-clean-$(os))

0 commit comments

Comments
 (0)