-#-----------------------------------------------------------------------------
-# Interface files
-
-# LoopHack.lhc is an SLPJ addition to fix a profiling problem. See comments
-# inside it. (compilation is handled by the suffix rules).
-
-#
-# Building the loop breakers from .lhi (0.2x) or .hi-boot (2.xx) files
-#
-ifeq ($(Ghc2_0),YES)
-
-BOOT_HI_STEMS = $(basename $(wildcard */*.hi-boot))
-
-hi-boot ::
- @for n in $(BOOT_HI_STEMS); \
- do \
- echo Creating $$n.hi ; \
- $(RM) $$n.hi ; \
- $(CP) $$n.hi-boot $$n.hi || ( $(RM) $$n.hi && exit 1 ) ; \
- done
-#
-# Have the collector *Loop.hs interface files be generated just after having
-# created the .hi's from the .hi-boot's.
-
-hi-boot :: $(patsubst %.hs,%.hi,$(LOOPS_HS))
-
-else
-%.hi : %.lhi
- $(RM) $@
- $(UNLIT) $< $@ || ( $(RM) $@ && exit 1 )
- @chmod 444 $@
-endif
-
-boot :: hi-boot