• Iustin Pop's avatar
    Makefile.am: add rules for htools compilation · d6159933
    Iustin Pop authored
    
    
    This patch adds some (not very nice) rules for htools
    compilation. Since automake only knows about some languages, and
    doesn't have a real extension mechanism, I cheat and declare them as
    "buildable scripts", instead of programs. Rationale:
    
    automake support for dir_PROGRAMS is limited to a few languages; in
    all cases, it assumes that translation from sources to binaries occurs
    in two steps, compilation and linking; it's not easy to change its
    assumption.
    
    In our case, where “ghc --make” does both steps, it's hard to force it
    into the automake model.
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    d6159933
Makefile.am 26.8 KB