From 394077ac5c12c36f96558a0c37cc3040cefcfca3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 3 Oct 2007 16:19:19 -0400 Subject: BUG: When requiring a module through a .proxy rule add an empty .proxy rule in case no other source in the target provides it. Since it is not a file-level dependency there does not need to be a rule to create the .proxy as a file. This addresses bug#3984. --- Source/cmDependsFortran.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index 5bee74d..3b2bc4a 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -154,6 +154,9 @@ bool cmDependsFortran::WriteDependencies(const char *src, const char *obj, // since we require some things add them to our list of requirements makeDepends << obj << ".requires: " << i->c_str() << ".mod.proxy" << std::endl; + + // create an empty proxy in case no other source provides it + makeDepends << i->c_str() << ".mod.proxy:" << std::endl; } } -- cgit v0.12