Reorganisation of the source tree
[ghc-hetmet.git] / utils / Makefile
1 TOP=..
2 include $(TOP)/mk/boilerplate.mk
3
4 ifneq "$(BIN_DIST_NAME)" ""
5 # We're doing a binary-dist, descend into a subset of the dirs.
6 SUBDIRS = hp2ps unlit
7 else
8 ifeq "$(BootingFromHc)" "YES"
9 SUBDIRS = mkdependC mkdirhier runstdtest genapply genprimopcode ghc-pkg unlit
10 else
11 SUBDIRS = mkdependC mkdirhier runstdtest ghc-pkg hasktags hp2ps hsc2hs lndir \
12           parallel prof unlit genprimopcode genapply runghc
13 endif
14 endif
15
16 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
17 SUBDIRS += touchy
18 endif
19
20 # Utils that we don't build by default:
21 #       nofib-analyse
22
23 # Utils that are old and/or bitrotted:
24 #       stat2resid
25 #       debugNCG
26 #       ext-core
27 #       genargs
28 #       heap-view
29 #       pvm
30 #       verbatim
31 #       ltx
32 #       hstags
33
34 # "heap-view" is not in the list because (a) it requires
35 #  a Haskell compiler (which you may not have yet), and (b) you are
36 #  unlikely to want it desperately.  It is easy to build once you have
37 #  a Haskell compiler and if you want it.
38
39 include $(TOP)/mk/target.mk