diff --git a/GNUmakefile b/GNUmakefile index b853527..e97faa7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -53,6 +53,10 @@ Performance_HEADER_FILES_INSTALL_DIR = Performance -include GNUmakefile.preamble include $(GNUSTEP_MAKEFILES)/library.make +# If JIGS is installed, automatically generate Java wrappers as well. +# Because of the '-', should not complain if java-wrapper.make can't be +# found ... simply skip generation of java wrappers in that case. +-include $(GNUSTEP_MAKEFILES)/java-wrapper.make include $(GNUSTEP_MAKEFILES)/test-tool.make include $(GNUSTEP_MAKEFILES)/documentation.make diff --git a/Performance.jigs b/Performance.jigs new file mode 100644 index 0000000..d7eb351 --- /dev/null +++ b/Performance.jigs @@ -0,0 +1,34 @@ +{ /* -*-c-*- */ + "prerequisite libraries" = ( + "gnustep-base" + ); + types = { + NSTimeInterval = double; + }; + classes = ( + { + "java name" = "gnu.gnustep.Performance.GSCache"; + "objective-c name" = "GSCache"; + "class methods" = ( + "allInstances" + ); + "instance methods" = ( + "currentObjects", + "currentSize", + "lifetime", + "maxObjects", + "maxSize", + "name", + "objectForKey:", + "purge", + "setLifetime:", + "setMaxObjects:", + "setMaxSize:", + "setName:", + "setObject:forKey:", + "setObject:forKey:lifetime:", + "shrinkObjects:andSize:" + ); + }, + ); +}