[project @ 2005-03-10 14:03:28 by simonmar]
[ghc-hetmet.git] / ghc / utils / Makefile
index 7477cbd..7348160 100644 (file)
@@ -3,14 +3,17 @@ include $(TOP)/mk/boilerplate.mk
 
 ifneq "$(BIN_DIST_NAME)" ""
 # We're doing a binary-dist, descend into a subset of the dirs.
-SUBDIRS = hp2ps mkdependHS stat2resid unlit
+SUBDIRS = hp2ps stat2resid unlit
 else
-SUBDIRS = hp2ps                \
-         mkdependHS    \
-         parallel      \
-         stat2resid    \
-         prof          \
-         unlit
+ifeq "$(BootingFromHc)" "YES"
+SUBDIRS = genapply genprimopcode ghc-pkg unlit
+else
+SUBDIRS = hasktags ghc-pkg hp2ps hsc2hs parallel stat2resid prof unlit genprimopcode genapply runghc
+endif
+endif
+
+ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+SUBDIRS += touchy
 endif
 
 # hstags died when the new parser was introduced.