Fix problem with Library projects.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35815 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Germán Arias 2012-11-22 06:47:03 +00:00
parent df3d681858
commit ca05e41d9f
2 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2012-11-22 German Arias <german@xelalug.org>
* Modules/Projects/Library/PCLibProject.m: Don't add the prefix "lib"
to LIBRARY_NAME, gnustep-make will add this prefix anyway. On the other
hand, the super class isn't able to add this prefix to
XXX_RESOURCE_FILES at GNUmakefile.
2012-08-30 Riccardo Mottola <rm@gnu.org>
* Modules/Debuggers/ProjectCenter/PTYView.m

View file

@ -258,9 +258,9 @@
// Sources
[self appendPublicHeaders:mf];
[mf appendClasses:[projectDict objectForKey:PCClasses]
forTarget:[NSString stringWithFormat:@"lib%@",projectName]];
forTarget:[NSString stringWithFormat:@"%@",projectName]];
[mf appendOtherSources:[projectDict objectForKey:PCOtherSources]
forTarget:[NSString stringWithFormat:@"lib%@",projectName]];
forTarget:[NSString stringWithFormat:@"%@",projectName]];
// Tail
[self appendTail:mf];
@ -287,12 +287,12 @@
projectName]];
[mff appendString:[NSString stringWithFormat:@"LIBRARY_VAR = %@\n",
[projectName uppercaseString]]];
[mff appendString:[NSString stringWithFormat:@"LIBRARY_NAME = lib%@\n",
[mff appendString:[NSString stringWithFormat:@"LIBRARY_NAME = %@\n",
projectName]];
[mff appendString:[NSString stringWithFormat:@"lib%@_HEADER_FILES_DIR = %@\n",
[mff appendString:[NSString stringWithFormat:@"%@_HEADER_FILES_DIR = %@\n",
projectName,@"."]];
[mff appendString:[NSString stringWithFormat:
@"lib%@_HEADER_FILES_INSTALL_DIR = /%@\n", projectName, projectName]];
@"%@_HEADER_FILES_INSTALL_DIR = /%@\n", projectName, projectName]];
}
- (void)appendPublicHeaders:(PCMakefileFactory *)mff