Lines Matching refs:target
821 my $target="";
1164 die "target already defined - $target (offending arg: $_)\n" if ($target ne "");
1165 $target=$_;
1167 unless ($_ eq $target || /^no-/ || /^disable-/)
1254 unless ($target) {
1267 $target = $system_config{target};
1296 if ($target eq "TABLE") {
1304 if ($target eq "LIST") {
1311 if ($target eq "HASH") {
1321 print "for target $target\n";
1362 if ($target =~ m/^CygWin32(-.*)$/) {
1363 $target = "Cygwin".$1;
1367 my ($d, $t) = $target =~ m/^(debug-)?(.*)$/;
1372 if (!$table{$target}) {
1373 $target = $t;
1377 if ($target) {
1382 foreach ( ( "$target-$user{CC}", "$target", undef ) ) {
1386 $target = $found;
1391 $target = $cc if $table{$cc} && !$table{$cc}->{template};
1394 &usage unless $target;
1398 $config{target} = $target;
1399 my %target = resolve_config($target);
1402 $target{$target_attr_translate{$_}} = $target{$_}
1403 if $target{$_};
1404 delete $target{$_};
1407 %target = ( %{$table{DEFAULTS}}, %target );
1409 my %conf_files = map { $_ => 1 } (@{$target{_conf_fname_int}});
1414 foreach my $feature (@{$target{disable}}) {
1416 warn "***** config $target disables deprecated feature $feature\n";
1418 die "***** config $target disables unknown feature $feature\n";
1422 foreach my $feature (@{$target{enable}}) {
1425 warn "***** config $target enables deprecated feature $feature\n";
1427 die "***** config $target enables unknown feature $feature\n";
1434 $disabled{uplink} = 'no uplink_arch' unless (defined $target{uplink_arch});
1436 $disabled{asm} = 'no asm_arch' unless (defined $target{asm_arch});
1440 $target{CXXFLAGS}//=$target{CFLAGS} if $target{CXX};
1441 $target{cxxflags}//=$target{cflags} if $target{CXX};
1442 $target{exe_extension}=".exe" if ($config{target} eq "DJGPP");
1443 $target{exe_extension}=".pm" if ($config{target} =~ /vos/);
1475 || $mkvalue->($ref_type, $target{$_});
1505 $config{build_file} = env('BUILDFILE') || $target{build_file} || "Makefile";
1508 $target{build_scheme} = [ $target{build_scheme} ]
1509 if ref($target{build_scheme}) ne "ARRAY";
1512 @{$target{build_scheme}};
1535 if ($target =~ /^mingw/ && `$config{CC} --target-help 2>&1` =~ m/-mno-cygwin/m)
1542 if ($target =~ /linux.*-mips/ && !$disabled{asm}
1546 $value = '-mips2' if ($target =~ /mips32/);
1547 $value = '-mips3' if ($target =~ /mips64/);
1556 if ($target{thread_scheme} eq "(unknown)") {
1562 if ($target{thread_scheme} eq "(unknown)") {
1608 if (($target{shared_target} // '') eq "")
1651 $target{$_} = "";
1659 if ($target{sys_id} ne "")
1661 push @{$config{openssl_sys_defines}}, "OPENSSL_SYS_$target{sys_id}";
1671 if ($target eq "linux-ppc64" || $target eq "BSD-ppc64") {
1672 $target{perlasm_scheme} = "linux64v2" if ($predefined_C{_CALL_ELF} == 2);
1684 if ($target{makedep_scheme}) {
1685 $config{makedep_scheme} = $target{makedep_scheme};
1688 $config{makedepcmd} = $target{makedepcmd} if $target{makedepcmd};
1736 foreach (sort split(/\s+/,$target{bn_ops})) {
1784 elsif ($config{target} =~ /^VC-/)
1801 if (grep { $_ eq 'afalgeng' } @{$target{enable}}) {
1809 if ($target =~ m/^BSD/) {
1826 if ($target =~ m/^linux/) {
1831 } elsif ($target =~ m/^BSD/) {
1842 unless ($target =~ /^(?:Cygwin|mingw|VC-|BC-)/) {
1854 $target{module_cflags} = $target{shared_cflag} unless defined $target{module_cflags};
1855 $target{module_cxxflags} = $target{shared_cxxflag} unless defined $target{module_cxxflags};
1856 $target{module_ldflags} = $target{shared_ldflag} unless defined $target{module_ldflags};
1861 push @{$target{_conf_fname_int}}, $shared_info_pl;
1862 my $si = $target{shared_target};
1883 $target{$_} = defined $target{$_}
1884 ? add($si->{$_})->($target{$_})
2949 foreach (grep /_(asm|aux)_src$/, keys %target) {
2952 $target{$obj} = $target{$src};
2953 $target{$obj} =~ s/\.[csS]\b/.o/g; # C and assembler
2954 $target{$obj} =~ s/\.(cc|cpp)\b/_cc.o/g; # C++
2961 target => \%target,
3230 my $target = shift;
3235 if (grep { $_ eq $target } @breadcrumbs) {
3237 ,$target,"\n ",join("\n ", @breadcrumbs),"\n";
3240 if (!defined($table{$target})) {
3241 warn "Warning! target $target doesn't exist!\n";
3251 if ($table{$target}->{inherit_from}) {
3253 map { ref($_) eq "CODE" ? $_->() : $_ } @{$table{$target}->{inherit_from}};
3255 my %inherited_config = resolve_config($_, $target, @breadcrumbs);
3272 delete $table{$target}->{inherit_from};
3289 keys %{$table{$target}});
3294 my $target = shift;
3307 return [ map { process_values($_, $inherited, $target, $entry) }
3313 ," found in target ",$target," -> ",$entry,"\n";
3323 if (!exists $table{$target}->{$key}) {
3324 $table{$target}->{$key} = $default_combiner;
3327 $table{$target}->{$key} = process_values($table{$target}->{$key},
3329 $target, $key);
3330 unless(defined($table{$target}->{$key})) {
3331 delete $table{$target}->{$key};
3340 return %{$table{$target}};
3415 my $fullpath = catfile($_, "$name$target{exe_extension}");
3444 my %target = resolve_config($now_printing);
3448 return if $target{template};
3497 if (ref($target{$_}) eq "ARRAY") {
3498 printf "\$%-12s = %s\n", $_, join(" ", @{$target{$_}});
3500 printf "\$%-12s = %s\n", $_, $target{$_};
3508 if ($target{$_}) {
3509 if (ref($target{$_}) eq "ARRAY") {
3510 …'",$_,"'"," " x ($largest - length($_))," => [ ",join(", ", map { "'$_'" } @{$target{$_}})," ],\n";
3512 print " '",$_,"'"," " x ($largest - length($_))," => '",$target{$_},"',\n";