[project @ 2001-03-23 16:36:20 by simonmar]
[ghc-hetmet.git] / ghc / utils / genprimopcode / Makefile
index c820318..753fd94 100644 (file)
@@ -1,14 +1,15 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.3 2000/10/23 11:08:22 simonmar Exp $
+# $Id: Makefile,v 1.5 2001/03/23 16:36:22 simonmar Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
 HS_PROG        = genprimopcode
-INSTALL_PROGS += $(HS_PROG)
 SRC_HC_OPTS   += -syslib text
 
 # genprimopcode is needed to boot in ghc/compiler...
+ifneq "$(BootingFromHc)" "YES"
 boot :: all
+endif
 
 include $(TOP)/mk/target.mk