Define BootingFromHc in bindists; fixes #3617
[ghc-hetmet.git] / distrib / Makefile-bin-vars.in
1
2 # Where we are
3 bindist_abs_root = @hardtop@
4 FPTOOLS_TOP_ABS  = @hardtop@
5
6 # This Makefile isn't used on Windows, so we always have ghc-pkg.bin
7 # rather than ghc-pkg.exe.
8 GHC_PKG_PROG = $(FPTOOLS_TOP_ABS)/utils/ghc-pkg/ghc-pkg.bin
9
10 platform    = @TargetPlatform@
11
12 PERL        = @PerlCmd@
13 SH          = /bin/sh
14 RM          = rm
15 RM_OPTS     = -f
16 MV          = mv
17 CP          = cp
18 LN_S        = @LN_S@
19 CHMOD       = chmod
20 INSTALL     = @INSTALL@
21 #
22 # Sigh - the autoconf macro for INSTALL will subst a relative path to the fallback
23 # install-sh script (if chosen). This not terribly useful to us, so we convert
24 # it into an abs. path.
25
26 INSTALL                 := $(subst ./install-sh,$(FPTOOLS_TOP_ABS)/install-sh,$(INSTALL))
27
28 exeext      = @exeext@
29 SED             = @SedCmd@
30 DEFAULT_TMPDIR = /tmp
31 RANLIB      = @RANLIB@
32 CPP         = @CPP@
33
34 RAWCPP_FLAGS            = -undef -traditional
35
36 EXECUTABLE_FILE = chmod $(BIN_PERMS)
37
38 GHC_COMPAT_DIR=$(TOP)/mk
39