Edit

kc3-lang/automake/lib/am/Makefile.inc

Branch :

  • Show log

    Commit

  • Author : Stefano Lattarini
    Date : 2013-05-09 11:17:47
    Hash : c8f106c7
    Message : build: break up monolithic Makefile.am in subdir-specific fragments This is convenient to do, now that we have improved "relative directory" support with the '%reladir%' (a.k.a. '%D%') and '%canon_reladir%' (a.k.a. '%C%') Automake-time substitutions for included makefile fragments. This move also satisfy our philosophy of using new Automake features in our own build system, as a way of facilitating early discovery of possible bugs or interface warts. * Makefile.am: Break up ... * doc/Makefile.inc, lib/Automake/Makefile.inc, lib/Makefile.inc, lib/am/Makefile.inc, m4/Makefile.inc, t/Makefile.inc): ... in this new included fragments. Adjust as needed, and make deliberate use of the '%D%' substitution. * contrib/t/local.am: Rename ... * contrib/t/Makefile.inc: ... like this. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>

  • lib/am/Makefile.inc
  • ## Included by top-level Makefile for Automake.
    
    ## Copyright (C) 1995-2013 Free Software Foundation, Inc.
    ##
    ## This program is free software; you can redistribute it and/or modify
    ## it under the terms of the GNU General Public License as published by
    ## the Free Software Foundation; either version 2, or (at your option)
    ## any later version.
    ##
    ## This program is distributed in the hope that it will be useful,
    ## but WITHOUT ANY WARRANTY; without even the implied warranty of
    ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    ## GNU General Public License for more details.
    ##
    ## You should have received a copy of the GNU General Public License
    ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    ## --------------------- ##
    ##  Makefile fragments.  ##
    ## --------------------- ##
    
    amdir = @amdir@
    
    dist_am_DATA = \
      %D%/check.am \
      %D%/check2.am \
      %D%/clean-hdr.am \
      %D%/clean.am \
      %D%/compile.am \
      %D%/configure.am \
      %D%/data.am \
      %D%/dejagnu.am \
      %D%/depend.am \
      %D%/depend2.am \
      %D%/distdir.am \
      %D%/footer.am \
      %D%/header-vars.am \
      %D%/header.am \
      %D%/install.am \
      %D%/inst-vars.am \
      %D%/java.am \
      %D%/lang-compile.am \
      %D%/lex.am \
      %D%/library.am \
      %D%/libs.am \
      %D%/libtool.am \
      %D%/lisp.am \
      %D%/ltlib.am \
      %D%/ltlibrary.am \
      %D%/mans-vars.am \
      %D%/mans.am \
      %D%/program.am \
      %D%/progs.am \
      %D%/python.am \
      %D%/remake-hdr.am \
      %D%/scripts.am \
      %D%/subdirs.am \
      %D%/tags.am \
      %D%/texi-vers.am \
      %D%/texibuild.am \
      %D%/texinfos.am \
      %D%/vala.am \
      %D%/yacc.am
    
    # vim: ft=automake noet