1 # -----------------------------------------------------------------------------
3 # (c) 2009 The University of Glasgow
5 # This file is part of the GHC build system.
7 # To understand how the build system works and how to modify it, see
8 # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
9 # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
11 # -----------------------------------------------------------------------------
13 utils/genapply_dist_MODULES = GenApply
14 utils/genapply_dist_PROG = $(GHC_GENAPPLY_PGM)
16 utils/genapply_HC_OPTS += -package pretty
18 ifeq "$(GhcUnregisterised)" "YES"
19 utils/genapply_HC_OPTS += -DNO_REGS
22 utils/genapply/GenApply.hs : $(GHC_INCLUDE_DIR)/ghcconfig.h
23 utils/genapply/GenApply.hs : $(GHC_INCLUDE_DIR)/MachRegs.h
24 utils/genapply/GenApply.hs : $(GHC_INCLUDE_DIR)/Constants.h
26 $(eval $(call build-prog,utils/genapply,dist,0))