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
SUBDIRS += lndir
endif
-
# Utils that we don't build by default:
# nofib-analyse
# 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
+