Lines Matching +full:sub +full:- +full:engines
4 ## {- join("\n## ", @autowarntext) -}
5 {-
9 our $sover_dirname = platform->shlib_version_as_filename();
12 my $install_flavour = $build_scheme->[$#$build_scheme]; # last element
14 $install_flavour eq "VC-WOW" ? "ProgramFiles(x86)"
17 $install_flavour eq "VC-WOW" ? "CommonProgramFiles(x86)"
30 sub dependmagic {
36 -}
38 PLATFORM={- $config{target} -}
39 SRCDIR={- $config{sourcedir} -}
40 BLDDIR={- $config{builddir} -}
41 FIPSKEY={- $config{FIPSKEY} -}
43 VERSION={- "$config{full_version}" -}
44 VERSION_NUMBER={- "$config{version}" -}
45 MAJOR={- $config{major} -}
46 MINOR={- $config{minor} -}
48 SHLIB_VERSION_NUMBER={- $config{shlib_version} -}
50 LIBS={- join(" ", map { ( platform->sharedlib_import($_), platform->staticlib($_) ) } @{$unified_in…
51 SHLIBS={- join(" ", map { platform->sharedlib($_) // () } @{$unified_info{libraries}}) -}
52 SHLIBPDBS={- join(" ", map { platform->sharedlibpdb($_) // () } @{$unified_info{libraries}}) -}
53 MODULES={- our @MODULES = map { platform->dso($_) }
60 join(" ", @MODULES) -}
61 MODULEPDBS={- join(" ", map { platform->dsopdb($_) } @{$unified_info{modules}}) -}
62 FIPSMODULE={- # We do some extra checking here, as there should be only one
65 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst}
66 && $unified_info{attributes}->{modules}->{$_}->{fips} }
69 join(" ", map { platform->dso($_) } @fipsmodules) -}
70 FIPSMODULENAME={- die "More that one FIPS module" if scalar @fipsmodules > 1;
71 join(", ", map { basename(platform->dso($_)) } @fipsmodules) -}
72 PROGRAMS={- our @PROGRAMS = map { platform->bin($_) } @{$unified_info{programs}}; join(" ", @PROGRA…
73 PROGRAMPDBS={- join(" ", map { $_.".pdb" } @{$unified_info{programs}}) -}
74 SCRIPTS={- our @SCRIPTS = @{$unified_info{scripts}}; join(" ", @SCRIPTS) -}
75 {- output_off() if $disabled{makedepend}; "" -}
76 DEPS={- join(" ", map { platform->isobj($_) ? platform->dep($_) : () }
77 grep { $unified_info{sources}->{$_}->[0] =~ /\.c$/ }
78 keys %{$unified_info{sources}}); -}
79 {- output_on() if $disabled{makedepend}; "" -}
80 GENERATED_MANDATORY={- our @GENERATED_MANDATORY = @{$unified_info{depends}->{""}};
81 join(" ", @GENERATED_MANDATORY) -}
82 GENERATED={- # common0.tmpl provides @generated
83 our @GENERATED = map { platform->convertext($_) } @generated;
84 join(" ", @GENERATED) -}
86 INSTALL_LIBS={-
87 join(" ", map { quotify1(platform->sharedlib_import($_)
88 // platform->staticlib($_)) }
89 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} }
91 -}
92 INSTALL_SHLIBS={-
93 join(" ", map { my $x = platform->sharedlib($_);
95 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} }
97 -}
98 INSTALL_SHLIBPDBS={-
99 join(" ", map { my $x = platform->sharedlibpdb($_);
101 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} }
103 -}
104 INSTALL_ENGINES={-
105 join(" ", map { quotify1(platform->dso($_)) }
106 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst}
107 && $unified_info{attributes}->{modules}->{$_}->{engine} }
109 -}
110 INSTALL_ENGINEPDBS={-
111 join(" ", map { quotify1(platform->dsopdb($_)) }
112 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst}
113 && $unified_info{attributes}->{modules}->{$_}->{engine} }
115 -}
116 INSTALL_MODULES={-
117 join(" ", map { quotify1(platform->dso($_)) }
118 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst}
119 && !$unified_info{attributes}->{modules}->{$_}->{engine}
120 && !$unified_info{attributes}->{modules}->{$_}->{fips} }
122 -}
123 INSTALL_MODULEPDBS={-
124 join(" ", map { quotify1(platform->dsopdb($_)) }
125 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst}
126 && !$unified_info{attributes}->{modules}->{$_}->{engine} }
128 -}
129 INSTALL_FIPSMODULE={-
130 join(" ", map { quotify1(platform->dso($_)) }
131 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst}
132 && $unified_info{attributes}->{modules}->{$_}->{fips} }
134 -}
136 INSTALL_PROGRAMS={-
137 join(" ", map { quotify1(platform->bin($_)) }
138 grep { !$unified_info{attributes}->{programs}->{$_}->{noinst} }
140 -}
141 INSTALL_PROGRAMPDBS={-
142 join(" ", map { quotify1(platform->binpdb($_)) }
143 grep { !$unified_info{attributes}->{programs}->{$_}->{noinst} }
145 -}
146 BIN_SCRIPTS={-
148 grep { !$unified_info{attributes}->{scripts}->{$_}->{noinst}
149 && !$unified_info{attributes}->{scripts}->{$_}->{misc} }
151 -}
152 MISC_SCRIPTS={-
154 grep { !$unified_info{attributes}->{scripts}->{$_}->{noinst}
155 && $unified_info{attributes}->{scripts}->{$_}->{misc} }
157 -}
158 IMAGEDOCS1={- our @IMAGEDOCS1 = @{$unified_info{imagedocs}->{man1}};
159 join(" ", @IMAGEDOCS1) -}
160 IMAGEDOCS3={- our @IMAGEDOCS3 = @{$unified_info{imagedocs}->{man3}};
161 join(" ", @IMAGEDOCS3) -}
162 IMAGEDOCS5={- our @IMAGEDOCS5 = @{$unified_info{imagedocs}->{man5}};
163 join(" ", @IMAGEDOCS5) -}
164 IMAGEDOCS7={- our @IMAGEDOCS7 = @{$unified_info{imagedocs}->{man7}};
165 join(" ", @IMAGEDOCS7) -}
166 HTMLDOCS1={- our @HTMLDOCS1 = @{$unified_info{htmldocs}->{man1}};
167 join(" ", @HTMLDOCS1) -}
168 HTMLDOCS3={- our @HTMLDOCS3 = @{$unified_info{htmldocs}->{man3}};
169 join(" ", @HTMLDOCS3) -}
170 HTMLDOCS5={- our @HTMLDOCS5 = @{$unified_info{htmldocs}->{man5}};
171 join(" ", @HTMLDOCS5) -}
172 HTMLDOCS7={- our @HTMLDOCS7 = @{$unified_info{htmldocs}->{man7}};
173 join(" ", @HTMLDOCS7) -}
174 HTMLDOCS1_BLDDIRS={- my %dirs = map { dirname($_) => 1 } @HTMLDOCS1;
175 join(' ', sort keys %dirs) -}
176 HTMLDOCS3_BLDDIRS={- my %dirs = map { dirname($_) => 1 } @HTMLDOCS3;
177 join(' ', sort keys %dirs) -}
178 HTMLDOCS5_BLDDIRS={- my %dirs = map { dirname($_) => 1 } @HTMLDOCS5;
179 join(' ', sort keys %dirs) -}
180 HTMLDOCS7_BLDDIRS={- my %dirs = map { dirname($_) => 1 } @HTMLDOCS7;
181 join(' ', sort keys %dirs) -}
183 APPS_OPENSSL="{- use File::Spec::Functions;
184 catfile("apps","openssl") -}"
186 # Do not edit these manually. Use Configure with --prefix or --openssldir
188 INSTALLTOP_dev={- # $prefix is used in the OPENSSLDIR perl snippet
195 $prefix_dev -}
196 INSTALLTOP_dir={- canonpath($prefix_dir) -}
197 OPENSSLDIR_dev={- #
198 # The logic here is that if no --openssldir was given,
200 # If --openssldir was given and the value is an absolute
202 # If the value from --openssldir is a relative path,
203 # OPENSSLDIR will get $prefix with the --openssldir
215 $openssldir_dev -}
216 OPENSSLDIR_dir={- canonpath($openssldir_dir) -}
217 LIBDIR={- our $libdir = $config{libdir} || "lib";
218 file_name_is_absolute($libdir) ? "" : $libdir -}
219 MODULESDIR_dev={- use File::Spec::Functions qw(:DEFAULT splitpath catpath);
226 catdir($modulesprefix_dir, "ossl-modules");
230 catdir($modulesprefix_dir, "engines-$sover_dirname");
232 $modulesdir_dev -}
233 MODULESDIR_dir={- canonpath($modulesdir_dir) -}
234 ENGINESDIR_dev={- $enginesdir_dev -}
235 ENGINESDIR_dir={- canonpath($enginesdir_dir) -}
249 libdir={- file_name_is_absolute($libdir)
250 ? $libdir : '$(INSTALLTOP)\$(LIBDIR)' -}
254 CC="{- $config{CC} -}"
255 CPP={- $config{CPP} -}
256 CPPFLAGS={- our $cppflags1 = join(" ",
257 (map { "-D".$_} @{$config{CPPDEFINES}}),
258 (map { " -I".$_} @{$config{CPPINCLUDES}}),
259 @{$config{CPPFLAGS}}) -}
260 CFLAGS={- join(' ', @{$config{CFLAGS}}) -}
261 LD="{- $config{LD} -}"
262 LDFLAGS={- join(' ', @{$config{LDFLAGS}}) -}
263 EX_LIBS={- join(' ', @{$config{LDLIBS}}) -}
265 PERL={- $config{PERL} -}
267 AR="{- $config{AR} -}"
268 ARFLAGS= {- join(' ', @{$config{ARFLAGS}}) -}
270 MT="{- $config{MT} -}"
271 MTFLAGS= {- join(' ', @{$config{MTFLAGS}}) -}
273 AS="{- $config{AS} -}"
274 ASFLAGS={- join(' ', @{$config{ASFLAGS}}) -}
276 RC="{- $config{RC} -}"
277 RCFLAGS={- join(' ', @{$config{RCFLAGS}}) -}
283 COUTFLAG={- $target{coutflag} -}$(OSSL_EMPTY)
284 LDOUTFLAG={- $target{ldoutflag} -}$(OSSL_EMPTY)
285 AROUTFLAG={- $target{aroutflag} -}$(OSSL_EMPTY)
286 MTINFLAG={- $target{mtinflag} -}$(OSSL_EMPTY)
287 MTOUTFLAG={- $target{mtoutflag} -}$(OSSL_EMPTY)
288 ASOUTFLAG={- $target{asoutflag} -}$(OSSL_EMPTY)
289 RCOUTFLAG={- $target{rcoutflag} -}$(OSSL_EMPTY)
295 CNF_ASFLAGS={- join(' ', $target{asflags} || (),
296 @{$config{asflags}}) -}
297 CNF_CPPFLAGS={- our $cppflags2 =
299 (map { '-D'.quotify1($_) } @{$target{defines}},
301 (map { '-I'.'"'.$_.'"' } @{$target{includes}},
303 @{$config{cppflags}}) -}
304 CNF_CFLAGS={- join(' ', $target{cflags} || (),
305 @{$config{cflags}}) -}
306 CNF_CXXFLAGS={- join(' ', $target{cxxflags} || (),
307 @{$config{cxxflags}}) -}
308 CNF_LDFLAGS={- join(' ', $target{lflags} || (),
309 @{$config{lflags}}) -}
310 CNF_EX_LIBS={- join(' ', $target{ex_libs} || (),
311 @{$config{ex_libs}}) -}
319 LIB_ASFLAGS={- join(' ', $target{lib_asflags} || (),
321 '$(CNF_ASFLAGS)', '$(ASFLAGS)') -}
322 LIB_CPPFLAGS={- our $lib_cppflags =
325 (map { '-D'.quotify1($_) }
330 (map { '-I'.quotify1($_) }
338 (map { '-D'.quotify1($_) }
342 '$(CNF_CPPFLAGS)', '$(CPPFLAGS)') -}
343 LIB_CFLAGS={- join(' ', $target{lib_cflags} || (),
347 '$(CNF_CFLAGS)', '$(CFLAGS)') -}
348 LIB_LDFLAGS={- join(' ', $target{shared_ldflag} || (),
350 '$(CNF_LDFLAGS)', '$(LDFLAGS)') -}
352 DSO_ASFLAGS={- join(' ', $target{dso_asflags} || (),
356 '$(CNF_ASFLAGS)', '$(ASFLAGS)') -}
357 DSO_CPPFLAGS={- join(' ', $target{dso_cppflags} || (),
359 (map { '-D'.quotify1($_) }
364 (map { '-I'.quotify1($_) }
371 '$(CNF_CPPFLAGS)', '$(CPPFLAGS)') -}
372 DSO_CFLAGS={- join(' ', $target{dso_cflags} || (),
376 '$(CNF_CFLAGS)', '$(CFLAGS)') -}
377 DSO_LDFLAGS={- join(' ', $target{dso_lflags} || (),
381 '$(CNF_LDFLAGS)', '$(LDFLAGS)') -}
383 BIN_ASFLAGS={- join(' ', $target{bin_asflags} || (),
385 '$(CNF_ASFLAGS)', '$(ASFLAGS)') -}
386 BIN_CPPFLAGS={- join(' ', $target{bin_cppflags} || (),
387 (map { '-D'.$_ } @{$config{bin_defines} || ()}),
389 '$(CNF_CPPFLAGS)', '$(CPPFLAGS)') -}
390 BIN_CFLAGS={- join(' ', $target{bin_cflags} || (),
392 '$(CNF_CFLAGS)', '$(CFLAGS)') -}
393 BIN_LDFLAGS={- join(' ', $target{bin_lflags} || (),
395 '$(CNF_LDFLAGS)', '$(LDFLAGS)') -}
399 CPPFLAGS_Q={- $cppflags1 =~ s|([\\"])|\\$1|g;
402 $cppflags1 || ()) -}
404 PERLASM_SCHEME= {- $target{perlasm_scheme} -}
406 PROCESSOR= {- $config{processor} -}
410 {- dependmagic('build_sw'); -}: build_libs_nodep build_modules_nodep build_programs_nodep copy-utils
411 {- dependmagic('build_libs'); -}: build_libs_nodep
412 {- dependmagic('build_modules'); -}: build_modules_nodep
413 {- dependmagic('build_programs'); -}: build_programs_nodep
420 build_libs_nodep: $(LIBS) {- join(" ",map { platform->sharedlib_import($_) // () } @{$unified_info{…
433 @{- output_off() if $disabled{makedepend}; "\@rem" -}
434 @$(ECHO) "Warning: consider configuring with no-makedepend, because if"
437 @{- output_on() if $disabled{makedepend}; "\@rem" -}
442 {- dependmagic('tests'); -}: build_programs_nodep build_modules_nodep copy-utils
445 @{- output_off() if $disabled{tests}; "\@rem" -}
447 @{- if ($disabled{tests}) { output_on(); } else { output_off(); } "" -}
449 @{- output_on() if !$disabled{tests}; "\@rem" -}
451 list-tests:
452 @{- output_off() if $disabled{tests}; "\@rem" -}
454 @{- if ($disabled{tests}) { output_on(); } else { output_off(); } "" -}
456 @{- output_on() if !$disabled{tests}; "\@rem" -}
458 install: install_sw install_ssldirs install_docs {- $disabled{fips} ? "" : "install_fips" -}
460 uninstall: uninstall_docs uninstall_sw {- $disabled{fips} ? "" : "uninstall_fips" -}
463 "$(PERL)" -e "map { m/(.*)\.dll$$/; unlink glob """{.,apps,test,fuzz}/$$1.*"""; } @ARGV" $(SHLIBS)
464 -del /Q /F $(LIBS) libcrypto.* libssl.* ossl_static.pdb
467 {- join("\n\t", map { "-del /Q /F $_" } @HTMLDOCS1) || "\@rem" -}
468 {- join("\n\t", map { "-del /Q /F $_" } @HTMLDOCS3) || "\@rem" -}
469 {- join("\n\t", map { "-del /Q /F $_" } @HTMLDOCS5) || "\@rem" -}
470 {- join("\n\t", map { "-del /Q /F $_" } @HTMLDOCS7) || "\@rem" -}
471 {- join("\n\t", map { "-del /Q /F $_" } @PROGRAMS) || "\@rem" -}
472 {- join("\n\t", map { "-del /Q /F $_" } @MODULES) || "\@rem" -}
473 {- join("\n\t", map { "-del /Q /F $_" } @SCRIPTS) || "\@rem" -}
474 {- join("\n\t", map { "-del /Q /F $_" } @GENERATED_MANDATORY) || "\@rem" -}
475 {- join("\n\t", map { "-del /Q /F $_" } @GENERATED) || "\@rem" -}
476 -del /Q /S /F *.d *.obj *.pdb *.ilk *.manifest
477 -del /Q /S /F engines\*.lib engines\*.exp
478 -del /Q /S /F apps\*.lib apps\*.rc apps\*.res apps\*.exp
479 -del /Q /S /F test\*.exp
480 -rd /Q /S test\test-runs
483 -del /Q /F include\openssl\configuration.h
484 -del /Q /F configdata.pm
485 -del /Q /F makefile
488 @ {- output_off() if $disabled{makedepend}; "\@rem" -}
489 @ "$(PERL)" "$(SRCDIR)\util\add-depends.pl" "{- $target{makedep_scheme} -}"
490 @ {- output_on() if $disabled{makedepend}; "\@rem" -}
502 {- output_off() if $disabled{fips}; "" -}
504 # @[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit 1)
505 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(MODULESDIR)"
506 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(OPENSSLDIR)"
508 @$(ECHO) "install $(INSTALL_FIPSMODULE) -> $(MODULESDIR)\$(FIPSMODULENAME)"
511 @$(ECHO) "install $(INSTALL_FIPSMODULECONF) -> $(OPENSSLDIR)\fipsmodule.cnf"
519 {- if ($disabled{fips}) { output_on(); } else { output_off(); } "" -}
521 @$(ECHO) "The 'install_fips' target requires the 'enable-fips' option"
524 @$(ECHO) "The 'uninstall_fips' target requires the 'enable-fips' option"
525 {- output_on() if !$disabled{fips}; "" -}
528 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(OPENSSLDIR)\certs"
529 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(OPENSSLDIR)\private"
530 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(OPENSSLDIR)\misc"
548 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\include\openssl"
549 @{- output_off() if $disabled{uplink}; "" -}
552 @{- output_on() if $disabled{uplink}; "" -}
553 @"$(PERL)" "$(SRCDIR)\util\copy.pl" "-exclude_re=/__DECC_" \
558 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(libdir)"
569 @$(ECHO) "*** Installing engines"
570 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(ENGINESDIR)"
581 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(MODULESDIR)"
594 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\bin"
605 "$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\bin"
621 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man1"
622 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man3"
623 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man5"
624 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man7"
639 @"$(PERL)" "$(SRCDIR)\util\mkdir-p.pl" "$(INSTALLTOP)\html\man7\img"
647 copy-utils: $(BLDDIR)\apps\openssl.cnf
655 makefile: configdata.pm {- join(" ", map { '"'.$_.'"' } @{$config{build_file_templates}}) -}
665 …nfigdata.pm: "$(SRCDIR)\Configure" {- join(" ", map { '"'.$_.'"' } @{$config{build_infos}}, @{$con…
667 "$(PERL)" configdata.pm -r
676 "$(PERL)" configdata.pm -r
678 {-
684 sub compute_platform_depends {
687 grep { $x eq $_ } @{$unified_info{programs}} and platform->bin($x)
688 or grep { $x eq $_ } @{$unified_info{modules}} and platform->dso($x)
689 or grep { $x eq $_ } @{$unified_info{libraries}} and platform->lib($x)
690 or platform->convertext($x); } @_;
695 sub compute_lib_depends {
697 return map { platform->staticlib($_) } @_;
699 return map { platform->sharedlib_import($_) // platform->staticlib($_) } @_;
702 sub generatetarget {
711 # (in the build tree), but quotes paths of non-generated dependencies (in the
713 # in handling quoted paths: https://quality.embarcadero.com/browse/RSP-31756
714 sub generatesrc {
716 my $gen0 = $args{generator}->[0];
719 my $gen_incs = join("", map { " -I\"$_\"" } @{$args{generator_incs}});
720 my $incs = join("", map { " -I\"$_\"" } @{$args{incs}});
721 my $defs = join("", map { " -D".$_ } @{$args{defs}});
735 "\$(PERL)" "\$(SRCDIR)/util/mkpod2html.pl" -i "$pod" -o \$\@ -t "$title" -r "\$(SRCDIR)/doc"
737 } elsif (platform->isdef($args{src})) {
739 # Linker script-ish generator
741 my $target = platform->def($args{src});
745 my $ord_ver = $args{intent} eq 'lib' ? ' --version $(VERSION_NUMBER)' : '';
747 $args{generator}->[1] || basename(platform->dsoname($args{product}));
750 …"\$(PERL)" "$mkdef"$ord_ver --type $args{intent} --ordinals $gen0 --name $ord_name --OS windows > …
752 } elsif (platform->isasm($args{src})
753 || platform->iscppasm($args{src})) {
762 } -> {$args{intent}};
763 my $target = platform->isasm($args{src})
764 ? platform->asm($args{src})
790 # "dofile" generator (file.in -> file)
797 my %perlmoduleincs = map { '"-I'.dirname($_).'"' => 1 } @perlmodules;
799 @perlmodules = map { "-M".basename($_, '.pm') } @perlmodules;
803 "\$(PERL)"$perlmodules "$dofile" "-o$target{build_file}" "$gen0"$gen_args > \$@
811 $gen0 = platform->bin($gen0);
827 sub src2obj {
828 my $asmext = platform->asmext();
832 (platform->isasm($x) && grep { $x eq $_ } @generated)
833 ? platform->asm($x) : $x }
839 my $incs = join("", map { ' -I"'.$_.'"' } @{$args{incs}});
840 my $defs = join("", map { " -D".$_ } @{$args{defs}});
844 bin => ' $(BIN_CFLAGS)' } -> {$args{intent}};
849 bin => ' $(BIN_CPPFLAGS)' } -> {$args{intent}};
853 bin => ' $(BIN_ASFLAGS)' } -> {$args{intent}};
856 my $res = platform->res($args{obj});
862 my $obj = platform->obj($args{obj});
863 my $dep = platform->dep($args{obj});
872 \$(CC) /EP -D__ASSEMBLER__ $cflags $defs $srcs > \$@.asm
878 \$(CC) $cflags $defs -c \$(COUTFLAG)\$\@ $srcs
889 sub obj2shlib {
892 my @objs = map { platform->convertext($_) }
893 grep { platform->isobj($_) }
895 my @ress = map { platform->convertext($_) }
896 grep { platform->isres($_) }
898 my @defs = map { platform->def($_) }
899 grep { platform->isdef($_) }
907 my $import = platform->sharedlib_import($lib);
908 my $dll = platform->sharedlib($lib);
936 sub obj2dso {
938 my $dso = platform->dso($args{module});
939 my $dso_n = platform->dsoname($args{module});
940 my @objs = map { platform->convertext($_) }
941 grep { platform->isobj($_) }
943 my @ress = map { platform->convertext($_) }
944 grep { platform->isres($_) }
946 my @defs = map { platform->def($_) }
947 grep { platform->isdef($_) }
966 sub obj2lib {
968 my $lib = platform->staticlib($args{lib});
969 my @objs = map { platform->obj($_) } @{$args{objs}};
979 sub obj2bin {
981 my $bin = platform->bin($args{bin});
982 my @objs = map { platform->convertext($_) }
983 grep { platform->isobj($_) }
985 my @ress = map { platform->convertext($_) }
986 grep { platform->isres($_) }
1003 sub in2script {
1012 "\$(PERL)" "-I\$(BLDDIR)" -Mconfigdata "$dofile" \\
1013 "-o$target{build_file}" $sources > \$@
1016 sub generatedir {
1019 my @deps = map { platform->convertext($_) } @{$args{deps}};
1021 my %extinfo = ( dso => platform->dsoext(),
1022 lib => platform->libext(),
1023 bin => platform->binext() );
1030 next unless defined($unified_info{dirinfo}->{$dir}->{products}->{$type});
1035 foreach my $prod (@{$unified_info{dirinfo}->{$dir}->{products}->{$type}}) {
1050 -}