Merge commit '7b0b9f603bb1215e2b7af23c2404d637b95a4988' as 'hadrian'
[ghc.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://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
9 # http://ghc.haskell.org/trac/ghc/wiki/Building/Modifying
10 #
11 # -----------------------------------------------------------------------------
12
13 utils/genapply_USES_CABAL = YES
14 utils/genapply_PACKAGE = genapply
15 utils/genapply_dist_PROGNAME = genapply
16 utils/genapply_dist_INSTALL = NO
17 utils/genapply_dist_INSTALL_INPLACE = YES
18
19 ifeq "$(GhcUnregisterised)" "YES"
20 utils/genapply_CONFIGURE_OPTS = --flag unregisterised
21 endif
22
23 $(eval $(call build-prog,utils/genapply,dist,0))