From: simonmar Date: Wed, 23 Jul 2003 15:39:54 +0000 (+0000) Subject: [project @ 2003-07-23 15:39:54 by simonmar] X-Git-Tag: nhc98-1-18-release~581 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=6096198cd629bddb79f902d11b92cb64b28c1a79;p=haskell-directory.git [project @ 2003-07-23 15:39:54 by simonmar] GHC/PrimopWrappers.hs fix for BootingFromHc --- diff --git a/Makefile b/Makefile index 72446d9..1edfbb2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.43 2003/05/30 09:19:39 simonpj Exp $ +# $Id: Makefile,v 1.44 2003/07/23 15:39:54 simonmar Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -57,9 +57,14 @@ SRC_HC_OPTS += -funbox-strict-fields # ----------------------------------------------------------------------------- # PrimOpWrappers +ifeq "$(BootingFromHc)" "YES" +GHC/PrimopWrappers.hs: + touch GHC/PrimopWrappers.hs +else GHC/PrimopWrappers.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt @$(RM) $@ $(GHC_GENPRIMOP) --make-haskell-wrappers < $< > $@ +endif boot :: GHC/PrimopWrappers.hs