Lines Matching refs:target

754 my $target="";
1056 die "target already defined - $target (offending arg: $_)\n" if ($target ne "");
1057 $target=$_;
1059 unless ($_ eq $target || /^no-/ || /^disable-/)
1146 unless ($target) {
1159 $target = $system_config{target};
1188 if ($target eq "TABLE") {
1196 if ($target eq "LIST") {
1203 if ($target eq "HASH") {
1213 print "for target $target\n";
1245 if ($target =~ m/^CygWin32(-.*)$/) {
1246 $target = "Cygwin".$1;
1250 my ($d, $t) = $target =~ m/^(debug-)?(.*)$/;
1255 if (!$table{$target}) {
1256 $target = $t;
1260 if ($target) {
1265 foreach ( ( "$target-$user{CC}", "$target", undef ) ) {
1269 $target = $found;
1274 $target = $cc if $table{$cc} && !$table{$cc}->{template};
1277 &usage unless $target;
1281 $config{target} = $target;
1282 my %target = resolve_config($target);
1285 $target{$target_attr_translate{$_}} = $target{$_}
1286 if $target{$_};
1287 delete $target{$_};
1290 %target = ( %{$table{DEFAULTS}}, %target );
1292 my %conf_files = map { $_ => 1 } (@{$target{_conf_fname_int}});
1297 foreach my $feature (@{$target{disable}}) {
1299 warn "***** config $target disables deprecated feature $feature\n";
1301 die "***** config $target disables unknown feature $feature\n";
1305 foreach my $feature (@{$target{enable}}) {
1308 warn "***** config $target enables deprecated feature $feature\n";
1310 die "***** config $target enables unknown feature $feature\n";
1317 $disabled{uplink} = 'no uplink_arch' unless (defined $target{uplink_arch});
1319 $disabled{asm} = 'no asm_arch' unless (defined $target{asm_arch});
1323 $target{CXXFLAGS}//=$target{CFLAGS} if $target{CXX};
1324 $target{cxxflags}//=$target{cflags} if $target{CXX};
1325 $target{exe_extension}=".exe" if ($config{target} eq "DJGPP");
1326 $target{exe_extension}=".pm" if ($config{target} =~ /vos/);
1358 || $mkvalue->($ref_type, $target{$_});
1388 $config{build_file} = env('BUILDFILE') || $target{build_file} || "Makefile";
1391 $target{build_scheme} = [ $target{build_scheme} ]
1392 if ref($target{build_scheme}) ne "ARRAY";
1395 @{$target{build_scheme}};
1418 if ($target =~ /^mingw/ && `$config{CC} --target-help 2>&1` =~ m/-mno-cygwin/m)
1425 if ($target =~ /linux.*-mips/ && !$disabled{asm}
1429 $value = '-mips2' if ($target =~ /mips32/);
1430 $value = '-mips3' if ($target =~ /mips64/);
1439 if ($target{thread_scheme} eq "(unknown)") {
1445 if ($target{thread_scheme} eq "(unknown)") {
1487 if (($target{shared_target} // '') eq "")
1530 $target{$_} = "";
1538 if ($target{sys_id} ne "")
1540 push @{$config{openssl_sys_defines}}, "OPENSSL_SYS_$target{sys_id}";
1550 if ($target eq "linux-ppc64") {
1551 $target{perlasm_scheme} = "linux64v2" if ($predefined_C{_CALL_ELF} == 2);
1563 if ($target{makedep_scheme}) {
1564 $config{makedep_scheme} = $target{makedep_scheme};
1567 $config{makedepcmd} = $target{makedepcmd} if $target{makedepcmd};
1615 foreach (sort split(/\s+/,$target{bn_ops})) {
1663 elsif ($config{target} =~ /^VC-/)
1680 if (grep { $_ eq 'afalgeng' } @{$target{enable}}) {
1701 if ($target =~ m/^BSD/) {
1718 if ($target =~ m/^linux/) {
1723 } elsif ($target =~ m/^BSD/) {
1740 $target{module_cflags} = $target{shared_cflag} unless defined $target{module_cflags};
1741 $target{module_cxxflags} = $target{shared_cxxflag} unless defined $target{module_cxxflags};
1742 $target{module_ldflags} = $target{shared_ldflag} unless defined $target{module_ldflags};
1747 push @{$target{_conf_fname_int}}, $shared_info_pl;
1748 my $si = $target{shared_target};
1769 $target{$_} = defined $target{$_}
1770 ? add($si->{$_})->($target{$_})
2803 foreach (grep /_(asm|aux)_src$/, keys %target) {
2806 $target{$obj} = $target{$src};
2807 $target{$obj} =~ s/\.[csS]\b/.o/g; # C and assembler
2808 $target{$obj} =~ s/\.(cc|cpp)\b/_cc.o/g; # C++
3084 my $target = shift;
3089 if (grep { $_ eq $target } @breadcrumbs) {
3091 ,$target,"\n ",join("\n ", @breadcrumbs),"\n";
3094 if (!defined($table{$target})) {
3095 warn "Warning! target $target doesn't exist!\n";
3105 if ($table{$target}->{inherit_from}) {
3107 map { ref($_) eq "CODE" ? $_->() : $_ } @{$table{$target}->{inherit_from}};
3109 my %inherited_config = resolve_config($_, $target, @breadcrumbs);
3126 delete $table{$target}->{inherit_from};
3143 keys %{$table{$target}});
3148 my $target = shift;
3161 return [ map { process_values($_, $inherited, $target, $entry) }
3167 ," found in target ",$target," -> ",$entry,"\n";
3177 if (!exists $table{$target}->{$key}) {
3178 $table{$target}->{$key} = $default_combiner;
3181 $table{$target}->{$key} = process_values($table{$target}->{$key},
3183 $target, $key);
3184 unless(defined($table{$target}->{$key})) {
3185 delete $table{$target}->{$key};
3188 # $previous && !($add_called || $previous ~~ $table{$target}->{$key})) {
3189 # warn "$key got replaced in $target\n";
3194 return %{$table{$target}};
3269 my $fullpath = catfile($_, "$name$target{exe_extension}");
3298 my %target = resolve_config($now_printing);
3302 return if $target{template};
3351 if (ref($target{$_}) eq "ARRAY") {
3352 printf "\$%-12s = %s\n", $_, join(" ", @{$target{$_}});
3354 printf "\$%-12s = %s\n", $_, $target{$_};
3362 if ($target{$_}) {
3363 if (ref($target{$_}) eq "ARRAY") {
3364 …'",$_,"'"," " x ($largest - length($_))," => [ ",join(", ", map { "'$_'" } @{$target{$_}})," ],\n";
3366 print " '",$_,"'"," " x ($largest - length($_))," => '",$target{$_},"',\n";