X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fghc-pkg%2FMakefile;h=3c96a137cd7637d9d80e77afc601a88157455faf;hb=c59c053f0b8613dd128297ee0b6eef31f001c498;hp=61e4893d400b37154c9c3c42784d5f1fd2b652f3;hpb=4d7ecf304ab398c4aed110822cd934cb6dc071e3;p=ghc-hetmet.git diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile index 61e4893..3c96a13 100644 --- a/utils/ghc-pkg/Makefile +++ b/utils/ghc-pkg/Makefile @@ -1,19 +1,15 @@ - -TOP=../.. -ENABLE_SHELL_WRAPPERS = YES -EXTRA_CLEAN = Version.hs - -include $(TOP)/mk/boilerplate.mk -include $(TOP)/mk/cabal.mk - -with-bootstrapping-compiler: Version.hs -with-stage-1: Version.hs - -Version.hs: Makefile $(TOP)/mk/config.mk - $(RM) -f Version.hs - echo "module Version where" >> Version.hs - echo "version, targetOS, targetARCH :: String" >> Version.hs - echo "version = \"$(ProjectVersion)\"" >> Version.hs - echo "targetOS = \"$(TargetOS_CPP)\"" >> Version.hs - echo "targetARCH = \"$(TargetArch_CPP)\"" >> Version.hs - +# ----------------------------------------------------------------------------- +# +# (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/ghc-pkg +TOP = ../.. +include $(TOP)/mk/sub-makefile.mk