X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;h=9dbf2be86933d829196fc0308e0ab4d287bd0778;hb=7185a7c33692e7b8f01a6557a34d68225501e54b;hp=89e031afda7f279e6be98cd2fc63593554ed7c35;hpb=5552a779a176395310d370651b995eae6578f69c;p=ghc-hetmet.git diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 89e031a..9dbf2be 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.28 2000/06/23 14:01:09 rrt Exp $ +# $Id: Makefile,v 1.31 2000/07/31 10:12:19 simonmar Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -99,8 +99,8 @@ DLL_NAME = HSrts.dll ifeq "$(way)" "dll" DLL_IMPLIB_NAME = libHSrts_imp.a -SRC_BLD_DLL_OPTS += --output-def=HSrts.def --export-all -lwinmm \ - -lHS_imp_stub -lgmp -L. -Lgmp +SRC_BLD_DLL_OPTS += --output-def=HSrts.def --export-all -L. -Lgmp -lwinmm \ + -lHS_imp_stub -lgmp_imp # # Need an import library containing the symbols the RTS uses from the Prelude. @@ -135,13 +135,17 @@ boot :: cd gmp && ./configure --target=$(HOSTPLATFORM) # Slight cheatage here to past host as target, but x-compilation isn't supported by ghc. +# make sure the various configure files are included in a source dist. +SRC_DIST_FILES += gmp/configure gmp/mpn/configure gmp/mpz/configure + all :: gmp/libgmp.a ifeq "$(way)" "dll" -all :: gmp/gmp.dll +all :: $(DLL_PEN)/gmp.dll -gmp/gmp.dll: +$(DLL_PEN)/gmp.dll: make -C gmp gmp.dll + mv gmp/gmp.dll $(DLL_PEN) endif install :: gmp/libgmp.a