X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenapply%2FMakefile;h=af57fa1cbde89220d5689cf586922e87f40d1faf;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hp=a017547c700ecbbbc18e0e8a9fdbcb812928d57c;hpb=2de31b61d0a963803eb5632c9659c6093d74f345;p=ghc-hetmet.git diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile index a017547..af57fa1 100644 --- a/utils/genapply/Makefile +++ b/utils/genapply/Makefile @@ -1,33 +1,15 @@ -TOP=../.. -include $(TOP)/mk/boilerplate.mk - -HS_PROG = $(GHC_GENAPPLY_PGM) - -# genapply is needed to boot in rts/... -ifneq "$(BootingFromHc)" "YES" -boot :: all -endif - -ifeq "$(GhcUnregisterised)" "YES" -SRC_HC_OPTS += -DNO_REGS -endif - -ifeq "$(ghc_ge_607)" "YES" -SRC_HC_OPTS += -package pretty -endif - -# Try to get dependencies right... -ifeq "$(ghc_ge_605)" "YES" -SRC_HC_OPTS += -fforce-recomp -else -SRC_HC_OPTS += -no-recomp -endif - -GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h -GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h -GenApply.o : $(GHC_INCLUDE_DIR)/Constants.h - -binary-dist: - @: - -include $(TOP)/mk/target.mk +# ----------------------------------------------------------------------------- +# +# (c) 2009 The University of Glasgow +# +# This file is part of the GHC build system. +# +# To understand how the build system works and how to modify it, see +# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture +# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying +# +# ----------------------------------------------------------------------------- + +dir = utils/genapply +TOP = ../.. +include $(TOP)/mk/sub-makefile.mk