X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;h=4f8c669f2dac7ade4b5fa185c55c21f33e208b19;hb=491f66f835964bbcfa8f7acf46bc2bd1443be679;hp=8e7443eee8619aee199d192910c91540fd31df8a;hpb=ebc0a34ae9e5d91b623c22259c7816c7f7a302c5;p=ghc-hetmet.git diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 8e7443e..4f8c669 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,4 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.75 2002/08/09 22:13:51 sof Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -21,7 +20,7 @@ TOP=.. # set of suffix rules for compiling C code, using $(HC) rather than $(CC) # and prepending "-optc" to $(CC_OPTS). NB. must be done before including # boilerplate.mk below. -UseGhcForCc = $(shell if (test "x$(BootingFromHc)" = "xYES"); then echo YES; else echo NO; fi) +UseGhcForCc = $(shell if (test "x$(BootingFromHc)" = "xYES"); then echo NO; else echo YES; fi) include $(TOP)/mk/boilerplate.mk @@ -178,6 +177,7 @@ endif # and not worth re-implementing in our Makefile framework. ifneq "$(HaveLibGmp)" "YES" +ifneq "$(HaveFrameworkHaskellSupport)" "YES" ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" boot :: cd gmp && ./configure --enable-shared=no \ @@ -209,6 +209,7 @@ clean distclean maintainer-clean :: INSTALL_LIBS += gmp/libgmp.a endif +endif gmp/libgmp.a :: $(MAKE) -C gmp MAKEFLAGS=