3 MsubNeededHere( ./glue_TAGS_files )
5 /* order in SUBDIRS is not supposed to be important but ...
6 "compiler" must be before "lib", because we use
7 the compiler just built to compile pieces of "lib".
9 "includes" also needs to be v early, to ensure that
10 GhcConstants.h is made before needed.
12 if we're building from .hc files, we do the libraries
13 first, then the compiler; otherwise the other way around
16 #if HaskellCompilerType == HC_USE_HC_FILES
17 #define __compiler_and_lib lib compiler
19 #define __compiler_and_lib compiler lib
31 #undef __compiler_and_lib
33 /* "CONTRIB" is also a SUBDIR, but there is nothing to build there.
36 /* the standard "whoami" target will give the basic info. */
37 /* this target adds to it. */
39 @echo using a \`$(BUILDPLATFORM)\' host to build a Haskell compiler to run on a
40 @echo \`$(HOSTPLATFORM)\' host that will generate \`C\' target code
42 fulltags : ./glue_TAGS_files
44 ./glue_TAGS_files `find . -type f -name TAGS -print`
46 /* this line makes sure perl gets picked up from the right place */
47 MsubProgramScriptTarget(PerlCmd,./glue_TAGS_files,./glue_TAGS_files.prl,,)