[project @ 2003-07-24 13:57:20 by simonmar]
[ghc-hetmet.git] / ghc / utils / Makefile
index ef1bccf..0785d52 100644 (file)
@@ -3,18 +3,22 @@ include $(TOP)/mk/boilerplate.mk
 
 ifneq "$(BIN_DIST_NAME)" ""
 # We're doing a binary-dist, descend into a subset of the dirs.
-SUBDIRS = hp2ps hscpp hstags mkdependHS stat2resid unlit
+SUBDIRS = hp2ps stat2resid unlit
 else
-SUBDIRS = hp2ps                \
-         hscpp         \
-         hstags        \
-         mkdependHS    \
-         parallel      \
-         stat2resid    \
-         unlit
+ifeq "$(BootingFromHc)" "YES"
+SUBDIRS = ghc-pkg genprimopcode unlit
+else
+SUBDIRS = hasktags ghc-pkg hp2ps hsc2hs parallel stat2resid prof unlit genprimopcode genapply
+endif
+endif
 
+ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+SUBDIRS += touchy
 endif
 
+# hstags died when the new parser was introduced.
+#        hstags        \
+
 # "heap-view" is not in the list because (a) it requires
 #  a Haskell compiler (which you may not have yet), and (b) you are
 #  unlikely to want it desperately.  It is easy to build once you have