X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2FMakefile;h=a6f5f9af2e3218ec0bdb592985a242037589373f;hb=76302ff26e9059846cf2a2f4edb24f03c5ea3740;hp=b4a7ba1c0fac0359d0026277fb987163f73d619a;hpb=93e677f64e39c2398c630d2ddff00b1bff0bf401;p=ghc-hetmet.git diff --git a/utils/Makefile b/utils/Makefile index b4a7ba1..a6f5f9a 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -1,7 +1,7 @@ TOP=.. include $(TOP)/mk/boilerplate.mk -ifneq "$(BIN_DIST_NAME)" "" +ifeq "$(MAKING_BIN_DIST)" "1" # We're doing a binary-dist, descend into a subset of the dirs. SUBDIRS = hp2ps unlit else @@ -22,7 +22,6 @@ ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" SUBDIRS += lndir endif - # Utils that we don't build by default: # nofib-analyse @@ -43,3 +42,10 @@ endif # a Haskell compiler and if you want it. include $(TOP)/mk/target.mk + +# genprimopcode is needed to boot in ghc/compiler... +ifneq "$(BootingFromHc)" "YES" +boot :: + $(MAKE) -C genprimopcode +endif +