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
|
|
|
|
# modify it under the terms of the GNU Library General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
|
|
|
# License along with this library; if not, write to the Free
|
1999-09-09 02:56:20 +00:00
|
|
|
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
1997-09-23 21:00:33 +00:00
|
|
|
#
|
|
|
|
|
1997-10-30 22:23:50 +00:00
|
|
|
# Install into the system root by default
|
|
|
|
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)
|
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles
|
1998-02-05 15:51:18 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
|
srcdir = .
|
|
|
|
PACKAGE_NAME = gstep-base
|
|
|
|
LIBRARY_VAR = GNUSTEP_BASE
|
|
|
|
|
|
|
|
# The library to be compiled
|
|
|
|
LIBRARY_NAME=libgnustep-base
|
|
|
|
|
|
|
|
# GNUSTEP_INSTALL_PREFIX must be defined here and not in config.h because
|
|
|
|
# the installing person may set it on the `make' command line.
|
1998-08-24 12:47:27 +00:00
|
|
|
GNUSTEP_INSTALL_PREFIX=$(GNUSTEP_SYSTEM_ROOT)
|
|
|
|
DEFS= -DGNUSTEP_INSTALL_PREFIX=$(GNUSTEP_INSTALL_PREFIX) \
|
1997-10-16 23:56:27 +00:00
|
|
|
-DGNUSTEP_TARGET_DIR=\"$(GNUSTEP_TARGET_DIR)\" \
|
1997-10-30 22:23:50 +00:00
|
|
|
-DGNUSTEP_TARGET_CPU=\"$(GNUSTEP_TARGET_CPU)\" \
|
|
|
|
-DGNUSTEP_TARGET_OS=\"$(GNUSTEP_TARGET_OS)\" \
|
1997-10-16 23:56:27 +00:00
|
|
|
-DLIBRARY_COMBO=\"$(LIBRARY_COMBO)\"
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# Grep for these names to build the legally-required "AUTHORS" file.
|
|
|
|
FILE_AUTHORS = \
|
|
|
|
"Andrew Kachites McCallum" \
|
|
|
|
"Kresten Krab Thorup" \
|
|
|
|
"Adam Fedor" \
|
|
|
|
"Mark Lakata" \
|
|
|
|
"Jeremy Bettis" \
|
|
|
|
"Georg Tuparev" \
|
|
|
|
"Peter Burka" \
|
|
|
|
"Albin L. Jones" \
|
|
|
|
"Scott Christley" \
|
|
|
|
"Luke Howard" \
|
|
|
|
"Yoo C. Chung" \
|
1998-01-08 15:25:59 +00:00
|
|
|
"Richard Frith-Macdonald" \
|
1998-06-16 13:52:57 +00:00
|
|
|
"Stevo Crvenkovski" \
|
1999-02-13 00:50:41 +00:00
|
|
|
"Mike Kienenberger" \
|
|
|
|
"Manuel Guesdon"
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# The GNU source files
|
|
|
|
|
|
|
|
GNU_MFILES = \
|
2000-09-13 12:32:19 +00:00
|
|
|
GSCompatibility.m \
|
2000-10-27 15:54:35 +00:00
|
|
|
GSLocale.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
Unicode.m \
|
|
|
|
behavior.m \
|
|
|
|
o_array.m \
|
|
|
|
o_array_bas.m \
|
|
|
|
o_array_cbs.m \
|
|
|
|
o_cbs.m \
|
|
|
|
o_cbs_char_p.m \
|
|
|
|
o_cbs_id.m \
|
|
|
|
o_cbs_int.m \
|
|
|
|
o_cbs_int_p.m \
|
|
|
|
o_cbs_void_p.m \
|
|
|
|
o_hash.m \
|
|
|
|
o_hash_bas.m \
|
|
|
|
o_hash_cbs.m \
|
|
|
|
o_list.m \
|
|
|
|
o_list_bas.m \
|
|
|
|
o_list_cbs.m \
|
|
|
|
o_map.m \
|
|
|
|
o_map_bas.m \
|
|
|
|
o_map_cbs.m \
|
|
|
|
preface.m \
|
|
|
|
mframe.m \
|
|
|
|
objc-gnu2next.m
|
|
|
|
|
2000-09-13 03:51:30 +00:00
|
|
|
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
|
2000-10-11 18:49:32 +00:00
|
|
|
GNU_MFILES += WindowsFileHandle.m libgnustep-base-entry.m
|
2000-09-13 03:51:30 +00:00
|
|
|
else
|
|
|
|
GNU_MFILES += UnixFileHandle.m
|
|
|
|
endif
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
GNU_CFILES = \
|
|
|
|
md5.c \
|
|
|
|
numbers.c \
|
|
|
|
o_vscanf.c
|
|
|
|
|
|
|
|
GNU_OTHER_SRCFILES = \
|
|
|
|
o_x_bas.m.in \
|
|
|
|
o_x_cbs.m.in \
|
1999-07-09 02:18:50 +00:00
|
|
|
Foundation/o_x_bas.h.in \
|
|
|
|
Foundation/o_x_cbs.h.in \
|
1997-09-23 21:00:33 +00:00
|
|
|
md5.h \
|
|
|
|
win32-entry.m \
|
|
|
|
win32-def.top \
|
|
|
|
libgnustep-base.def
|
|
|
|
|
|
|
|
GNU_HEADERS = \
|
2000-10-27 15:54:35 +00:00
|
|
|
GSLocale.h \
|
1999-04-12 12:53:30 +00:00
|
|
|
GSUnion.h \
|
1999-06-21 08:30:26 +00:00
|
|
|
GSIArray.h \
|
|
|
|
GSIMap.h \
|
1997-09-23 21:00:33 +00:00
|
|
|
Unicode.h \
|
|
|
|
UnixFileHandle.h \
|
|
|
|
behavior.h \
|
|
|
|
numbers.h \
|
|
|
|
o_array.h \
|
|
|
|
o_array_bas.h \
|
|
|
|
o_array_cbs.h \
|
|
|
|
o_cbs.h \
|
|
|
|
o_hash.h \
|
|
|
|
o_hash_bas.h \
|
|
|
|
o_hash_cbs.h \
|
|
|
|
o_list.h \
|
|
|
|
o_list_bas.h \
|
|
|
|
o_list_cbs.h \
|
|
|
|
o_map.h \
|
|
|
|
o_map_bas.h \
|
|
|
|
o_map_cbs.h \
|
|
|
|
objc-gnu2next.h \
|
1997-11-06 00:51:23 +00:00
|
|
|
preface.h
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
# GNUStep source files
|
|
|
|
|
|
|
|
BASE_MFILES = \
|
2000-12-07 22:57:56 +00:00
|
|
|
GSCountedSet.m \
|
2000-11-17 16:19:56 +00:00
|
|
|
GSHTTPURLHandle.m \
|
|
|
|
GSMime.m \
|
2000-12-07 22:57:56 +00:00
|
|
|
GSSet.m \
|
2000-10-09 04:41:18 +00:00
|
|
|
GSString.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSAttributedString.m \
|
|
|
|
NSArchiver.m \
|
|
|
|
NSArray.m \
|
|
|
|
NSAssertionHandler.m \
|
|
|
|
NSAutoreleasePool.m \
|
|
|
|
NSBitmapCharSet.m \
|
|
|
|
NSBundle.m \
|
|
|
|
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 \
|
|
|
|
NSConcreteValue.m \
|
|
|
|
NSCountedSet.m \
|
|
|
|
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 \
|
|
|
|
NSException.m \
|
|
|
|
NSFileHandle.m \
|
|
|
|
NSFileManager.m \
|
1998-11-12 16:56:33 +00:00
|
|
|
NSFormatter.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSGeometry.m \
|
|
|
|
NSGArray.m \
|
|
|
|
NSGAttributedString.m \
|
|
|
|
NSGDictionary.m \
|
|
|
|
NSHashTable.m \
|
|
|
|
NSHost.m \
|
|
|
|
NSInvocation.m \
|
|
|
|
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 \
|
|
|
|
NSPage.m \
|
|
|
|
NSPipe.m \
|
|
|
|
NSPort.m \
|
2000-02-24 17:15:59 +00:00
|
|
|
GSTcpPort.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSPortCoder.m \
|
1998-10-21 14:04:45 +00:00
|
|
|
NSPortMessage.m \
|
1998-10-29 12:50:23 +00:00
|
|
|
NSPortNameServer.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSProcessInfo.m \
|
1998-06-16 13:52:57 +00:00
|
|
|
NSProtocolChecker.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSProxy.m \
|
|
|
|
NSRange.m \
|
|
|
|
NSRunLoop.m \
|
|
|
|
NSScanner.m \
|
|
|
|
NSSerializer.m \
|
|
|
|
NSSet.m \
|
|
|
|
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 \
|
|
|
|
NSURLHandle.m \
|
1997-09-23 21:00:33 +00:00
|
|
|
NSUser.m \
|
|
|
|
NSUserDefaults.m \
|
|
|
|
NSValue.m \
|
|
|
|
NSZone.m \
|
1999-02-13 00:50:41 +00:00
|
|
|
externs.m \
|
2000-10-09 04:41:18 +00:00
|
|
|
objc-load.m
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2000-09-11 11:59:33 +00:00
|
|
|
ifeq ($(HAVE_LIBXML),1)
|
|
|
|
BASE_MFILES += GSXML.m
|
|
|
|
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
|
|
|
NSVALUE_MFILES = \
|
|
|
|
NSValue0.m NSValue1.m NSValue2.m NSValue3.m \
|
|
|
|
NSValue4.m
|
|
|
|
NSNUMBER_MFILES = \
|
|
|
|
NSNumber0.m NSNumber1.m NSNumber2.m NSNumber3.m \
|
|
|
|
NSNumber4.m NSNumber5.m NSNumber6.m NSNumber7.m \
|
|
|
|
NSNumber8.m NSNumber9.m NSNumber10.m NSNumber11.m \
|
|
|
|
NSNumber12.m
|
|
|
|
|
|
|
|
BASE_OTHER_SRCFILES = \
|
|
|
|
NSConcreteNumber.m \
|
|
|
|
NSCTemplateValue.m \
|
|
|
|
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
|
|
|
|
|
|
|
|
BASE_HEADERS = \
|
2000-09-29 14:44:45 +00:00
|
|
|
Foundation.h \
|
|
|
|
DistributedObjects.h \
|
2000-11-17 16:19:56 +00:00
|
|
|
GSMime.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSArchiver.h \
|
|
|
|
NSArray.h \
|
|
|
|
NSAttributedString.h \
|
|
|
|
NSAutoreleasePool.h \
|
|
|
|
NSBitmapCharSet.h \
|
|
|
|
NSBundle.h \
|
|
|
|
NSByteOrder.h \
|
|
|
|
NSCharacterSet.h \
|
2000-11-27 22:26:08 +00:00
|
|
|
NSClassDescription.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSCoder.h \
|
|
|
|
NSConcreteNumber.h \
|
|
|
|
NSConcreteValue.h \
|
|
|
|
NSConnection.h \
|
|
|
|
NSData.h \
|
|
|
|
NSDate.h \
|
|
|
|
NSDateFormatter.h \
|
|
|
|
NSDebug.h \
|
|
|
|
NSDecimal.h \
|
|
|
|
NSDecimalNumber.h \
|
|
|
|
NSDictionary.h \
|
|
|
|
NSDistantObject.h \
|
|
|
|
NSDistributedLock.h \
|
|
|
|
NSDistributedNotificationCenter.h \
|
|
|
|
NSEnumerator.h \
|
|
|
|
NSException.h \
|
|
|
|
NSFileHandle.h \
|
|
|
|
NSFileManager.h \
|
|
|
|
NSFormatter.h \
|
|
|
|
NSGeometry.h \
|
|
|
|
NSGArray.h \
|
|
|
|
NSGAttributedString.h \
|
|
|
|
NSHashTable.h \
|
|
|
|
NSHost.h \
|
|
|
|
NSInvocation.h \
|
2000-11-28 10:28:31 +00:00
|
|
|
NSKeyValueCoding.h \
|
2000-09-29 14:44:45 +00:00
|
|
|
NSLock.h \
|
|
|
|
NSMapTable.h \
|
|
|
|
NSMethodSignature.h \
|
|
|
|
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 \
|
|
|
|
NSPathUtilities.h \
|
|
|
|
NSPort.h \
|
|
|
|
NSPortCoder.h \
|
|
|
|
NSPortMessage.h \
|
|
|
|
NSPortNameServer.h \
|
|
|
|
NSProcessInfo.h \
|
|
|
|
NSProtocolChecker.h \
|
|
|
|
NSProxy.h \
|
|
|
|
NSRange.h \
|
|
|
|
NSRunLoop.h \
|
|
|
|
NSScanner.h \
|
|
|
|
NSSerialization.h \
|
|
|
|
NSSet.h \
|
|
|
|
NSString.h \
|
|
|
|
NSTask.h \
|
|
|
|
NSThread.h \
|
|
|
|
NSTimer.h \
|
|
|
|
NSUndoManager.h \
|
|
|
|
NSUserDefaults.h \
|
|
|
|
NSUtilities.h \
|
|
|
|
NSValue.h \
|
|
|
|
NSZone.h \
|
|
|
|
objc-load.h \
|
|
|
|
NSURL.h \
|
|
|
|
NSURLHandle.h
|
1997-09-23 21:00:33 +00:00
|
|
|
|
2000-09-11 11:59:33 +00:00
|
|
|
ifeq ($(HAVE_LIBXML),1)
|
2000-09-29 14:44:45 +00:00
|
|
|
BASE_HEADERS += GSXML.h
|
2000-09-11 11:59:33 +00:00
|
|
|
endif
|
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
UNICODE_HEADERS = \
|
|
|
|
unicode/caseconv.h \
|
|
|
|
unicode/cop.h \
|
|
|
|
unicode/cyrillic.h \
|
2000-04-09 02:28:27 +00:00
|
|
|
unicode/latin2.h \
|
1997-09-23 21:00:33 +00:00
|
|
|
unicode/decomp.h \
|
|
|
|
unicode/nextstep.h
|
|
|
|
|
|
|
|
HEADERS_INSTALL = $(GNU_HEADERS) \
|
1999-11-18 16:42:03 +00:00
|
|
|
$(BASE_HEADERS) \
|
|
|
|
$(UNICODE_HEADERS)
|
1997-09-23 21:00:33 +00:00
|
|
|
|
1997-09-27 15:26:51 +00:00
|
|
|
GENERATED_HFILES = \
|
|
|
|
dynamic-load.h \
|
2000-09-13 19:52:42 +00:00
|
|
|
$(HEADER_DIR)/preface.h \
|
|
|
|
$(HEADER_DIR)/o_array.h \
|
|
|
|
$(HEADER_DIR)/o_hash.h \
|
|
|
|
$(HEADER_DIR)/o_list.h \
|
|
|
|
$(HEADER_DIR)/o_map.h \
|
2000-12-05 16:11:55 +00:00
|
|
|
$(GNUSTEP_TARGET_DIR)/mframe.h \
|
|
|
|
$(GNUSTEP_TARGET_DIR)/config.h \
|
|
|
|
$(GNUSTEP_TARGET_DIR)/GSConfig.h
|
1997-09-27 15:26:51 +00:00
|
|
|
|
1997-09-23 21:00:33 +00:00
|
|
|
# The C source files to be compiled
|
2000-01-16 09:56:12 +00:00
|
|
|
libgnustep-base_C_FILES = $(GNU_CFILES)
|
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) \
|
1997-10-30 22:23:50 +00:00
|
|
|
$(BASE_MFILES) $(NSVALUE_MFILES) $(NSNUMBER_MFILES)
|
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
|
|
|
|
|
2000-09-29 14:44:45 +00:00
|
|
|
libgnustep-base_HEADER_FILES_DIR = $(HEADER_DIR)
|
|
|
|
libgnustep-base_HEADER_FILES_INSTALL_DIR = /Foundation
|
1997-09-23 21:00:33 +00:00
|
|
|
|
1998-07-28 17:51:55 +00:00
|
|
|
libgnustep-base_HEADER_FILES = $(BASE_HEADERS)
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
-include Makefile.preamble
|
|
|
|
|
1998-12-17 22:25:25 +00:00
|
|
|
-include GNUmakefile.local
|
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/library.make
|
1997-09-23 21:00:33 +00:00
|
|
|
|
|
|
|
-include Makefile.postamble
|