Lines Matching refs:target

834 my $target="";
1177 die "target already defined - $target (offending arg: $_)\n" if ($target ne "");
1178 $target=$_;
1180 unless ($_ eq $target || /^no-/ || /^disable-/)
1267 unless ($target) {
1280 $target = $system_config{target};
1309 if ($target eq "TABLE") {
1317 if ($target eq "LIST") {
1324 if ($target eq "HASH") {
1334 print "for target $target\n";
1375 if ($target =~ m/^CygWin32(-.*)$/) {
1376 $target = "Cygwin".$1;
1380 my ($d, $t) = $target =~ m/^(debug-)?(.*)$/;
1385 if (!$table{$target}) {
1386 $target = $t;
1390 if ($target) {
1395 foreach ( ( "$target-$user{CC}", "$target", undef ) ) {
1399 $target = $found;
1404 $target = $cc if $table{$cc} && !$table{$cc}->{template};
1407 &usage unless $target;
1411 $config{target} = $target;
1412 my %target = resolve_config($target);
1415 $target{$target_attr_translate{$_}} = $target{$_}
1416 if $target{$_};
1417 delete $target{$_};
1420 %target = ( %{$table{DEFAULTS}}, %target );
1422 my %conf_files = map { $_ => 1 } (@{$target{_conf_fname_int}});
1427 foreach my $feature (@{$target{disable}}) {
1429 warn "***** config $target disables deprecated feature $feature\n";
1431 die "***** config $target disables unknown feature $feature\n";
1435 foreach my $feature (@{$target{enable}}) {
1438 warn "***** config $target enables deprecated feature $feature\n";
1440 die "***** config $target enables unknown feature $feature\n";
1447 $disabled{uplink} = 'no uplink_arch' unless (defined $target{uplink_arch});
1449 $disabled{asm} = 'no asm_arch' unless (defined $target{asm_arch});
1453 $target{CXXFLAGS}//=$target{CFLAGS} if $target{CXX};
1454 $target{cxxflags}//=$target{cflags} if $target{CXX};
1455 $target{exe_extension}=".exe" if ($config{target} eq "DJGPP");
1456 $target{exe_extension}=".pm" if ($config{target} =~ /vos/);
1488 || $mkvalue->($ref_type, $target{$_});
1518 $config{build_file} = env('BUILDFILE') || $target{build_file} || "Makefile";
1521 $target{build_scheme} = [ $target{build_scheme} ]
1522 if ref($target{build_scheme}) ne "ARRAY";
1525 @{$target{build_scheme}};
1548 if ($target =~ /^mingw/ && `$config{CC} --target-help 2>&1` =~ m/-mno-cygwin/m)
1555 if ($target =~ /linux.*-mips/ && !$disabled{asm}
1559 $value = '-mips2' if ($target =~ /mips32/);
1560 $value = '-mips3' if ($target =~ /mips64/);
1569 if ($target{thread_scheme} eq "(unknown)") {
1575 if ($target{thread_scheme} eq "(unknown)") {
1621 if (($target{shared_target} // '') eq "")
1664 $target{$_} = "";
1672 if ($target{sys_id} ne "")
1674 push @{$config{openssl_sys_defines}}, "OPENSSL_SYS_$target{sys_id}";
1684 if ($target eq "linux-ppc64" || $target eq "BSD-ppc64") {
1685 $target{perlasm_scheme} = "linux64v2" if ($predefined_C{_CALL_ELF} == 2);
1697 if ($target{makedep_scheme}) {
1698 $config{makedep_scheme} = $target{makedep_scheme};
1701 $config{makedepcmd} = $target{makedepcmd} if $target{makedepcmd};
1749 foreach (sort split(/\s+/,$target{bn_ops})) {
1797 elsif ($config{target} =~ /^VC-/)
1814 if (grep { $_ eq 'afalgeng' } @{$target{enable}}) {
1822 if ($target =~ m/^BSD/) {
1839 if ($target =~ m/^linux/) {
1844 } elsif ($target =~ m/^BSD/) {
1855 unless ($target =~ /^(?:Cygwin|mingw|VC-|BC-)/) {
1867 $target{module_cflags} = $target{shared_cflag} unless defined $target{module_cflags};
1868 $target{module_cxxflags} = $target{shared_cxxflag} unless defined $target{module_cxxflags};
1869 $target{module_ldflags} = $target{shared_ldflag} unless defined $target{module_ldflags};
1874 push @{$target{_conf_fname_int}}, $shared_info_pl;
1875 my $si = $target{shared_target};
1896 $target{$_} = defined $target{$_}
1897 ? add($si->{$_})->($target{$_})
2962 foreach (grep /_(asm|aux)_src$/, keys %target) {
2965 $target{$obj} = $target{$src};
2966 $target{$obj} =~ s/\.[csS]\b/.o/g; # C and assembler
2967 $target{$obj} =~ s/\.(cc|cpp)\b/_cc.o/g; # C++
2974 target => \%target,
3243 my $target = shift;
3248 if (grep { $_ eq $target } @breadcrumbs) {
3250 ,$target,"\n ",join("\n ", @breadcrumbs),"\n";
3253 if (!defined($table{$target})) {
3254 warn "Warning! target $target doesn't exist!\n";
3264 if ($table{$target}->{inherit_from}) {
3266 map { ref($_) eq "CODE" ? $_->() : $_ } @{$table{$target}->{inherit_from}};
3268 my %inherited_config = resolve_config($_, $target, @breadcrumbs);
3285 delete $table{$target}->{inherit_from};
3302 keys %{$table{$target}});
3307 my $target = shift;
3320 return [ map { process_values($_, $inherited, $target, $entry) }
3326 ," found in target ",$target," -> ",$entry,"\n";
3336 if (!exists $table{$target}->{$key}) {
3337 $table{$target}->{$key} = $default_combiner;
3340 $table{$target}->{$key} = process_values($table{$target}->{$key},
3342 $target, $key);
3343 unless(defined($table{$target}->{$key})) {
3344 delete $table{$target}->{$key};
3353 return %{$table{$target}};
3428 my $fullpath = catfile($_, "$name$target{exe_extension}");
3457 my %target = resolve_config($now_printing);
3461 return if $target{template};
3510 if (ref($target{$_}) eq "ARRAY") {
3511 printf "\$%-12s = %s\n", $_, join(" ", @{$target{$_}});
3513 printf "\$%-12s = %s\n", $_, $target{$_};
3521 if ($target{$_}) {
3522 if (ref($target{$_}) eq "ARRAY") {
3523 …'",$_,"'"," " x ($largest - length($_))," => [ ",join(", ", map { "'$_'" } @{$target{$_}})," ],\n";
3525 print " '",$_,"'"," " x ($largest - length($_))," => '",$target{$_},"',\n";