Reimplemented from DependencyAnalyzer.
Definition at line 655 of file cmt_triggers.cxx.
00656 {
00657 cmt_string macro_name;
00658 cmt_string output;
00659
00660 int i;
00661
00662 if (uses.size () > 0)
00663 {
00664 for (i = 0; i < uses.size (); i++)
00665 {
00666 Libmap& libmap = *(uses[i]);
00667
00668 libmap.set_used ();
00669 }
00670
00671 Libmap::LibmapVector& table = Libmap::libmaps ();
00672
00673 macro_name = constituent.name;
00674 macro_name += "linkopts";
00675
00676 output = "macro_prepend ";
00677 output += macro_name;
00678 output += " \"";
00679 for (i = 0; i < table.size (); i++)
00680 {
00681 Libmap& libmap = table[i];
00682
00683 if (libmap.used)
00684 {
00685 output += "$(implied_library_prefix)";
00686 output += libmap.name;
00687 output += "$(implied_library_suffix) ";
00688 }
00689 }
00690 output += "\"";
00691
00692 SyntaxParser::parse_requirements_text (output, "", 0);
00693
00694 Symbol* macro = Symbol::find (macro_name);
00695 output = macro_name;
00696 output += "=";
00697 output += macro->build_macro_value ();
00698
00699 cout << output << endl;
00700 }
00701 }