[commit: ghc] wip/nfs-locking: Add Make builder. (ba5f163)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:53:02 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/ba5f16377f357f009e932b1301a0e3fbcc4b8578/ghc

>---------------------------------------------------------------

commit ba5f16377f357f009e932b1301a0e3fbcc4b8578
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Jan 15 23:13:05 2016 +0000

    Add Make builder.
    
    See #167.


>---------------------------------------------------------------

ba5f16377f357f009e932b1301a0e3fbcc4b8578
 cfg/system.config.in | 1 +
 src/Builder.hs       | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/cfg/system.config.in b/cfg/system.config.in
index 4539979..dfde8e3 100644
--- a/cfg/system.config.in
+++ b/cfg/system.config.in
@@ -36,6 +36,7 @@ ar               = @ArCmd@
 happy            = @HappyCmd@
 hscolour         = @HSCOLOUR@
 ld               = @LdCmd@
+make             = @MakeCmd@
 nm               = @NmCmd@
 objdump          = @ObjdumpCmd@
 ranlib           = @REAL_RANLIB_CMD@
diff --git a/src/Builder.hs b/src/Builder.hs
index 96cb608..560f734 100644
--- a/src/Builder.hs
+++ b/src/Builder.hs
@@ -38,6 +38,7 @@ data Builder = Alex
              | HsCpp
              | Hsc2Hs
              | Ld
+             | Make
              | Nm
              | Objdump
              | Patch
@@ -81,6 +82,7 @@ builderKey builder = case builder of
     Hsc2Hs           -> "hsc2hs"
     HsCpp            -> "hs-cpp"
     Ld               -> "ld"
+    Make             -> "make"
     Nm               -> "nm"
     Objdump          -> "objdump"
     Patch            -> "patch"



More information about the ghc-commits mailing list