[project @ 2003-08-05 07:25:56 by panne]
[ghc-hetmet.git] / ghc / utils / Makefile
index 9462710..6ba0b79 100644 (file)
@@ -5,14 +5,15 @@ ifneq "$(BIN_DIST_NAME)" ""
 # We're doing a binary-dist, descend into a subset of the dirs.
 SUBDIRS = hp2ps stat2resid unlit
 else
-SUBDIRS = ghc-pkg      \
-         hp2ps         \
-         hsc2hs        \
-         parallel      \
-         stat2resid    \
-         prof          \
-         unlit         \
-         genprimopcode
+ifeq "$(BootingFromHc)" "YES"
+SUBDIRS = genapply genprimopcode ghc-pkg 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.