1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
# src makefile for the GNUstep Base Library
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Written by: Scott Christley <scottc@net-community.com>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Base Library.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
2007-09-14 11:36:11 +00:00
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
1997-09-23 21:00:33 +00:00
|
|
|
# License as published by the Free Software Foundation; either
|
2008-06-08 10:38:33 +00:00
|
|
|
# version 2 of the License, or (at your option) any later version.
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Library General Public License for more details.
|
|
|
|
#
|
2007-09-14 11:36:11 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
1997-09-23 21:00:33 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
2006-03-21 15:33:05 +00:00
|
|
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02111 USA.
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
|
2007-02-20 00:09:10 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
2009-05-04 07:23:46 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
2009-05-29 10:17:21 +00:00
|
|
|
$(warning )
|
|
|
|
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
|
|
|
|
$(warning Perhaps gnustep-make is not properly installed,)
|
|
|
|
$(warning so gnustep-config is not in your PATH.)
|
|
|
|
$(warning )
|
|
|
|
$(warning Your PATH is currently $(PATH))
|
|
|
|
$(warning )
|
2009-05-04 07:23:46 +00:00
|
|
|
endif
|
2007-02-20 00:09:10 +00:00
|
|
|
endif
|
2007-02-19 14:26:53 +00:00
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
|
|
|
endif
|
|
|
|
|
2008-12-19 12:53:30 +00:00
|
|
|
PACKAGE_NAME = gnustep-base
|
2007-02-20 00:09:10 +00:00
|
|
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../base.make
|
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
include ../Version
|
|
|
|
include ../config.mak
|
|
|
|
|
2004-09-05 02:31:35 +00:00
|
|
|
# Interface version changes with each minor release
|
2007-03-09 19:09:08 +00:00
|
|
|
libgnustep-base_INTERFACE_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
|
|
|
|
libgnustep-baseadd_INTERFACE_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
|
2004-09-05 02:31:35 +00:00
|
|
|
|
2001-02-21 18:03:36 +00:00
|
|
|
PACKAGE_NAME = gnustep-base
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# The library to be compiled
|
2002-05-22 14:23:17 +00:00
|
|
|
LIBRARY_NAME=
|
2002-02-25 09:23:45 +00:00
|
|
|
ifeq ($(add),yes)
|
2002-05-22 14:23:17 +00:00
|
|
|
LIBRARY_NAME += libgnustep-baseadd
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(base),no)
|
|
|
|
LIBRARY_NAME += libgnustep-base
|
2002-02-25 09:23:45 +00:00
|
|
|
endif
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2011-03-13 12:52:37 +00:00
|
|
|
OBJECTIVEC2_HEADERS =
|
|
|
|
|
2010-02-20 06:49:32 +00:00
|
|
|
ifeq ($(OBJC2RUNTIME),0)
|
2011-03-13 08:20:17 +00:00
|
|
|
libgnustep-base_SUBPROJECTS = ObjectiveC2
|
2011-03-13 12:52:37 +00:00
|
|
|
OBJECTIVEC2_HEADERS += \
|
|
|
|
Availability.h blocks_runtime.h capabilities.h runtime.h
|
2011-03-13 08:20:17 +00:00
|
|
|
else
|
|
|
|
ifeq ($(HAVE_BLOCKS),0)
|
|
|
|
libgnustep-base_SUBPROJECTS = ObjectiveC2
|
2011-03-13 12:52:37 +00:00
|
|
|
OBJECTIVEC2_HEADERS += blocks_runtime.h
|
2011-03-13 08:20:17 +00:00
|
|
|
endif
|
2010-02-19 12:51:02 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
libgnustep-base_SUBPROJECTS += Additions
|
|
|
|
libgnustep-baseadd_SUBPROJECTS += Additions
|
2002-03-06 15:50:14 +00:00
|
|
|
|
2005-02-23 16:05:09 +00:00
|
|
|
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
|
2011-03-13 08:20:17 +00:00
|
|
|
libgnustep-base_SUBPROJECTS += win32
|
2005-02-23 16:05:09 +00:00
|
|
|
else
|
2011-03-13 08:20:17 +00:00
|
|
|
libgnustep-base_SUBPROJECTS += unix
|
2005-02-23 16:05:09 +00:00
|
|
|
endif
|
|
|
|
|
2011-10-15 05:02:22 +00:00
|
|
|
DEFS+= -DGNUSTEP_TARGET_DIR=\"$(GNUSTEP_TARGET_DIR)\" \
|
2001-10-17 03:45:32 +00:00
|
|
|
-DGNUSTEP_TARGET_CPU=\"$(GNUSTEP_TARGET_CPU)\" \
|
|
|
|
-DGNUSTEP_TARGET_OS=\"$(GNUSTEP_TARGET_OS)\" \
|
2006-10-02 16:06:37 +00:00
|
|
|
-DGNUSTEP_IS_FLATTENED=\"$(GNUSTEP_IS_FLATTENED)\" \
|
2010-02-18 11:40:58 +00:00
|
|
|
-DLIBRARY_COMBO=\"$(LIBRARY_COMBO)\" \
|
|
|
|
-DGNUSTEP_BASE_INTERNAL=1
|
2001-10-17 03:45:32 +00:00
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
# The GNU source files
|
|
|
|
|
|
|
|
GNU_MFILES = \
|
2000-10-27 15:54:35 +00:00
|
|
|
GSLocale.m \
|
2009-10-05 16:00:28 +00:00
|
|
|
preface.m
|
2001-04-12 21:09:17 +00:00
|
|
|
|
2006-03-17 09:20:06 +00:00
|
|
|
ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
|
2011-04-03 09:54:57 +00:00
|
|
|
OBJC_LIBS += -pthread
|
2006-03-17 09:20:06 +00:00
|
|
|
endif
|
|
|
|
|
2000-09-13 03:51:30 +00:00
|
|
|
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
|
2009-01-12 12:48:46 +00:00
|
|
|
GNU_MFILES += libgnustep-base-entry.m
|
2000-09-13 03:51:30 +00:00
|
|
|
endif
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
GNU_OTHER_SRCFILES = \
|
|
|
|
win32-entry.m \
|
|
|
|
win32-def.top \
|
|
|
|
libgnustep-base.def
|
|
|
|
|
2011-03-13 12:52:37 +00:00
|
|
|
GNUSTEPBASE_HEADERS = \
|
2009-12-27 15:25:12 +00:00
|
|
|
GSBlocks.h \
|
2006-10-09 18:32:11 +00:00
|
|
|
GSVersionMacros.h \
|
2003-03-03 10:01:29 +00:00
|
|
|
GSObjCRuntime.h \
|
2003-07-31 23:49:32 +00:00
|
|
|
GSUnion.h \
|
|
|
|
GSIArray.h \
|
|
|
|
GSIMap.h \
|
|
|
|
GCObject.h \
|
2003-10-27 13:23:19 +00:00
|
|
|
GSLock.h \
|
2005-03-15 08:11:04 +00:00
|
|
|
GSFunctions.h \
|
2003-07-31 23:49:32 +00:00
|
|
|
GSMime.h \
|
|
|
|
GSXML.h \
|
|
|
|
GSLocale.h \
|
2010-02-14 10:48:10 +00:00
|
|
|
NSArray+GNUstepBase.h \
|
|
|
|
NSAttributedString+GNUstepBase.h \
|
|
|
|
NSBundle+GNUstepBase.h \
|
|
|
|
NSCalendarDate+GNUstepBase.h \
|
|
|
|
NSData+GNUstepBase.h \
|
2010-02-18 16:18:54 +00:00
|
|
|
NSDebug+GNUstepBase.h \
|
2010-02-14 10:48:10 +00:00
|
|
|
NSFileHandle+GNUstepBase.h \
|
|
|
|
NSLock+GNUstepBase.h \
|
|
|
|
NSMutableString+GNUstepBase.h \
|
2010-07-13 10:35:13 +00:00
|
|
|
NSNetServices+GNUstepBase.h \
|
2010-02-14 10:48:10 +00:00
|
|
|
NSNumber+GNUstepBase.h \
|
|
|
|
NSObject+GNUstepBase.h \
|
|
|
|
NSProcessInfo+GNUstepBase.h \
|
2010-03-05 12:41:40 +00:00
|
|
|
NSStream+GNUstepBase.h \
|
2010-02-14 10:48:10 +00:00
|
|
|
NSString+GNUstepBase.h \
|
|
|
|
NSTask+GNUstepBase.h \
|
2010-02-18 16:18:54 +00:00
|
|
|
NSThread+GNUstepBase.h \
|
2010-02-14 10:48:10 +00:00
|
|
|
NSURL+GNUstepBase.h \
|
2003-03-03 10:01:29 +00:00
|
|
|
Unicode.h \
|
2003-07-11 18:50:20 +00:00
|
|
|
GNUstep.h \
|
2010-02-14 10:48:10 +00:00
|
|
|
Additions.h
|
2003-03-03 10:01:29 +00:00
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# GNUStep source files
|
|
|
|
|
|
|
|
BASE_MFILES = \
|
2010-06-30 13:08:22 +00:00
|
|
|
CXXException.m\
|
2001-01-08 16:45:36 +00:00
|
|
|
GSArray.m \
|
2001-01-09 08:40:09 +00:00
|
|
|
GSAttributedString.m \
|
2011-03-13 08:20:17 +00:00
|
|
|
GSBlocks.m \
|
2006-05-26 08:11:38 +00:00
|
|
|
GSConcreteValue.m \
|
2000-12-07 22:57:56 +00:00
|
|
|
GSCountedSet.m \
|
2001-01-09 09:17:31 +00:00
|
|
|
GSDictionary.m \
|
2002-06-16 11:52:53 +00:00
|
|
|
GSFTPURLHandle.m \
|
2012-09-20 09:32:00 +00:00
|
|
|
GSFormat.m \
|
2006-06-20 09:56:36 +00:00
|
|
|
GSHTTPAuthentication.m \
|
2000-11-17 16:19:56 +00:00
|
|
|
GSHTTPURLHandle.m \
|
2012-09-20 09:32:00 +00:00
|
|
|
GSICUString.m \
|
|
|
|
GSQuickSort.m \
|
2006-03-21 15:33:05 +00:00
|
|
|
GSRunLoopWatcher.m \
|
2000-12-07 22:57:56 +00:00
|
|
|
GSSet.m \
|
2012-09-20 09:32:00 +00:00
|
|
|
GSShellSort.m \
|
2008-01-04 10:28:27 +00:00
|
|
|
GSSocketStream.m \
|
2006-02-15 17:34:47 +00:00
|
|
|
GSStream.m \
|
2000-10-09 04:41:18 +00:00
|
|
|
GSString.m \
|
2012-09-19 13:31:09 +00:00
|
|
|
GSTimSort.m \
|
2012-09-24 09:07:55 +00:00
|
|
|
GSTLS.m \
|
2001-01-12 14:29:34 +00:00
|
|
|
GSValue.m \
|
2006-11-19 11:29:13 +00:00
|
|
|
NSAffineTransform.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSArchiver.m \
|
|
|
|
NSArray.m \
|
|
|
|
NSAssertionHandler.m \
|
2006-11-19 11:29:13 +00:00
|
|
|
NSAttributedString.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSAutoreleasePool.m \
|
|
|
|
NSBundle.m \
|
2009-08-31 21:45:53 +00:00
|
|
|
NSCache.m \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSCachedURLResponse.m \
|
2010-12-15 00:04:51 +00:00
|
|
|
NSCalendar.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSCalendarDate.m \
|
|
|
|
NSCallBacks.m \
|
|
|
|
NSCharacterSet.m \
|
2000-11-27 22:26:08 +00:00
|
|
|
NSClassDescription.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSCoder.m \
|
|
|
|
NSCopyObject.m \
|
|
|
|
NSCountedSet.m \
|
2009-04-16 09:07:13 +00:00
|
|
|
NSConcreteHashTable.m \
|
2009-03-16 10:54:59 +00:00
|
|
|
NSConcreteMapTable.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSConnection.m \
|
|
|
|
NSData.m \
|
|
|
|
NSDate.m \
|
1998-12-02 20:16:23 +00:00
|
|
|
NSDateFormatter.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSDebug.m \
|
2000-07-16 16:58:18 +00:00
|
|
|
NSDecimal.m \
|
|
|
|
NSDecimalNumber.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSDictionary.m \
|
|
|
|
NSDistantObject.m \
|
1997-11-03 01:40:03 +00:00
|
|
|
NSDistributedLock.m \
|
1998-11-02 17:01:52 +00:00
|
|
|
NSDistributedNotificationCenter.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSEnumerator.m \
|
2004-05-17 09:24:29 +00:00
|
|
|
NSError.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSException.m \
|
|
|
|
NSFileHandle.m \
|
|
|
|
NSFileManager.m \
|
1998-11-12 16:56:33 +00:00
|
|
|
NSFormatter.m \
|
2009-01-12 21:35:51 +00:00
|
|
|
NSGarbageCollector.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSGeometry.m \
|
|
|
|
NSHashTable.m \
|
|
|
|
NSHost.m \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSHTTPCookie.m \
|
|
|
|
NSHTTPCookieStorage.m \
|
2006-02-12 19:02:58 +00:00
|
|
|
NSIndexPath.m \
|
2004-02-24 21:23:53 +00:00
|
|
|
NSIndexSet.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSInvocation.m \
|
2011-07-25 15:50:51 +00:00
|
|
|
NSJSONSerialization.m \
|
2004-01-22 09:37:07 +00:00
|
|
|
NSKeyedArchiver.m \
|
|
|
|
NSKeyedUnarchiver.m \
|
2002-02-25 07:05:58 +00:00
|
|
|
NSKeyValueCoding.m \
|
2005-07-01 17:31:07 +00:00
|
|
|
NSKeyValueObserving.m \
|
2010-06-25 07:18:20 +00:00
|
|
|
NSLocale.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSLock.m \
|
|
|
|
NSLog.m \
|
|
|
|
NSMapTable.m \
|
|
|
|
NSMethodSignature.m \
|
|
|
|
NSNotification.m \
|
|
|
|
NSNotificationCenter.m \
|
|
|
|
NSNotificationQueue.m \
|
2000-10-21 07:43:57 +00:00
|
|
|
NSNull.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSNumber.m \
|
2000-09-02 01:44:54 +00:00
|
|
|
NSNumberFormatter.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSObjCRuntime.m \
|
|
|
|
NSObject.m \
|
2008-12-25 23:38:58 +00:00
|
|
|
NSObject+NSComparisonMethods.m \
|
2009-07-13 18:14:42 +00:00
|
|
|
NSOperation.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSPage.m \
|
2005-03-03 16:04:22 +00:00
|
|
|
NSPathUtilities.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSPipe.m \
|
2009-01-23 17:49:37 +00:00
|
|
|
NSPointerArray.m \
|
2009-01-22 18:43:47 +00:00
|
|
|
NSPointerFunctions.m \
|
2009-02-10 19:47:01 +00:00
|
|
|
NSConcretePointerFunctions.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSPort.m \
|
|
|
|
NSPortCoder.m \
|
1998-10-21 14:04:45 +00:00
|
|
|
NSPortMessage.m \
|
1998-10-29 12:50:23 +00:00
|
|
|
NSPortNameServer.m \
|
2006-05-09 14:21:26 +00:00
|
|
|
NSPredicate.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSProcessInfo.m \
|
2004-01-22 09:37:07 +00:00
|
|
|
NSPropertyList.m \
|
1998-06-16 13:52:57 +00:00
|
|
|
NSProtocolChecker.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSProxy.m \
|
|
|
|
NSRange.m \
|
Added implementation of NSRegularExpression, from iOS 4 Foundation.
This class is a thin wrapper around libicu regular expressions, so if we don't
have libicu we simply don't compile it at all. This will give people a linker
failure, rather than a nonfunctional class if they try to use GNUstep without
ICU with code that requires it.
The Apple documentation says that this class has a primitive method that takes
a block as an argument and that this method is called by others, so subclasses
can replace that block method without touching the convenience methods. We
mimic this behaviour when compiling with block, but when compiling without them
it's a problem. The current code contains some ugly hacks that will work in
normal usage but break with subclassing when not compiling with blocks.
This commit also includes a partial implementation of NSTextCheckingResult,
implementing the subset of its functionality required for NSRegularExpression
to work.
It also includes numerous fixes to GSICUString. This is heavily used by
NSRegularExpression, to avoid copying strings when mapping between UText for
libicu and NSString for GNUstep.
Note: I don't have a copy of iOS anywhere to test this against, so it's
entirely possible that there are significant discrepancies between this
implementation of NSRegularExpression and the iOS version. This version should
function exactly as the iOS one is described as functioning, but I think we've
all seen that Apple documentation refers more to hopes than facts. Any testing
that someone who does have an ip{hone,od,ad} can do is very welcome.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31635 72102866-910b-0410-8b05-ffd578937521
2010-11-19 22:06:18 +00:00
|
|
|
NSRegularExpression.m\
|
1997-09-23 21:00:33 +00:00
|
|
|
NSRunLoop.m \
|
|
|
|
NSScanner.m \
|
|
|
|
NSSerializer.m \
|
|
|
|
NSSet.m \
|
2003-07-15 05:21:34 +00:00
|
|
|
NSSocketPort.m \
|
|
|
|
NSSocketPortNameServer.m \
|
2005-08-30 14:54:43 +00:00
|
|
|
NSSortDescriptor.m \
|
2007-03-04 15:26:35 +00:00
|
|
|
NSSpellServer.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSString.m \
|
1998-01-19 15:20:15 +00:00
|
|
|
NSTask.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSThread.m \
|
|
|
|
NSTimer.m \
|
|
|
|
NSTimeZone.m \
|
1998-10-24 09:58:16 +00:00
|
|
|
NSUnarchiver.m \
|
1998-05-21 13:41:55 +00:00
|
|
|
NSUndoManager.m \
|
2000-10-09 04:41:18 +00:00
|
|
|
NSURL.m \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSURLAuthenticationChallenge.m \
|
|
|
|
NSURLCache.m \
|
|
|
|
NSURLCredential.m \
|
|
|
|
NSURLConnection.m \
|
|
|
|
NSURLCredentialStorage.m \
|
|
|
|
NSURLDownload.m \
|
|
|
|
NSURLProtectionSpace.m \
|
|
|
|
NSURLProtocol.m \
|
|
|
|
NSURLRequest.m \
|
|
|
|
NSURLResponse.m \
|
Added implementation of NSRegularExpression, from iOS 4 Foundation.
This class is a thin wrapper around libicu regular expressions, so if we don't
have libicu we simply don't compile it at all. This will give people a linker
failure, rather than a nonfunctional class if they try to use GNUstep without
ICU with code that requires it.
The Apple documentation says that this class has a primitive method that takes
a block as an argument and that this method is called by others, so subclasses
can replace that block method without touching the convenience methods. We
mimic this behaviour when compiling with block, but when compiling without them
it's a problem. The current code contains some ugly hacks that will work in
normal usage but break with subclassing when not compiling with blocks.
This commit also includes a partial implementation of NSTextCheckingResult,
implementing the subset of its functionality required for NSRegularExpression
to work.
It also includes numerous fixes to GSICUString. This is heavily used by
NSRegularExpression, to avoid copying strings when mapping between UText for
libicu and NSString for GNUstep.
Note: I don't have a copy of iOS anywhere to test this against, so it's
entirely possible that there are significant discrepancies between this
implementation of NSRegularExpression and the iOS version. This version should
function exactly as the iOS one is described as functioning, but I think we've
all seen that Apple documentation refers more to hopes than facts. Any testing
that someone who does have an ip{hone,od,ad} can do is very welcome.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31635 72102866-910b-0410-8b05-ffd578937521
2010-11-19 22:06:18 +00:00
|
|
|
NSTextCheckingResult.m\
|
2000-10-09 04:41:18 +00:00
|
|
|
NSURLHandle.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSUserDefaults.m \
|
|
|
|
NSValue.m \
|
2006-12-25 18:50:15 +00:00
|
|
|
NSValueTransformer.m \
|
2009-02-09 16:16:11 +00:00
|
|
|
NSXMLDocument.m \
|
|
|
|
NSXMLDTD.m \
|
|
|
|
NSXMLDTDNode.m \
|
|
|
|
NSXMLElement.m \
|
|
|
|
NSXMLNode.m \
|
2004-10-20 10:48:04 +00:00
|
|
|
NSXMLParser.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSZone.m \
|
1999-02-13 00:50:41 +00:00
|
|
|
externs.m \
|
2005-02-23 16:05:09 +00:00
|
|
|
objc-load.m
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2003-07-15 05:21:34 +00:00
|
|
|
ifneq ($(GNUSTEP_TARGET_OS), mingw32)
|
|
|
|
BASE_MFILES += \
|
2005-11-14 09:25:31 +00:00
|
|
|
GSFileHandle.m \
|
2003-07-15 05:21:34 +00:00
|
|
|
NSMessagePort.m \
|
|
|
|
NSMessagePortNameServer.m
|
2010-07-13 10:35:13 +00:00
|
|
|
endif
|
2006-12-27 14:11:14 +00:00
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_BASE_HAVE_MDNS), 1)
|
2010-07-13 10:35:13 +00:00
|
|
|
BASE_MFILES += NSNetServices.m \
|
|
|
|
GSMDNSNetServices.m
|
2006-12-27 14:11:14 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-13 10:35:13 +00:00
|
|
|
ifeq ($(GNUSTEP_BASE_HAVE_AVAHI), 1)
|
|
|
|
BASE_MFILES += NSNetServices.m \
|
|
|
|
GSAvahiNetService.m \
|
|
|
|
GSAvahiNetServiceBrowser.m \
|
|
|
|
GSAvahiClient.m \
|
|
|
|
GSAvahiRunLoopIntegration.m
|
2003-07-15 05:21:34 +00:00
|
|
|
endif
|
|
|
|
|
2000-12-08 19:06:00 +00:00
|
|
|
ifeq ($(WITH_FFI),libffi)
|
|
|
|
GNU_MFILES += cifframe.m
|
|
|
|
BASE_MFILES += GSFFIInvocation.m
|
|
|
|
endif
|
|
|
|
ifeq ($(WITH_FFI),ffcall)
|
|
|
|
GNU_MFILES += callframe.m
|
|
|
|
BASE_MFILES += GSFFCallInvocation.m
|
|
|
|
endif
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
BASE_OTHER_SRCFILES = \
|
2006-05-26 08:11:38 +00:00
|
|
|
GSConcreteValueTemplate.m \
|
2001-01-12 14:29:34 +00:00
|
|
|
GSTemplateValue.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
dld-load.h \
|
|
|
|
hpux-load.h \
|
|
|
|
null-load.h \
|
|
|
|
simple-load.h \
|
1998-10-06 20:06:01 +00:00
|
|
|
win32-load.h \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSCallBacks.h \
|
|
|
|
tzfile.h
|
|
|
|
|
2002-08-16 08:35:18 +00:00
|
|
|
FOUNDATION_HEADERS = \
|
|
|
|
Foundation.h \
|
2008-03-18 20:34:35 +00:00
|
|
|
FoundationErrors.h \
|
2006-11-19 11:29:13 +00:00
|
|
|
NSAffineTransform.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSArchiver.h \
|
|
|
|
NSArray.h \
|
|
|
|
NSAttributedString.h \
|
|
|
|
NSAutoreleasePool.h \
|
|
|
|
NSBundle.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSByteOrder.h \
|
2009-08-31 21:45:53 +00:00
|
|
|
NSCache.h\
|
2010-12-16 02:57:31 +00:00
|
|
|
NSCalendar.h \
|
2001-03-08 14:48:27 +00:00
|
|
|
NSCalendarDate.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSCharacterSet.h \
|
2000-11-27 22:26:08 +00:00
|
|
|
NSClassDescription.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSCoder.h \
|
2006-05-09 14:21:26 +00:00
|
|
|
NSComparisonPredicate.h \
|
|
|
|
NSCompoundPredicate.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSConnection.h \
|
|
|
|
NSData.h \
|
|
|
|
NSDateFormatter.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSDate.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSDebug.h \
|
|
|
|
NSDecimal.h \
|
|
|
|
NSDecimalNumber.h \
|
|
|
|
NSDictionary.h \
|
|
|
|
NSDistantObject.h \
|
|
|
|
NSDistributedLock.h \
|
|
|
|
NSDistributedNotificationCenter.h \
|
|
|
|
NSEnumerator.h \
|
2004-05-17 09:24:29 +00:00
|
|
|
NSError.h \
|
2007-07-25 12:48:57 +00:00
|
|
|
NSErrorRecoveryAttempting.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSException.h \
|
2006-05-09 14:21:26 +00:00
|
|
|
NSExpression.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSFileHandle.h \
|
|
|
|
NSFileManager.h \
|
|
|
|
NSFormatter.h \
|
2009-01-12 21:35:51 +00:00
|
|
|
NSGarbageCollector.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSGeometry.h \
|
|
|
|
NSHashTable.h \
|
|
|
|
NSHost.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSHTTPCookie.h \
|
|
|
|
NSHTTPCookieStorage.h \
|
2006-02-12 19:02:58 +00:00
|
|
|
NSIndexPath.h \
|
2004-02-24 21:23:53 +00:00
|
|
|
NSIndexSet.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSInvocation.h \
|
2011-07-25 15:50:51 +00:00
|
|
|
NSJSONSerialization.h \
|
2004-01-22 09:37:07 +00:00
|
|
|
NSKeyedArchiver.h \
|
2002-02-25 08:57:03 +00:00
|
|
|
NSKeyValueCoding.h \
|
2005-07-01 17:31:07 +00:00
|
|
|
NSKeyValueObserving.h \
|
2010-06-25 07:18:20 +00:00
|
|
|
NSLocale.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSLock.h \
|
|
|
|
NSMapTable.h \
|
|
|
|
NSMethodSignature.h \
|
2006-12-27 14:11:14 +00:00
|
|
|
NSNetServices.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSNotification.h \
|
|
|
|
NSNotificationQueue.h \
|
2000-10-21 07:43:57 +00:00
|
|
|
NSNull.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSNumberFormatter.h \
|
|
|
|
NSObjCRuntime.h \
|
|
|
|
NSObject.h \
|
2009-07-13 18:14:42 +00:00
|
|
|
NSOperation.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSPathUtilities.h \
|
2009-01-23 17:49:37 +00:00
|
|
|
NSPointerArray.h \
|
2009-01-22 18:43:47 +00:00
|
|
|
NSPointerFunctions.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSPortCoder.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSPort.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSPortMessage.h \
|
|
|
|
NSPortNameServer.h \
|
2006-05-09 14:21:26 +00:00
|
|
|
NSPredicate.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSProcessInfo.h \
|
2004-01-22 09:37:07 +00:00
|
|
|
NSPropertyList.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSProtocolChecker.h \
|
|
|
|
NSProxy.h \
|
|
|
|
NSRange.h \
|
Added implementation of NSRegularExpression, from iOS 4 Foundation.
This class is a thin wrapper around libicu regular expressions, so if we don't
have libicu we simply don't compile it at all. This will give people a linker
failure, rather than a nonfunctional class if they try to use GNUstep without
ICU with code that requires it.
The Apple documentation says that this class has a primitive method that takes
a block as an argument and that this method is called by others, so subclasses
can replace that block method without touching the convenience methods. We
mimic this behaviour when compiling with block, but when compiling without them
it's a problem. The current code contains some ugly hacks that will work in
normal usage but break with subclassing when not compiling with blocks.
This commit also includes a partial implementation of NSTextCheckingResult,
implementing the subset of its functionality required for NSRegularExpression
to work.
It also includes numerous fixes to GSICUString. This is heavily used by
NSRegularExpression, to avoid copying strings when mapping between UText for
libicu and NSString for GNUstep.
Note: I don't have a copy of iOS anywhere to test this against, so it's
entirely possible that there are significant discrepancies between this
implementation of NSRegularExpression and the iOS version. This version should
function exactly as the iOS one is described as functioning, but I think we've
all seen that Apple documentation refers more to hopes than facts. Any testing
that someone who does have an ip{hone,od,ad} can do is very welcome.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31635 72102866-910b-0410-8b05-ffd578937521
2010-11-19 22:06:18 +00:00
|
|
|
NSRegularExpression.h\
|
2000-09-29 14:44:45 +00:00
|
|
|
NSRunLoop.h \
|
|
|
|
NSScanner.h \
|
2012-09-17 16:05:06 +00:00
|
|
|
NSScriptWhoseTests.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSSerialization.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSSet.h \
|
2005-08-31 15:32:10 +00:00
|
|
|
NSSortDescriptor.h \
|
2007-03-04 15:26:35 +00:00
|
|
|
NSSpellServer.h \
|
2006-02-15 17:34:47 +00:00
|
|
|
NSStream.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSString.h \
|
|
|
|
NSTask.h \
|
Added implementation of NSRegularExpression, from iOS 4 Foundation.
This class is a thin wrapper around libicu regular expressions, so if we don't
have libicu we simply don't compile it at all. This will give people a linker
failure, rather than a nonfunctional class if they try to use GNUstep without
ICU with code that requires it.
The Apple documentation says that this class has a primitive method that takes
a block as an argument and that this method is called by others, so subclasses
can replace that block method without touching the convenience methods. We
mimic this behaviour when compiling with block, but when compiling without them
it's a problem. The current code contains some ugly hacks that will work in
normal usage but break with subclassing when not compiling with blocks.
This commit also includes a partial implementation of NSTextCheckingResult,
implementing the subset of its functionality required for NSRegularExpression
to work.
It also includes numerous fixes to GSICUString. This is heavily used by
NSRegularExpression, to avoid copying strings when mapping between UText for
libicu and NSString for GNUstep.
Note: I don't have a copy of iOS anywhere to test this against, so it's
entirely possible that there are significant discrepancies between this
implementation of NSRegularExpression and the iOS version. This version should
function exactly as the iOS one is described as functioning, but I think we've
all seen that Apple documentation refers more to hopes than facts. Any testing
that someone who does have an ip{hone,od,ad} can do is very welcome.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31635 72102866-910b-0410-8b05-ffd578937521
2010-11-19 22:06:18 +00:00
|
|
|
NSTextCheckingResult.h\
|
2000-09-29 14:44:45 +00:00
|
|
|
NSThread.h \
|
|
|
|
NSTimer.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSTimeZone.h \
|
|
|
|
NSUndoManager.h \
|
|
|
|
NSURLAuthenticationChallenge.h \
|
|
|
|
NSURLCache.h \
|
|
|
|
NSURLConnection.h \
|
|
|
|
NSURLCredential.h \
|
|
|
|
NSURLCredentialStorage.h \
|
|
|
|
NSURLDownload.h \
|
|
|
|
NSURLError.h \
|
2002-01-03 13:17:30 +00:00
|
|
|
NSURL.h \
|
|
|
|
NSURLHandle.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSURLProtectionSpace.h \
|
|
|
|
NSURLProtocol.h \
|
|
|
|
NSURLRequest.h \
|
|
|
|
NSURLResponse.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSUserDefaults.h \
|
2002-01-05 06:29:03 +00:00
|
|
|
NSUtilities.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSValue.h \
|
2006-12-25 18:50:15 +00:00
|
|
|
NSValueTransformer.h \
|
2009-02-09 16:16:11 +00:00
|
|
|
NSXMLDocument.h \
|
|
|
|
NSXMLDTD.h \
|
|
|
|
NSXMLDTDNode.h \
|
|
|
|
NSXMLElement.h \
|
|
|
|
NSXMLNode.h \
|
|
|
|
NSXMLNodeOptions.h \
|
2004-10-20 10:48:04 +00:00
|
|
|
NSXMLParser.h \
|
2003-04-28 02:29:49 +00:00
|
|
|
NSZone.h
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2011-03-13 12:52:37 +00:00
|
|
|
HEADERS_INSTALL = \
|
|
|
|
$(OBJECTIVEC2_HEADERS) \
|
|
|
|
$(GNUSTEPBASE_HEADERS) \
|
|
|
|
$(FOUNDATION_HEADERS)
|
1997-09-23 21:00:33 +00:00
|
|
|
|
1997-09-27 15:26:51 +00:00
|
|
|
GENERATED_HFILES = \
|
|
|
|
dynamic-load.h \
|
2000-12-05 16:11:55 +00:00
|
|
|
$(GNUSTEP_TARGET_DIR)/config.h \
|
2010-07-01 10:15:37 +00:00
|
|
|
$(GNUSTEP_TARGET_DIR)/common.h \
|
2007-02-16 08:09:55 +00:00
|
|
|
$(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h
|
1997-09-27 15:26:51 +00:00
|
|
|
|
2010-02-20 06:49:32 +00:00
|
|
|
|
2006-03-01 23:54:52 +00:00
|
|
|
ifeq ($(HAVE_INET_PTON), no)
|
2011-10-12 16:23:52 +00:00
|
|
|
GNU_MFILES += inet_pton.m
|
2006-03-01 23:54:52 +00:00
|
|
|
endif
|
2008-01-10 16:05:41 +00:00
|
|
|
ifeq ($(HAVE_INET_NTOP), no)
|
2011-10-12 16:23:52 +00:00
|
|
|
GNU_MFILES += inet_ntop.m
|
2008-01-10 16:05:41 +00:00
|
|
|
endif
|
2006-03-01 23:54:52 +00:00
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
# The Objective-C source files to be compiled
|
1998-07-28 17:51:55 +00:00
|
|
|
libgnustep-base_OBJC_FILES = $(GNU_MFILES) \
|
2006-05-26 08:11:38 +00:00
|
|
|
$(BASE_MFILES)
|
2006-03-01 23:54:52 +00:00
|
|
|
libgnustep-base_C_FILES = $(GNU_CFILES)
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2000-06-30 22:42:48 +00:00
|
|
|
# Extra DLL exports file
|
|
|
|
libgnustep-base_DLL_DEF = libgnustep-base.def
|
|
|
|
|
2003-07-31 23:49:32 +00:00
|
|
|
libgnustep-base_HEADER_FILES_DIR = $(HEADER_DIR_FND)
|
2000-09-29 14:44:45 +00:00
|
|
|
libgnustep-base_HEADER_FILES_INSTALL_DIR = /Foundation
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2001-09-26 17:05:58 +00:00
|
|
|
libgnustep-base_HEADER_FILES = $(FOUNDATION_HEADERS)
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2004-10-26 19:08:17 +00:00
|
|
|
# Resources
|
|
|
|
RESOURCE_SET_NAME = libbase-resources
|
2007-02-14 12:07:33 +00:00
|
|
|
|
|
|
|
# This is for gnustep-make >= 14-02-2007
|
2007-03-09 19:09:08 +00:00
|
|
|
libbase-resources_INSTALL_DIR = $(GNUSTEP_LIBRARY)/Libraries/gnustep-base/Versions/$(libgnustep-base_INTERFACE_VERSION)/Resources
|
2007-02-14 12:07:33 +00:00
|
|
|
# This is kept temporarily for gnustep-make < 14-02-2007
|
|
|
|
libbase-resources_RESOURCE_FILES_INSTALL_DIR = /Library/Libraries/Resources/gnustep-base
|
|
|
|
|
2004-10-26 19:08:17 +00:00
|
|
|
libbase-resources_LANGUAGES =
|
|
|
|
libbase-resources_LOCALIZED_RESOURCE_FILES =
|
|
|
|
libbase-resources_RESOURCE_DIRS =
|
|
|
|
libbase-resources_RESOURCE_FILES = Info-gnustep.plist
|
|
|
|
|
2008-02-19 11:01:07 +00:00
|
|
|
libgnustep-base_NEEDS_GUI = NO
|
|
|
|
libgnustep-baseadd_NEEDS_GUI = NO
|
2004-10-26 19:08:17 +00:00
|
|
|
|
2010-02-11 17:50:01 +00:00
|
|
|
# Build the Additions subproject first. It can then be used in by
|
|
|
|
# both gnustep-base and gnustep-baseadd (otherwise, if we ever build
|
|
|
|
# gnustep-base and gnustep-baseadd in parallel, they'd both try to
|
|
|
|
# build Additions as a subproject, causing concurrency issues). If it
|
|
|
|
# can be guaranteed that they'll never be built together, this could
|
|
|
|
# be removed.
|
2010-02-20 06:49:32 +00:00
|
|
|
ifeq ($(OBJC2RUNTIME),0)
|
2010-02-19 12:51:02 +00:00
|
|
|
SUBPROJECTS = ObjectiveC2
|
|
|
|
endif
|
|
|
|
SUBPROJECTS += Additions
|
2010-04-18 18:18:45 +00:00
|
|
|
|
2010-02-11 17:50:01 +00:00
|
|
|
-include Makefile.preamble
|
1998-12-17 22:25:25 +00:00
|
|
|
|
2010-02-11 17:50:01 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/aggregate.make
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/library.make
|
2004-10-26 19:08:17 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/resource-set.make
|
2002-01-04 17:50:03 +00:00
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
-include Makefile.postamble
|
2003-07-31 23:49:32 +00:00
|
|
|
|
|
|
|
include CompatibilityHeaders.make
|