Commit 8612b9a9 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Copy gmp stamps into bindists, so we don't try and rebuild gmp

parent e1cf7f78
...@@ -45,18 +45,18 @@ BUILD_SHARED=no ...@@ -45,18 +45,18 @@ BUILD_SHARED=no
endif endif
boot :: stamp.gmp.static boot :: stamp.gmp.static
BINDIST_STAMPS = stamp.gmp.static
INSTALL_HEADERS += gmp.h INSTALL_HEADERS += gmp.h
INSTALL_LIBS += libgmp.a INSTALL_LIBS += libgmp.a
ifeq "$(BUILD_SHARED)" "yes" ifeq "$(BUILD_SHARED)" "yes"
boot :: stamp.gmp.shared boot :: stamp.gmp.shared
BINDIST_STAMPS += stamp.gmp.shared
INSTALL_LIBS += libgmp.dll.a INSTALL_LIBS += libgmp.dll.a
INSTALL_PROGS += libgmp-3.dll INSTALL_PROGS += libgmp-3.dll
endif endif
ifneq "$(DOING_BIN_DIST)" "YES"
install all :: $(INSTALL_HEADERS) $(INSTALL_LIBS) $(INSTALL_PROGS) install all :: $(INSTALL_HEADERS) $(INSTALL_LIBS) $(INSTALL_PROGS)
endif
stamp.gmp.static: stamp.gmp.static:
$(RM) -rf $(GMP_DIR) gmpbuild $(RM) -rf $(GMP_DIR) gmpbuild
...@@ -120,6 +120,7 @@ binary-dist: ...@@ -120,6 +120,7 @@ binary-dist:
$(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/gmp/ $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/gmp/
ifneq "$(HaveLibGmp)" "YES" ifneq "$(HaveLibGmp)" "YES"
ifneq "$(HaveFrameworkGMP)" "YES" ifneq "$(HaveFrameworkGMP)" "YES"
$(INSTALL_DATA) $(BINDIST_STAMPS) $(BIN_DIST_DIR)/gmp/
ifneq "$(INSTALL_PROGS)" "" ifneq "$(INSTALL_PROGS)" ""
$(INSTALL_DATA) $(INSTALL_PROGS) $(BIN_DIST_DIR)/gmp/ $(INSTALL_DATA) $(INSTALL_PROGS) $(BIN_DIST_DIR)/gmp/
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment