[project @ 2002-01-11 15:32:05 by sof]
[ghc-hetmet.git] / ghc / lib / std / Makefile
index cf7dbb6..7e7acde 100644 (file)
@@ -126,6 +126,8 @@ HSstd.o :: $(GHCI_LIBOBJS)
        $(LD) -r -x -o HSstd1.o $(filter     Prel%, $(GHCI_LIBOBJS))
        $(LD) -r -x -o HSstd2.o $(filter-out Prel%, $(GHCI_LIBOBJS))
        @touch HSstd.o
+
+INSTALL_LIBS += HSstd1.o HSstd2.o
 endif # TARGETPLATFORM = i386-unknown-mingw32
 
 
@@ -189,12 +191,15 @@ PrelGHC.ilx: PrelGHC.ilx.pp
 
 PrelGHC.il: PrelGHC.ilx
 #      sed -e "s/'PrelBase.dll'/'PrelBase.$(way_)o'/g" $< > $@.tmp
-       $(ILX2IL) --module --assembly-name std.dll -o $@ $<
-       $(ILASM) /QUIET /DLL /OUT=$@ $@.il
+       $(ILX2IL) --module --assembly-name std.dll --add-suffix-to-assembly msilxlib --suffix-to-add .mono -o $@ $<
 #      mv $@.tmp $@
 
-std.$(way_)mvl: $(HS_IL)
-       ((ILSDK_HOME=c:\\devel\\fcom $(ILVALID) c:\\devel\\fcom\\bin\\msilxlib$(ilx2il_suffix).ilo $(HS_IL)) 2>&1) | tee $@
+PrelGHC.$(way_)o: PrelGHC.il
+       $(ILASM) /QUIET /DLL /OUT=$@ $<
+
+std.$(way_)mvl: $(HS_IL) PrelGHC.$(way_)o
+       ((ILSDK_HOME=c:\\devel\\fcom $(ILVALID) c:\\devel\\fcom\\bin\\msilxlib.mono.ilo std.dll $(HS_IL)) 2>&1) | tee $@
+# .mono should be $(ilx2il_suffix), but that doesn't work at the moment
 
 std.$(way_)vlb: std.dll
        mkvlb.exe -V -o $@.tmp std
@@ -216,6 +221,3 @@ endif # ILXized
 
 
 include $(TOP)/mk/target.mk
-
-# PrelIO.hsc includes PrelHandle_hsc.h
-PrelIO.hsc : PrelHandle_hsc.h