- generate GHC/Prim.hi from GHC/Prim.hi-boot using ghc --compile-iface
- compile the whole lot with -funbox-strict-fields
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.18 2002/02/17 20:05:35 panne Exp $
+# $Id: Makefile,v 1.19 2002/03/04 17:02:43 simonmar Exp $
TOP=..
include $(TOP)/mk/boilerplate.mk
TOP=..
include $(TOP)/mk/boilerplate.mk
# Per-module flags
# ESSENTIAL, for getting reasonable performance from the I/O library:
# Per-module flags
# ESSENTIAL, for getting reasonable performance from the I/O library:
-GHC/IOBase_HC_OPTS = -funbox-strict-fields
-
-Data/Array/Storable_HC_OPTS = -funbox-strict-fields
+SRC_HC_OPTS += -funbox-strict-fields
# -----------------------------------------------------------------------------
# PrimOpWrappers
# -----------------------------------------------------------------------------
# PrimOpWrappers
# GHC/Prim.hi-boot
GHC/Prim.$(way_)hi : GHC/Prim.hi-boot
# GHC/Prim.hi-boot
GHC/Prim.$(way_)hi : GHC/Prim.hi-boot
+ -$(GHC_INPLACE) --compile-iface $<
ALL_PRIMS = GHC/Prim.hi $(foreach way, $(WAYS), GHC/Prim.$(way)_hi)
INSTALL_DATAS_WITH_DIRS += GHC/Prim.$(way_)hi
ALL_PRIMS = GHC/Prim.hi $(foreach way, $(WAYS), GHC/Prim.$(way)_hi)
INSTALL_DATAS_WITH_DIRS += GHC/Prim.$(way_)hi