summaryrefslogtreecommitdiffstats
path: root/Configurations/windows-makefile.tmpl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-02-25 16:55:39 +0100
committerRichard Levitte <levitte@openssl.org>2021-03-03 14:47:01 +0100
commit3f399e3787788b1cc3832e254c53cda42873d847 (patch)
tree9eb93a058ff17e99b3c1b66926b77ff25f036134 /Configurations/windows-makefile.tmpl
parent8593ff00cc66e330228164ae5422f80ef93ed35d (diff)
build.info: Add the possibility to add dependencies on raw targets
We need to add something for the 'tests' target to depend on, so a special syntax for those is introduced: DEPEND[|tests|]=fipsmodule.cnf Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14320)
Diffstat (limited to 'Configurations/windows-makefile.tmpl')
-rw-r--r--Configurations/windows-makefile.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Configurations/windows-makefile.tmpl b/Configurations/windows-makefile.tmpl
index ce042d6ee8..f19efba7d1 100644
--- a/Configurations/windows-makefile.tmpl
+++ b/Configurations/windows-makefile.tmpl
@@ -627,6 +627,14 @@ reconfigure reconf:
return map { platform->sharedlib_import($_) // platform->staticlib($_) } @_;
}
+ sub generatetarget {
+ my %args = @_;
+ my $deps = join(" ", @{$args{deps}});
+ return <<"EOF";
+$args{target}: $deps
+EOF
+ }
+
sub generatesrc {
my %args = @_;
my ($gen0, @gens) = @{$args{generator}};