summaryrefslogtreecommitdiff
path: root/gmp
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-11-25 21:19:19 +0000
committerIan Lynagh <igloo@earth.li>2007-11-25 21:19:19 +0000
commit8612b9a9f60161f65e656f65df8b679008911b3a (patch)
tree0adc4f95162bfb38afe6c26b79037a5689b563dd /gmp
parente1cf7f788fe0e6ff984627641cfde2c17999de5d (diff)
downloadhaskell-8612b9a9f60161f65e656f65df8b679008911b3a.tar.gz
Copy gmp stamps into bindists, so we don't try and rebuild gmp
Diffstat (limited to 'gmp')
-rw-r--r--gmp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gmp/Makefile b/gmp/Makefile
index b3b8104d8a..ab661d9f13 100644
--- a/gmp/Makefile
+++ b/gmp/Makefile
@@ -45,18 +45,18 @@ BUILD_SHARED=no
endif
boot :: stamp.gmp.static
+BINDIST_STAMPS = stamp.gmp.static
INSTALL_HEADERS += gmp.h
INSTALL_LIBS += libgmp.a
ifeq "$(BUILD_SHARED)" "yes"
boot :: stamp.gmp.shared
+BINDIST_STAMPS += stamp.gmp.shared
INSTALL_LIBS += libgmp.dll.a
INSTALL_PROGS += libgmp-3.dll
endif
-ifneq "$(DOING_BIN_DIST)" "YES"
install all :: $(INSTALL_HEADERS) $(INSTALL_LIBS) $(INSTALL_PROGS)
-endif
stamp.gmp.static:
$(RM) -rf $(GMP_DIR) gmpbuild
@@ -120,6 +120,7 @@ binary-dist:
$(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/gmp/
ifneq "$(HaveLibGmp)" "YES"
ifneq "$(HaveFrameworkGMP)" "YES"
+ $(INSTALL_DATA) $(BINDIST_STAMPS) $(BIN_DIST_DIR)/gmp/
ifneq "$(INSTALL_PROGS)" ""
$(INSTALL_DATA) $(INSTALL_PROGS) $(BIN_DIST_DIR)/gmp/
endif