# There are other plausible designs that might work, but each has different
# problems:
#
-# - using -odir and -hidir: GHC <= 4.08 doesn't support -hidir, and
-# anyway -odir puts all the objects in one directory (strips off the
+# - using -odir and -hidir:
+# -odir puts all the objects in one directory (strips off the
# subdirectory part), which eventually forces us to use VPATH to find
# the sources. I have a really bad feeling about VPATH.
#
@echo "cGHC_CP = \"$(GHC_CP)\"" >> $(CONFIG_HS)
@echo "cGHC_PERL :: String" >> $(CONFIG_HS)
@echo "cGHC_PERL = \"$(GHC_PERL)\"" >> $(CONFIG_HS)
-ifeq ($(GhcWithIlx),YES)
- @echo "cILX2IL :: String" >> $(CONFIG_HS)
- @echo "cILX2IL = \"$(ILX2IL)\"" >> $(CONFIG_HS)
- @echo "cILASM :: String" >> $(CONFIG_HS)
- @echo "cILASM = \"$(ILASM)\"" >> $(CONFIG_HS)
-endif
@echo "cEnableWin32DLLs :: String" >> $(CONFIG_HS)
@echo "cEnableWin32DLLs = \"$(EnableWin32DLLs)\"" >> $(CONFIG_HS)
@echo "cCONTEXT_DIFF :: String" >> $(CONFIG_HS)
SRC_HC_OPTS += -DOMIT_NATIVE_CODEGEN
endif
-ifeq ($(GhcWithIlx),YES)
-ALL_DIRS += ilxGen
-SRC_HC_OPTS += -DILX
-endif
-
-ifeq ($(GhcWithJavaGen),YES)
-ALL_DIRS += javaGen
-SRC_HC_OPTS += -DJAVA
-endif
-
ifeq "$(BootingFromHc)" "YES"
# HC files are always from a self-booted compiler
bootstrapped = YES