package Automake::ChannelDefs;
+use Automake::Channels;
use Automake::Config;
BEGIN
{
import threads;
}
}
-use Automake::Channels;
=head1 NAME
use 5.006;
use strict;
-use Exporter;
use Carp;
+
+use Exporter;
use File::Basename;
use vars qw (@ISA @EXPORT %channels $me);
use 5.006;
use strict;
-use Exporter;
+use Automake::ChannelDefs;
use Automake::Condition qw (TRUE FALSE);
-use Automake::Global;
use Automake::Channels;
-use Automake::ChannelDefs;
+use Automake::Global;
+use Exporter;
use vars qw (@ISA @EXPORT);
use 5.006;
use strict;
-use Exporter;
use Automake::ChannelDefs;
use Automake::Channels;
use Automake::Condition qw (TRUE FALSE);
use Automake::Utils;
use Automake::VarDef;
use Automake::Variable;
+use Exporter;
use vars qw (@ISA @EXPORT);
# along with this program. If not, see <https://www.gnu.org/licenses/>.
package Automake::Config;
-use strict;
+use strict;
use 5.006;
+
require Exporter;
our @ISA = qw (Exporter);
use 5.006;
use strict;
-use Exporter;
+
use Automake::Channels;
use Automake::ChannelDefs;
+use Exporter;
use vars qw (@ISA @EXPORT);
use 5.006;
use strict;
use Carp;
+
use Automake::Condition qw/TRUE FALSE/;
=head1 NAME
use 5.006;
use strict;
-use Exporter;
use Automake::ChannelDefs;
use Automake::Channels;
use Automake::Condition qw (TRUE FALSE);
use Automake::Utils;
use Automake::VarDef;
use Automake::Variable;
+use Exporter;
use vars qw (@ISA @EXPORT);
use 5.006;
use strict;
+
+use Automake::Channels;
+use Automake::ChannelDefs;
use Exporter;
use File::stat;
use IO::File;
-use Automake::Channels;
-use Automake::ChannelDefs;
use vars qw (@ISA @EXPORT);
use 5.006;
use strict;
+
use Exporter;
use File::Basename;
use 5.006;
use strict;
use warnings FATAL => 'all';
+use Carp qw/croak confess/;
+
+use Automake::ChannelDefs qw/fatal/;
use Exporter ();
use Getopt::Long ();
-use Automake::ChannelDefs qw/fatal/;
-use Carp qw/croak confess/;
use vars qw (@ISA @EXPORT);
@ISA = qw (Exporter);
use 5.006;
use strict;
-use Exporter;
-use Automake::Location;
+use Exporter;
use vars qw (@ISA @EXPORT);
$need_link $must_handle_compiled_objects %transformed_files
AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET MOSTLY_CLEAN
CLEAN DIST_CLEAN MAINTAINER_CLEAN LANG_IGNORE LANG_PROCESS LANG_SUBDIR
- COMPILE_LIBTOOL COMPILE_ORDINARY INTERNAL QUEUE_MESSAGE QUEUE_CONF_FILE
+ COMPILE_LIBTOOL COMPILE_ORDINARY QUEUE_MESSAGE QUEUE_CONF_FILE
QUEUE_LOCATION QUEUE_STRING);
## ----------- ##
use constant COMPILE_LIBTOOL => 1;
use constant COMPILE_ORDINARY => 2;
-# We can't always associate a location to a variable or a rule,
-# when it's defined by Automake. We use INTERNAL in this case.
-use constant INTERNAL => new Automake::Location;
-
# Serialization keys for message queues.
use constant QUEUE_MESSAGE => "msg";
use constant QUEUE_CONF_FILE => "conf file";
use 5.006;
use strict;
use Carp;
+
use Automake::ChannelDefs;
use Automake::DisjConditions;
use 5.006;
+use Exporter;
+
+use vars qw (@ISA @EXPORT);
+
+@ISA = qw (Exporter);
+
+@EXPORT = qw (INTERNAL);
+
=head1 NAME
Automake::Location - a class for location tracking, with a stack of contexts
=cut
+=head2 Constants
+
+=over
+
+=item C<INTERNAL>
+
+We can't always associate a location to a variable or a rule, when it's
+defined by Automake. We use C<INTERNAL> in this case.
+
+=cut
+
+
=head2 Methods
=over
return $self;
}
+use constant INTERNAL => new Automake::Location;
+
=item C<$location-E<gt>set ($position)>
Change the location to be C<$position>.
use 5.006;
use strict;
-use Exporter;
-use Automake::Config;
+
use Automake::ChannelDefs;
use Automake::Channels;
+use Automake::Config;
use Automake::Version;
+use Exporter;
use vars qw (@ISA @EXPORT);
use strict;
use Carp;
-use Automake::Item;
-use Automake::RuleDef;
use Automake::ChannelDefs;
use Automake::Channels;
-use Automake::Options;
use Automake::Condition qw (TRUE FALSE);
use Automake::DisjConditions;
+use Automake::Item;
+use Automake::Options;
+use Automake::RuleDef;
require Exporter;
-use vars '@ISA', '@EXPORT', '@EXPORT_OK';
+
+use vars '@ISA', '@EXPORT';
@ISA = qw/Automake::Item Exporter/;
@EXPORT = qw (reset register_suffix_rule next_in_suffix_chain
suffixes rules $KNOWN_EXTENSIONS_PATTERN
use 5.006;
use strict;
use Carp;
+
use Automake::ChannelDefs;
use Automake::ItemDef;
-
require Exporter;
+
use vars '@ISA', '@EXPORT';
+
@ISA = qw/Automake::ItemDef Exporter/;
@EXPORT = qw (&RULE_AUTOMAKE &RULE_USER);
use 5.006;
use strict;
-use Exporter;
+
use Automake::Global;
use Automake::Location;
use Automake::Options;
use Automake::XFile;
use Automake::ChannelDefs;
-use Automake::Variable;
+use Automake::Variable 'var';
use Automake::Rule;
+use Exporter;
use vars qw (@ISA @EXPORT);
use 5.006;
use strict;
use Carp;
+
use Automake::ChannelDefs;
use Automake::ItemDef;
-
require Exporter;
+
use vars '@ISA', '@EXPORT';
+
@ISA = qw/Automake::ItemDef Exporter/;
@EXPORT = qw (&VAR_AUTOMAKE &VAR_CONFIGURE &VAR_MAKEFILE
&VAR_ASIS &VAR_PRETTY &VAR_SILENT &VAR_SORTED);
use strict;
use Carp;
-use Automake::Channels;
use Automake::ChannelDefs;
+use Automake::Channels;
+use Automake::Condition qw (TRUE FALSE);
use Automake::Config;
use Automake::Configure_ac;
-use Automake::Item;
-use Automake::VarDef;
-use Automake::Condition qw (TRUE FALSE);
use Automake::DisjConditions;
+use Automake::File;
use Automake::General 'uniq';
-use Automake::Wrap 'makefile_wrap';
use Automake::Global;
+use Automake::Item;
use Automake::Location;
-use Automake::Utils;
-use Automake::File;
-
+use Automake::VarDef;
+use Automake::Wrap 'makefile_wrap';
require Exporter;
+
use vars '@ISA', '@EXPORT', '@EXPORT_OK';
+
@ISA = qw/Automake::Item Exporter/;
@EXPORT = qw (err_var msg_var msg_cond_var reject_var
var rvar vardef rvardef
use 5.006;
use strict;
+
use Automake::ChannelDefs;
=head1 NAME
use strict;
require Exporter;
+
use vars '@ISA', '@EXPORT_OK';
+
@ISA = qw/Exporter/;
@EXPORT_OK = qw/wrap makefile_wrap/;
use 5.006;
use strict;
-use vars qw($VERSION @EXPORT @EXPORT_OK $AUTOLOAD @ISA);
use Carp;
use Errno;
-use IO::File;
-use File::Basename;
+
use Automake::ChannelDefs;
use Automake::Channels qw(msg);
use Automake::FileUtils;
-
-require Exporter;
require DynaLoader;
+require Exporter;
+use File::Basename;
+use IO::File;
+
+use vars qw($VERSION @EXPORT @EXPORT_OK $AUTOLOAD @ISA);
@ISA = qw(IO::File Exporter DynaLoader);