diff options
author | rrt <unknown> | 2000-05-11 12:50:51 +0000 |
---|---|---|
committer | rrt <unknown> | 2000-05-11 12:50:51 +0000 |
commit | 3baf75550726b484e03e69d9378384d8b45f8052 (patch) | |
tree | 37a1c94b1908b75c17d016b3c53742a696ef3a6a | |
parent | 511ec7f33db67d0daa4919bc06043b1e92879318 (diff) | |
download | haskell-3baf75550726b484e03e69d9378384d8b45f8052.tar.gz |
[project @ 2000-05-11 12:50:51 by rrt]
Make gmp DLL in DLL way (wasn't being made at all before).
-rw-r--r-- | ghc/rts/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 3e08742ee8..35e417bdba 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.23 2000/04/28 17:16:10 rrt Exp $ +# $Id: Makefile,v 1.24 2000/05/11 12:50:51 rrt Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -136,6 +136,10 @@ boot :: all :: gmp/libgmp.a +ifeq "$(way)" "dll" +all :: gmp/gmp.dll +endif + install :: gmp/libgmp.a clean :: @@ -180,7 +184,10 @@ endif INSTALL_LIBS += $(LIBRARY) ifeq "$(EnableWin32DLLs)" "YES" INSTALL_PROGS += $(DLL_NAME) gmp/gmp.dll -INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY)) +ifneq "$(way)" "dll" +INSTALL_LIBS += $(patsubst %_imp.a, $(LIBARY)) +endif +INSTALL_LIBS += $(patsubst %.a, $(LIBRARY)) INSTALL_LIBS += gmp/libgmp_imp.a Main.dll_o endif |