mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-20 15:00:59 +00:00
* ChangeLog * config/pathtls.m4 * config/pathxml.m4 * configure * configure.ac * Documentation/ReleaseNotes.gsdoc * Headers/Foundation/NSCalendar.h * Headers/Foundation/NSDate.h * Headers/Foundation/NSException.h * Headers/Foundation/NSNetServices.h * Headers/Foundation/NSString.h * Headers/Foundation/NSXMLNode.h * Headers/GNUstepBase/config.h.in * NSTimeZones/NSTimeZones.tar * Source/GSFFIInvocation.m * Source/GSPrivate.h * Source/GSSocketStream.m * Source/GSString.m * Source/NSAffineTransform.m * Source/NSBundle.m * Source/NSConnection.m * Source/NSFileManager.m * Source/NSHost.m * Source/NSInvocation.m * Source/NSJSONSerialization.m * Source/NSKeyValueCoding.m * Source/NSNotificationCenter.m * Source/NSNumberFormatter.m * Source/NSURLRequest.m * Source/NSUserDefaults.m * Source/NSXMLNode.m: Corrected infinite loop. Return an NSXMLNode for NSXMLInvalidKind per Cocoa documentation. * Tests/base/NSJSONSerialization/json.m * Tests/base/NSObject/initialize.m * Tests/base/NSString/NSString_tests.h * Tests/base/NSURLRequest/basic.m * Version: Merge with trunk. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34690 72102866-910b-0410-8b05-ffd578937521
78 lines
2.5 KiB
Text
78 lines
2.5 KiB
Text
#
|
|
# base.make
|
|
#
|
|
# Makefile flags and configs to build with the base library.
|
|
#
|
|
# Copyright (C) 2001 Free Software Foundation, Inc.
|
|
#
|
|
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
|
# Based on code originally in the gnustep make package
|
|
#
|
|
# This file is part of the GNUstep Base Library.
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either
|
|
# version 2 of the License, or (at your option) any later version.
|
|
#
|
|
# You should have received a copy of the GNU General Public
|
|
# License along with this library; see the file COPYING.LIB.
|
|
# If not, write to the Free Software Foundation,
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
ifeq ($(BASE_MAKE_LOADED),)
|
|
BASE_MAKE_LOADED=yes
|
|
|
|
ifeq ($(FOUNDATION_LIB),gnu)
|
|
#
|
|
# FIXME - macro names
|
|
#
|
|
AUXILIARY_OBJCFLAGS += @NX_CONST_STRING_OBJCFLAGS@
|
|
ifeq ($(shared),no)
|
|
CONFIG_SYSTEM_LIBS += @LIBS@
|
|
CONFIG_SYSTEM_LIB_DIR += @LDIR_FLAGS@
|
|
endif
|
|
|
|
GNUSTEP_BASE_VERSION = @VERSION@
|
|
GNUSTEP_BASE_MAJOR_VERSION = @MAJOR_VERSION@
|
|
GNUSTEP_BASE_MINOR_VERSION = @MINOR_VERSION@
|
|
GNUSTEP_BASE_SUBMINOR_VERSION = @SUBMINOR_VERSION@
|
|
|
|
FND_LDFLAGS =
|
|
FND_LIBS = -lgnustep-base
|
|
FND_DEFINE = -DGNUSTEP_BASE_LIBRARY=1
|
|
GNUSTEP_DEFINE = -DGNUSTEP
|
|
else
|
|
#
|
|
# Not using the GNUstep foundation ... must be Apple's
|
|
# So we need to use the base additions library.
|
|
#
|
|
FND_LIBS = -lgnustep-baseadd -framework Foundation
|
|
endif
|
|
|
|
# Is the ObjC2 runtime real or emulated?
|
|
# If it's not real, we need to use the emulation ObjectiveC2 headers.
|
|
OBJC2RUNTIME=@OBJC2RUNTIME@
|
|
ifeq ($(OBJC2RUNTIME),0)
|
|
AUXILIARY_OBJCFLAGS += -I$(GNUSTEP_HEADERS)/ObjectiveC2
|
|
AUXILIARY_CFLAGS += -I$(GNUSTEP_HEADERS)/ObjectiveC2
|
|
endif
|
|
|
|
# For literal string handling, base requires the compiler to store the
|
|
# string as UTF-8
|
|
AUXILIARY_OBJCFLAGS += @GS_EXEC_CHARSET@
|
|
|
|
GNUSTEP_BASE_HAVE_GNUTLS=@HAVE_GNUTLS@
|
|
GNUSTEP_BASE_HAVE_LIBXML=@HAVE_LIBXML@
|
|
GNUSTEP_BASE_HAVE_MDNS=@HAVE_MDNS@
|
|
GNUSTEP_BASE_HAVE_AVAHI=@HAVE_AVAHI@
|
|
GNUSTEP_BASE_HAVE_UCI=@HAVE_UCI@
|
|
|
|
# If we determined that the Objective-C runtime does not support
|
|
# native Objective-C exceptions, turn them off. This overrides
|
|
# the USE_OBJC_EXCEPTIONS setting in gnustep-make's config.make.
|
|
ifeq (@BASE_NATIVE_OBJC_EXCEPTIONS@, 0)
|
|
USE_OBJC_EXCEPTIONS = no
|
|
endif
|
|
|
|
endif # BASE_MAKE_LOADED
|