summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-04-10 22:00:15 +0000
committerIan Lynagh <igloo@earth.li>2007-04-10 22:00:15 +0000
commit03ffa2bfa6c31dc6bcdcacecc2bdb3bbabd800a9 (patch)
tree6ff10cf39db4e52906fde2582c6898d8981db737 /utils/Makefile
parent6c53f40f3dd84cc91a8e6850dbfb271cb24db89a (diff)
downloadhaskell-03ffa2bfa6c31dc6bcdcacecc2bdb3bbabd800a9.tar.gz
Replace genprimopcode's parsec parser with an alex+happy parser
This use was the only thing keeping parsec in core-packages, and we already have a dependency on alex+happy anyway.
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index b4a7ba1c0f..b5a14af6ee 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -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
+