Fix building genprimopcode with GHC 7.0, and remove haskell98 imports
[ghc-hetmet.git] / utils / genprimopcode / 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/genprimopcode_dist_MODULES = Lexer Main ParserM Parser Syntax
14 utils/genprimopcode_dist_PROG    = $(GHC_GENPRIMOP_PGM)
15 utils/genprimopcode_dist_HC_OPTS = -package array
16
17 $(eval $(call build-prog,utils/genprimopcode,dist,0))