• Show log

    Commit

  • Hash : fde42f14
    Author : Alexandre Duret-Lutz
    Date : 2003-05-25T20:05:50

    * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
    * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
    and VarDef.pm.
    * automake.in: Use Automake::Variable and Automake::VarDef.
    (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
    (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
    (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
    (silent_variable_override): Delete.  Now
    Automake::Variable::_silent_variable_override.
    (var_value, var_location, var_comment, var_type, var_owner,
    var_pretty, content_seen): Delete.  This functionality is now
    offered by Automake::Variable and Automake::VarDef.
    (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
    Delete.  Now defined in Automake::VarDef.
    (var_order): Delete.  Now Automake::Variable::_var_order.
    (appendvar): Delete.  Now Automake::Variable::_appendvar.
    (var_SUFFIX_trigger): Register using Automake::Variable::hook.
    (initialize_per_input): Call Automake::Variable::reset.
    (err_var, msg_cond_var, msg_var, reject_var): Delete.  Now
    defined in Automake::Variable.
    (generate_makefile, process_option_list, handle_languages)
    (traverse_variable_recursively_worker)
    (transform_variable_recursively, handle_compile)
    (handle_libraries, handle_ltlibraries)
    (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
    Adjust to use Automake::Variable functions.
    (check_ambiguous_condition): Delete.  Now
    Automake::Variable::_check_ambiguous_condition.
    (condition_ambiguous_p): Delete.  Now
    Automake::Variable::condition_ambiguous_p.
    (variable_not_always_defined_in_cond): Delete.  Now
    Automake::Variable::not_always_defined_in_cond.
    (macro_define): Delete.  Now Automake::Variable::define.
    (macro_delete): Delete.  Now Automake::Variable::variable_delete.
    (macro_dump): Delete.  Now Automake::Variable::variable_dump.
    (macros_dump): Delete.  Now Automake::Variable::variables_dump.
    (variable_defined): Delete.  Now
    Automake::Variable::variable_defined, with the target check
    temporarily disabled.
    (variable_assert): Delete.  Now Automake::Variable::variable_assert.
    (examine_variable): Delete.  Now
    Automake::Variable::examine_variable.
    (variable_conditions): Delete.  Now Automake::Variable::conditions.
    (scan_variable_expansions): Delete.  Now
    Automake::Variable::scan_variable_expansions.
    (check_variable_expansions): Delete.  Now
    Automake::Variable::check_variable_expansions.
    (check_variable_defined_unconditionally): Delete.  Now
    Automake::Variable::check_defined_unconditionally.
    (variable_value): Delete.  Now Automake::Variable::variable_value.
    (variable_value_as_list): Delete.  Now
    Automake::Variable::variable_value_as_list.
    (variable_value_as_list_recursive_worker): Adjust to use
    Automake::Variable functions.
    (variable_output): Delete.  Now Automake::Variable::output.
    (define_pretty_variable, define_configure_variable, read_am_file)
    (define_standard_variables, read_main_am_file): Adjust to use
    Automake::Variable functions.
    (handle_variables): Delete.  Now Automake::Variable::output_variables.
    (file_contents_internal, am_primary_prefixes, am_install_var)
    (require_file_with_macro, require_conf_file_with_macro)
    (push_dist_common): : Adjust to use
    Automake::Variable functions.
    (require_variables): Delete.  Now
    Automake::Variable::require_variables.
    (require_variables_for_macro): Delete.  Now
    Automake::Variable::require_variables_for_variable.
    * tests/Makefile.am (XFAIL_TESTS): Add target.test.
    

  • README

  • This is Automake, a Makefile generator.  It was inspired by the 4.4BSD
    make and include files, but aims to be portable and to conform to the
    GNU standards for Makefile variables and targets.
    
    Automake is a Perl script.  The input files are called Makefile.am.
    The output files are called Makefile.in; they are intended for use
    with Autoconf.  Automake requires certain things to be done in your
    configure.in.
    
    Variable assignment lines in Makefile.am pull in defaults from various
    little *.am files.
    
    To use Automake, replace your Makefile.in files with Makefile.am
    files.  Read the documentation to see what to do.
    
    This package also includes the "aclocal" program.  aclocal is a
    program to generate an `aclocal.m4' based on the contents of
    `configure.in'.  It is useful as an extensible, maintainable mechanism
    for augmenting autoconf.  It is intended that other package authors
    will write m4 macros which can be automatically used by aclocal.
    
    The mailing list automake@gnu.org is for discussion of
    Automake, Autoconf, and other configuration/portability tools (e.g.,
    libtool).  Write to automake-request@gnu.org if you want to
    join.
    
    Automake has a page on the web.  See:
    
    	http://sources.redhat.com/automake/
    
    Mail suggestions and bug reports to bug-automake@gnu.org.
    
    -----
    
    Copyright 1994, 1995, 1996, 1997, 1998, 2001 Free Software Foundation,
    Inc.
    
    This file is part of GNU Automake.
    
    GNU Automake 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.
    
    GNU Automake 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 autoconf; see the file COPYING.  If not, write to
    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.