include $(GNUSTEP_MAKEFILES)/common.make

-include config.make

PACKAGE_NAME = Performance
PACKAGE_VERSION = 0.2.5
SVN_BASE_URL = svn+ssh://svn.gna.org/svn/gnustep/libs
SVN_MODULE_NAME = performance

TEST_TOOL_NAME=

LIBRARY_NAME=Performance
DOCUMENT_NAME=Performance

Performance_INTERFACE_VERSION=0.2

Performance_OBJC_FILES += \
	GSCache.m \
	GSThroughput.m \
	GSTicker.m \
	GSIndexedSkipList.m \
	GSSkipMutableArray.m \


Performance_HEADER_FILES += \
	GSCache.h \
	GSThroughput.h \
	GSTicker.h \
	GSSkipMutableArray.h \


Performance_AGSDOC_FILES += \
	GSCache.h \
	GSThroughput.h \
	GSTicker.h \
	GSSkipMutableArray.h


# Optional Java wrappers for the library
JAVA_WRAPPER_NAME = Performance

#
# Assume that the use of the gnu runtime means we have the gnustep
# base library and can use its extensions to build Performance stuff.
#
ifeq ($(OBJC_RUNTIME_LIB),gnu)
APPLE=0
else
APPLE=1
endif

ifeq ($(APPLE),1)
ADDITIONAL_OBJC_LIBS += -lgnustep-baseadd
Performance_LIBRARIES_DEPEND_UPON = -lgnustep-baseadd
endif

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

-include GNUmakefile.postamble
