fix haddock submodule pointer
[ghc-hetmet.git] / utils / genapply / ghc.mk
1 # -----------------------------------------------------------------------------
2 #
3 # (c) 2009 The University of Glasgow
4 #
5 # This file is part of the GHC build system.
6 #
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
10 #
11 # -----------------------------------------------------------------------------
12
13 utils/genapply_dist_MODULES = GenApply
14 utils/genapply_dist_PROG    = $(GHC_GENAPPLY_PGM)
15
16 utils/genapply_HC_OPTS += -package pretty
17
18 ifeq "$(GhcUnregisterised)" "YES"
19 utils/genapply_HC_OPTS += -DNO_REGS
20 endif
21
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
25
26 $(eval $(call build-prog,utils/genapply,dist,0))