if (&saw_sources_p (0) && keys %dep_files)
{
# Set location of depcomp.
- &define_variable ('depcomp', INTERNAL,
- '$(SHELL) $(am__config_aux_dir)/depcomp');
+ define_variable ('depcomp', INTERNAL,
+ '$(SHELL) $(am__config_aux_dir)/depcomp');
require_conf_file ("$am_file.am", FOREIGN, 'depcomp');
}
else
{
- &define_variable ('depcomp', INTERNAL, '');
+ define_variable ('depcomp', INTERNAL, '');
}
my %done;
unshift (@files, $object);
# Distribute derived sources unless the source they are
# derived from is not.
- &push_dist_common ($object)
+ push_dist_common ($object)
unless ($topparent =~ /^(?:nobase_)?nodist_/);
next;
}
msg_var ('unsupported', $ext_var, $ext_var->name . " can assume at most one value")
if $default_source_ext =~ /[\t ]/;
(my $default_source = $unxformed) =~ s,(\.[^./\\]*)?$,$default_source_ext,;
- &define_variable ($one_file . "_SOURCES", $where, $default_source);
+ define_variable ($one_file . "_SOURCES", $where, $default_source);
push (@sources, $default_source);
push (@dist_sources, $default_source);
else
{
# User didn't define prog_LDADD override. So do it.
- &define_variable ($xname . '_LDADD', $where, '$(LDADD)');
+ define_variable ($xname . '_LDADD', $where, '$(LDADD)');
# This does a bit too much work. But we need it to
# generate _DEPENDENCIES when appropriate.
$var->requires_variables ('library used', 'RANLIB');
}
- &define_variable ('AR', INTERNAL, 'ar');
- &define_variable ('ARFLAGS', INTERNAL, 'cru');
- &define_verbose_tagvar ('AR');
+ define_variable ('AR', INTERNAL, 'ar');
+ define_variable ('ARFLAGS', INTERNAL, 'cru');
+ define_verbose_tagvar ('AR');
foreach my $pair (@liblist)
{
if (! var ($xlib . '_AR'))
{
- &define_variable ($xlib . '_AR', $where, '$(AR) $(ARFLAGS)');
+ define_variable ($xlib . '_AR', $where, '$(AR) $(ARFLAGS)');
}
# Generate support for conditional object inclusion in
}
else
{
- &define_variable ($xlib . "_LIBADD", $where, '');
+ define_variable ($xlib . "_LIBADD", $where, '');
}
reject_var ($xlib . '_LDADD',
}
else
{
- &define_variable ($xlib . "_LIBADD", $where, '');
+ define_variable ($xlib . "_LIBADD", $where, '');
}
reject_var ("${xlib}_LDADD",
$trans_sect_vars{$varname} = 1;
}
- &push_dist_common ($varname)
+ push_dist_common ($varname)
if $pfx eq 'dist_';
}
}
{
$trans_vars{$varname} = 1;
}
- &push_dist_common ($varname)
+ push_dist_common ($varname)
if $pfx eq 'dist_';
}
}
# The file might be absent, but if it can be built it's ok.
|| rule $cfile)
{
- &push_dist_common ($cfile);
+ push_dist_common ($cfile);
}
# Don't use 'elsif' here because a file might meaningfully
# appear in both directories.
if ($check_aux && dir_has_case_matching_file ($config_aux_dir, $cfile))
{
- &push_dist_common ("$config_aux_dir/$cfile")
+ push_dist_common ("$config_aux_dir/$cfile")
}
}
if (-f 'aclocal.m4')
{
- &define_variable ("ACLOCAL_M4", INTERNAL, '$(top_srcdir)/aclocal.m4');
+ define_variable ("ACLOCAL_M4", INTERNAL, '$(top_srcdir)/aclocal.m4');
my $aclocal = new Automake::XFile "< aclocal.m4";
my $line = $aclocal->getline;
require_variables ($elfiles[0][0], "Emacs Lisp sources seen", TRUE,
'EMACS', 'lispdir');
require_conf_file ($elfiles[0][0], FOREIGN, 'elisp-comp');
- &define_variable ('elisp_comp', INTERNAL, '$(am__config_aux_dir)/elisp-comp');
+ define_variable ('elisp_comp', INTERNAL, '$(am__config_aux_dir)/elisp-comp');
}
# Handle Python
require_variables ($pyfiles[0][0], "Python sources seen", TRUE, 'PYTHON');
require_conf_file ($pyfiles[0][0], FOREIGN, 'py-compile');
- &define_variable ('py_compile', INTERNAL, '$(am__config_aux_dir)/py-compile');
+ define_variable ('py_compile', INTERNAL, '$(am__config_aux_dir)/py-compile');
}
# Handle Java.
# Distribute the generated file, unless its .y source was
# listed in a nodist_ variable. (&handle_source_transform
# will set DIST_SOURCE.)
- &push_dist_common ($header)
+ push_dist_common ($header)
if $transform{'DIST_SOURCE'};
# The GNU rules say that yacc/lex output files should be removed
# FIXME: for now, no line number.
require_conf_file ($configure_ac, FOREIGN, 'ylwrap');
- &define_variable ('YLWRAP', INTERNAL, '$(am__config_aux_dir)/ylwrap');
+ define_variable ('YLWRAP', INTERNAL, '$(am__config_aux_dir)/ylwrap');
}
sub lang_yacc_finish
$link = "\$(LIBTOOL) $verbose $libtool_tag\$(AM_LIBTOOLFLAGS) "
. "\$(LIBTOOLFLAGS) --mode=link ";
}
- &define_variable ($lang->linker, INTERNAL, $link . $lang->link);
- &define_variable ($lang->compiler, INTERNAL, $lang);
- &define_verbose_tagvar ($lang->lder || 'GEN');
+ define_variable ($lang->linker, INTERNAL, $link . $lang->link);
+ define_variable ($lang->compiler, INTERNAL, $lang);
+ define_verbose_tagvar ($lang->lder || 'GEN');
}
sub define_per_target_linker_variable ($$)
return ($lang->linker, $lang->lder)
if $link_command eq $orig_command;
- &define_variable ("${target}_LINK", INTERNAL, $link_command);
+ define_variable ("${target}_LINK", INTERNAL, $link_command);
return ("${target}_LINK", $lang->lder);
}