$(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
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
include $(TOP)/mk/target.mk
-
-# PrelIO.hsc includes PrelHandle_hsc.h
-PrelIO.hsc : PrelHandle_hsc.h