1 # -----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.10 2002/02/06 11:51:12 simonmar Exp $
5 include $(TOP)/mk/boilerplate.mk
7 # -----------------------------------------------------------------------------
9 SUBDIRS = cbits include
41 # -----------------------------------------------------------------------------
44 GHC/PrimopWrappers.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt
46 $(GHC_GENPRIMOP) --make-haskell-wrappers < $< > $@
48 boot :: GHC/PrimopWrappers.hs
50 CLEAN_FILES += GHC/PrimopWrappers.hs
52 # -----------------------------------------------------------------------------
55 GHC/Prim.$(way_)hi : GHC/Prim.hi-boot
58 ALL_PRIMS = GHC/Prim.hi $(foreach way, $(WAYS), GHC/Prim.$(way)_hi)
64 CLEAN_FILES += $(ALL_PRIMS)
66 SRC_CPP_OPTS += -I$(GHC_INCLUDE_DIR) -traditional
68 # -----------------------------------------------------------------------------
70 include $(TOP)/mk/target.mk