1 # -----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.7 2001/12/21 15:07:20 simonmar Exp $
5 include $(TOP)/mk/boilerplate.mk
7 # -----------------------------------------------------------------------------
9 SUBDIRS = cbits include
40 # -----------------------------------------------------------------------------
43 GHC/PrimopWrappers.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt
45 $(GHC_GENPRIMOP) --make-haskell-wrappers < $< > $@
47 boot :: GHC/PrimOpWrappers.hs
49 CLEAN_FILES += GHC/PrimopWrappers.hs
51 # -----------------------------------------------------------------------------
54 #GHC/Prim.$(way_)hi : GHC/Prim.hi-boot
57 #ALL_PRIMS = GHC/Prim.hi $(foreach way, $(WAYS), GHC/Prim.$(way)_hi)
63 #CLEAN_FILES += $(ALL_PRIMS)
65 lib : GHC/Prim.hi-boot
67 SRC_CPP_OPTS += -I$(GHC_INCLUDE_DIR) -traditional
69 # -----------------------------------------------------------------------------
71 include $(TOP)/mk/target.mk