Remove unused methods from dummy class declaration/definition.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39085 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-10-21 07:14:23 +00:00
parent 423ae3bde7
commit 5f7103b520
2 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2015-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/framework.make: Remove unused methods (-frameworkEnv and
-frameworkPath) from the dummy class.
2015-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/gnustep-tests.in: Deprecate Env.sh ... use TestInfo to

View file

@ -488,14 +488,10 @@ $(DUMMY_FRAMEWORK_FILE): $(DERIVED_SOURCES_DIR)/.stamp $(OBJ_FILES_TO_LINK) GNUm
echo "#include <Foundation/NSObject.h>" > $@; \
echo "#include <Foundation/NSString.h>" > $@; \
echo "@interface $(DUMMY_FRAMEWORK) : NSObject" >> $@; \
echo "+ (NSString *)frameworkEnv;" >> $@; \
echo "+ (NSString *)frameworkPath;" >> $@; \
echo "+ (NSString *)frameworkVersion;" >> $@; \
echo "+ (NSString *const*)frameworkClasses;" >> $@; \
echo "@end" >> $@; \
echo "@implementation $(DUMMY_FRAMEWORK)" >> $@; \
echo "+ (NSString *)frameworkEnv { return nil; }" >> $@; \
echo "+ (NSString *)frameworkPath { return @\"$(FRAMEWORK_INSTALL_DIR)\"; }" >> $@; \
echo "+ (NSString *)frameworkVersion { return @\"$(CURRENT_VERSION_NAME)\"; }" >> $@; \
echo "static NSString *allClasses[] = {$$classlist};" >> $@; \
echo "+ (NSString *const*)frameworkClasses { return allClasses; }" >> $@;\