BUG: change to new variables

This commit is contained in:
Bill Hoffman 2002-11-12 14:48:38 -05:00
parent 5031b41ea5
commit cb42655060
1 changed files with 6 additions and 4 deletions

View File

@ -1877,15 +1877,17 @@ void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n";
break;
case cmTarget::SHARED_LIBRARY:
fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath << "lib"
fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath
<< this->GetSafeDefinition("CMAKE_SHARED_LIBRARY_PREFIX")
<< l->first;
fout << m_Makefile->GetDefinition("CMAKE_SHLIB_SUFFIX");
fout << this->GetSafeDefinition("CMAKE_SHARED_LIBRARY_SUFFIX");
fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n";
break;
case cmTarget::MODULE_LIBRARY:
fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath << "lib"
fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath
<< this->GetSafeDefinition("CMAKE_SHARED_MODULE_PREFIX")
<< l->first;
fout << m_Makefile->GetDefinition("CMAKE_MODULE_SUFFIX");
fout << this->GetSafeDefinition("CMAKE_SHARED_MODULE_SUFFIX");
fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n";
break;
case cmTarget::WIN32_EXECUTABLE: