diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-17 15:04:20 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-17 15:04:20 +0000 |
commit | d06b357cda38dc4ba0a639e455771ab8ecb498b2 (patch) | |
tree | 84a69ca50087c4a9249650427844beeec4ccc093 /utils/Makefile | |
parent | 5b9164b417bd96a629adb0998796e2f9d2d5d22f (diff) | |
download | haskell-d06b357cda38dc4ba0a639e455771ab8ecb498b2.tar.gz |
Do the building and installing of hsc2hs with the stage1 compiler
Diffstat (limited to 'utils/Makefile')
-rw-r--r-- | utils/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/utils/Makefile b/utils/Makefile index 72bb31a33a..26e751f598 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -3,12 +3,12 @@ include $(TOP)/mk/boilerplate.mk ifeq "$(DOING_BIN_DIST)" "YES" # We're doing a binary-dist, descend into a subset of the dirs. -SUBDIRS = mkdirhier ghc-pkg hasktags hp2ps hsc2hs parallel unlit runghc hpc pwd +SUBDIRS = mkdirhier ghc-pkg hasktags hp2ps parallel unlit runghc hpc pwd else ifeq "$(BootingFromHc)" "YES" SUBDIRS = mkdependC mkdirhier runstdtest genapply genprimopcode ghc-pkg unlit else -SUBDIRS = mkdependC mkdirhier runstdtest ghc-pkg hasktags hp2ps hsc2hs \ +SUBDIRS = mkdependC mkdirhier runstdtest ghc-pkg hasktags hp2ps \ installPackage parallel unlit genprimopcode genapply runghc hpc pwd endif ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" @@ -53,3 +53,14 @@ boot :: $(MAKE) -C genprimopcode endif +boot :: + $(MAKE) -C hsc2hs with-bootstrapping-compiler + +ifneq "$(NO_INSTALL_HSC2HS)" "YES" +all :: + $(MAKE) -C hsc2hs with-stage-1 + +install :: + $(MAKE) -C hsc2hs install +endif + |