[project @ 2001-01-04 10:48:46 by simonmar]
[ghc-hetmet.git] / ghc / utils / Makefile
index 4455397..0c25b05 100644 (file)
@@ -1,20 +1,25 @@
-TOP=../..
-include $(TOP)/ghc/mk/ghc.mk
+TOP=..
+include $(TOP)/mk/boilerplate.mk
 
+ifneq "$(BIN_DIST_NAME)" ""
+# We're doing a binary-dist, descend into a subset of the dirs.
+SUBDIRS = hp2ps stat2resid unlit
+else
 SUBDIRS = hp2ps                \
-         hscpp         \
-         mkdependHS    \
+         hsc2hs        \
+         parallel      \
          stat2resid    \
-         ugen          \
-         unlit
-#        parallel      \
+         prof          \
+         unlit         \
+         genprimopcode
+endif
 
-#        hstags
-#    not ready to go for 2.01
+# 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
 #  a Haskell compiler and if you want it.
 
-include $(TOP)/mk/subdir.mk
+include $(TOP)/mk/target.mk