HC = $(GHC_INPLACE)
-ifneq "$(DLLized)" "YES"
-PACKAGE = -package-name std
-else
+# *** THIS WON'T WORK ANY MORE *** (PACKAGE is now set in fptools/mk/target.mk)
+ifeq "$(DLLized)" "YES"
# Hack by SPJ to delay if-then-else until the pattern rule when we have $*
PACKAGE = $(subst ~, ,$(word $(words dummy $(findstring $(notdir $*), PrelMain )), -package-name~std))
endif
-HSLIB = std
+PACKAGE = std
BOOT_SRCS += PrelPrimopWrappers.hs
#-----------------------------------------------------------------------------
# Setting the GHC compile options
-SRC_HC_OPTS += -cpp -fglasgow-exts $(GhcLibHcOpts) $(PACKAGE)
+SRC_HC_OPTS += -cpp -fglasgow-exts $(GhcLibHcOpts)
ifneq "$(ILXized)" "YES"
SRC_HSC2HS_OPTS += -Icbits
endif
ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
# Standard rule
-$(GHCI_LIBRARY) :: $(GHCI_LIBOBJS)
+HSstd.o :: $(GHCI_LIBOBJS)
ld -r -x -o $@ $(GHCI_LIBOBJS)
else
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))
-endif # TARGETPLATFORM = win32
+endif # TARGETPLATFORM = i386-unknown-mingw32
ilxstd:
- (cd //c/devel/fcom/src; make ilxsdk)
- (cd ../../compiler; make)
$(MAKE) way=ilx-Onot-mono std.ilx-Onot.mono.dll std.ilx-Onot.mono.vlb
$(MAKE) way=ilx-O-mono std.ilx-O.mono.dll std.ilx-O.mono.vlb
$(MAKE) way=ilx-Onot-generic std.ilx-Onot.generic.dll