1995-05-19 20:35:41 +00:00
|
|
|
# @configure_input@
|
|
|
|
#
|
|
|
|
# src makefile for GNU Objective-C Class library
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
# Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
1995-05-19 20:35:41 +00:00
|
|
|
#
|
|
|
|
# Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
|
|
|
#
|
|
|
|
# This file is part of the GNU Objective-C Class 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
|
|
|
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
#### Start of system configuration section. ####
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
1995-06-20 16:14:09 +00:00
|
|
|
# Installation locations
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
libdir = $(exec_prefix)/lib
|
|
|
|
includedir = $(prefix)/include
|
|
|
|
|
1996-03-20 18:21:13 +00:00
|
|
|
CC = @CC@ -pipe
|
1995-05-19 20:35:41 +00:00
|
|
|
RANLIB = @RANLIB@
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
AR = ar
|
1996-02-13 15:43:30 +00:00
|
|
|
AROUT =
|
1995-05-19 20:35:41 +00:00
|
|
|
ARFLAGS = rc
|
|
|
|
LN_S = @LN_S@
|
|
|
|
MAKEINFO = makeinfo
|
|
|
|
TEXI2DVI = texi2dvi
|
|
|
|
LEX = flex
|
|
|
|
LEXFLAGS =
|
|
|
|
|
|
|
|
DEFS = @DEFS@
|
|
|
|
|
1996-02-13 15:43:30 +00:00
|
|
|
# File name extensions
|
|
|
|
OEXT = .o
|
|
|
|
EXEEXT =
|
|
|
|
LIBEXT = .a
|
|
|
|
|
1995-05-19 20:35:41 +00:00
|
|
|
# All these are optional. You can redefine CFLAGS, CPPFLAGS and
|
|
|
|
# INCLUDEFLAGS on the command line however you like.
|
1996-03-22 01:13:51 +00:00
|
|
|
CFLAGS = -g -O -Wall -Wno-implicit
|
1995-05-19 20:35:41 +00:00
|
|
|
CPPFLAGS =
|
|
|
|
INCLUDEFLAGS =
|
|
|
|
|
|
|
|
#### End of system configuration section. ####
|
|
|
|
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
include $(srcdir)/../Makeconf
|
|
|
|
|
1995-05-19 20:35:41 +00:00
|
|
|
include $(srcdir)/../Version
|
|
|
|
|
|
|
|
# Grep for these names to build the legally-required "AUTHORS" file.
|
|
|
|
FILE_AUTHORS = \
|
|
|
|
"R. Andrew McCallum" \
|
|
|
|
"Kresten Krab Thorup" \
|
|
|
|
"Adam Fedor" \
|
|
|
|
"Mark Lakata" \
|
1995-08-16 18:12:53 +00:00
|
|
|
"Jeremy Bettis" \
|
1995-08-24 16:36:17 +00:00
|
|
|
"Georg Tuparev" \
|
1996-02-25 15:01:49 +00:00
|
|
|
"Peter Burka" \
|
|
|
|
"Albin L. Jones"
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
DYNAMIC_LINKER=@DYNAMIC_LINKER@
|
1995-11-07 02:18:53 +00:00
|
|
|
|
1995-05-19 20:35:41 +00:00
|
|
|
NEXT_NEXT_INCLUDES = -I/usr/include
|
|
|
|
OBJECTS_NEXT_INCLUDES = -I$(srcdir)
|
|
|
|
NEXT_INCLUDES = @NEXT_INCLUDES@
|
|
|
|
|
1996-01-12 16:38:56 +00:00
|
|
|
ALL_INCLUDE_FLAGS = -I. -I$(srcdir) $(NEXT_INCLUDES) $(INCLUDEFLAGS)
|
1995-05-19 20:35:41 +00:00
|
|
|
ALL_CPPFLAGS = $(ALL_INCLUDE_FLAGS) $(CPPFLAGS)
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
ALL_CFLAGS = $(CFLAGS)
|
|
|
|
ALL_OBJCFLAGS = $(CFLAGS) -Wno-protocol
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
# definitions to be passed to subdir Makefile's
|
|
|
|
MAKEDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' \
|
|
|
|
INCLUDEFLAGS='$(INCLUDEFLAGS)' DEFS='$(DEFS)'
|
|
|
|
|
|
|
|
.SUFFIXES: .m
|
1996-02-13 15:43:30 +00:00
|
|
|
.m$(OEXT):
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(CC) -c $(ALL_CPPFLAGS) $(DEFS) $(ALL_OBJCFLAGS) -o $@ $<
|
1996-02-13 15:43:30 +00:00
|
|
|
.c$(OEXT):
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(CC) -c $(ALL_CPPFLAGS) $(DEFS) $(ALL_CFLAGS) -o $@ $<
|
1996-02-13 15:43:30 +00:00
|
|
|
%_pic$(OEXT): %.m
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(CC) -c $(ALL_CPPFLAGS) -fPIC -DPIC $(DEFS) \
|
|
|
|
$(ALL_OBJCFLAGS) -o $@ $<
|
1996-02-13 15:43:30 +00:00
|
|
|
%_pic$(OEXT): %.c
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(CC) -c $(ALL_CPPFLAGS) -fPIC -DPIC $(DEFS) \
|
|
|
|
$(ALL_CFLAGS) -o $@ $<
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
# GNU Class source files
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
#RetainingNotifier.m \
|
|
|
|
#Time.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNU_MFILES = \
|
1996-01-28 01:59:17 +00:00
|
|
|
Archiver.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
Array.m \
|
|
|
|
Bag.m \
|
1996-01-24 03:17:27 +00:00
|
|
|
BinaryCStream.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
BinaryTree.m \
|
|
|
|
BinaryTreeNode.m \
|
|
|
|
CircularArray.m \
|
|
|
|
Collection.m \
|
1996-03-01 02:49:31 +00:00
|
|
|
ConnectedCoder.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
CString.m \
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
Coder.m \
|
1996-03-01 02:49:31 +00:00
|
|
|
Connection.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
ConstantString.m \
|
1996-01-24 03:17:27 +00:00
|
|
|
CStream.m \
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
Decoder.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
DelegatePool.m \
|
|
|
|
Dictionary.m \
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
Encoder.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
GapArray.m \
|
|
|
|
Heap.m \
|
|
|
|
IndexedCollection.m \
|
|
|
|
Invocation.m \
|
|
|
|
KeyedCollection.m \
|
|
|
|
LinkedList.m \
|
|
|
|
LinkedListNode.m \
|
|
|
|
Lock.m \
|
1996-03-01 16:18:08 +00:00
|
|
|
MachPort.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
Magnitude.m \
|
|
|
|
MallocAddress.m \
|
|
|
|
MappedCollector.m \
|
|
|
|
MemoryStream.m \
|
|
|
|
MutableCString.m \
|
|
|
|
MutableString.m \
|
1996-03-03 02:16:25 +00:00
|
|
|
Notification.m \
|
|
|
|
NotificationDispatcher.m \
|
1996-02-14 01:50:15 +00:00
|
|
|
OrderedCollection.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
Port.m \
|
|
|
|
Proxy.m \
|
|
|
|
Queue.m \
|
|
|
|
Random.m \
|
1996-02-13 16:11:55 +00:00
|
|
|
RawCStream.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
RBTree.m \
|
|
|
|
RBTreeNode.m \
|
|
|
|
RNGAdditiveCongruential.m \
|
|
|
|
RNGBerkeley.m \
|
1996-03-12 14:46:20 +00:00
|
|
|
RunLoop.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
Set.m \
|
|
|
|
SplayTree.m \
|
|
|
|
Stack.m \
|
|
|
|
StdioStream.m \
|
|
|
|
Stream.m \
|
|
|
|
String.m \
|
1996-02-29 01:37:26 +00:00
|
|
|
TcpPort.m \
|
1996-01-24 03:17:27 +00:00
|
|
|
TextCStream.m \
|
1996-03-01 14:53:30 +00:00
|
|
|
UdpPort.m \
|
1996-03-22 00:36:13 +00:00
|
|
|
array.m \
|
|
|
|
array-bas.m \
|
|
|
|
array-cbs.m \
|
1996-03-31 21:43:41 +00:00
|
|
|
behavior.m \
|
1996-03-22 00:36:13 +00:00
|
|
|
callbacks.m \
|
|
|
|
cbs-char-p.m \
|
|
|
|
cbs-id.m \
|
|
|
|
cbs-int.m \
|
|
|
|
cbs-int-p.m \
|
|
|
|
cbs-void-p.m \
|
|
|
|
hash.m \
|
|
|
|
hash-bas.m \
|
|
|
|
hash-cbs.m \
|
|
|
|
list.m \
|
|
|
|
list-bas.m \
|
|
|
|
list-cbs.m \
|
|
|
|
map.m \
|
|
|
|
map-bas.m \
|
|
|
|
map-cbs.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
stdobjects.m \
|
|
|
|
mframe.m \
|
1996-04-10 20:21:46 +00:00
|
|
|
objc-gnu2next.m \
|
|
|
|
objc-malloc.m
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNU_CFILES = \
|
1996-02-13 02:25:54 +00:00
|
|
|
md5.c \
|
1996-03-22 00:36:13 +00:00
|
|
|
numbers.c \
|
1995-05-19 20:35:41 +00:00
|
|
|
o_vscanf.c
|
|
|
|
|
1996-02-13 02:25:54 +00:00
|
|
|
GNU_OTHER_SRCFILES = \
|
1996-03-22 00:36:13 +00:00
|
|
|
x-bas.m.in \
|
|
|
|
x-cbs.m.in \
|
|
|
|
objects/x-bas.h.in \
|
|
|
|
objects/x-cbs.h.in \
|
1996-02-22 22:17:15 +00:00
|
|
|
md5.h
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNU_OBJS = \
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
$(GNU_MFILES:.m=$(OEXT)) \
|
1996-02-13 15:43:30 +00:00
|
|
|
$(GNU_CFILES:.c=$(OEXT))
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNU_HEADERS = \
|
1996-01-28 01:59:17 +00:00
|
|
|
objects/Archiver.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/Array.h \
|
|
|
|
objects/ArrayPrivate.h \
|
|
|
|
objects/Bag.h \
|
1996-01-24 03:17:27 +00:00
|
|
|
objects/BinaryCStream.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/BinaryTree.h \
|
|
|
|
objects/BinaryTreeNode.h \
|
|
|
|
objects/CircularArray.h \
|
|
|
|
objects/CircularArrayPrivate.h \
|
|
|
|
objects/Coder.h \
|
1996-02-22 22:17:15 +00:00
|
|
|
objects/CoderPrivate.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/Coding.h \
|
|
|
|
objects/Collecting.h \
|
|
|
|
objects/Collection.h \
|
|
|
|
objects/CollectionPrivate.h \
|
|
|
|
objects/ConnectedCoder.h \
|
|
|
|
objects/Connection.h \
|
1996-01-24 03:17:27 +00:00
|
|
|
objects/CStream.h \
|
1996-01-27 01:10:55 +00:00
|
|
|
objects/CStreaming.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/DelegatePool.h \
|
|
|
|
objects/Dictionary.h \
|
1996-02-22 22:10:00 +00:00
|
|
|
objects/Enumerating.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/GapArray.h \
|
|
|
|
objects/GapArrayPrivate.h \
|
|
|
|
objects/Heap.h \
|
|
|
|
objects/IndexedCollecting.h \
|
|
|
|
objects/IndexedCollection.h \
|
|
|
|
objects/IndexedCollectionPrivate.h \
|
|
|
|
objects/InvalidationListening.h \
|
|
|
|
objects/Invocation.h \
|
1996-02-22 22:10:00 +00:00
|
|
|
objects/Invoking.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/KeyedCollecting.h \
|
|
|
|
objects/KeyedCollection.h \
|
1995-08-16 16:05:54 +00:00
|
|
|
objects/LibobjectsMain.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/LinkedList.h \
|
|
|
|
objects/LinkedListNode.h \
|
|
|
|
objects/Lock.h \
|
|
|
|
objects/Locking.h \
|
1996-03-01 16:18:08 +00:00
|
|
|
objects/MachPort.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/Magnitude.h \
|
|
|
|
objects/MallocAddress.h \
|
|
|
|
objects/MappedCollector.h \
|
|
|
|
objects/MemoryStream.h \
|
1996-03-03 02:16:25 +00:00
|
|
|
objects/Notification.h \
|
|
|
|
objects/NotificationDispatcher.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/NSArray.h \
|
|
|
|
objects/NSCoder.h \
|
|
|
|
objects/NSDictionary.h \
|
1995-10-26 01:17:43 +00:00
|
|
|
objects/NSSet.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/NSString.h \
|
|
|
|
objects/Ordering.h \
|
1996-02-14 01:50:15 +00:00
|
|
|
objects/OrderedCollecting.h \
|
|
|
|
objects/OrderedCollection.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/Port.h \
|
|
|
|
objects/Proxy.h \
|
|
|
|
objects/Queue.h \
|
|
|
|
objects/RBTree.h \
|
|
|
|
objects/RBTreeNode.h \
|
|
|
|
objects/RNGAdditiveCongruential.h \
|
|
|
|
objects/RNGBerkeley.h \
|
|
|
|
objects/Random.h \
|
|
|
|
objects/RandomGenerating.h \
|
1996-02-13 16:11:55 +00:00
|
|
|
objects/RawCStream.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/Retaining.h \
|
|
|
|
objects/RetainingNotifier.h \
|
1996-03-12 14:46:20 +00:00
|
|
|
objects/RunLoop.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/Set.h \
|
|
|
|
objects/SplayTree.h \
|
|
|
|
objects/Stack.h \
|
|
|
|
objects/StdioStream.h \
|
|
|
|
objects/Stream.h \
|
|
|
|
objects/Streaming.h \
|
|
|
|
objects/String.h \
|
1996-02-29 01:37:26 +00:00
|
|
|
objects/TcpPort.h \
|
1996-01-24 03:17:27 +00:00
|
|
|
objects/TextCStream.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/Time.h \
|
1996-03-01 14:53:30 +00:00
|
|
|
objects/UdpPort.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/ValueHolding.h \
|
1996-02-22 22:09:05 +00:00
|
|
|
objects/array.h \
|
1996-03-22 00:36:13 +00:00
|
|
|
objects/array-bas.h \
|
|
|
|
objects/array-cbs.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/behavior.h \
|
1996-02-13 02:25:54 +00:00
|
|
|
objects/callbacks.h \
|
|
|
|
objects/hash.h \
|
1996-03-22 00:36:13 +00:00
|
|
|
objects/hash-bas.h \
|
|
|
|
objects/hash-cbs.h \
|
1996-02-13 02:25:54 +00:00
|
|
|
objects/list.h \
|
1996-03-22 00:36:13 +00:00
|
|
|
objects/list-bas.h \
|
|
|
|
objects/list-cbs.h \
|
1996-02-13 02:25:54 +00:00
|
|
|
objects/map.h \
|
1996-03-22 00:36:13 +00:00
|
|
|
objects/map-bas.h \
|
|
|
|
objects/map-cbs.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/mframe.h \
|
1996-03-22 00:36:13 +00:00
|
|
|
objects/numbers.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/objc-gnu2next.h \
|
|
|
|
objects/objc-malloc.h \
|
|
|
|
objects/objects.h \
|
|
|
|
objects/README
|
|
|
|
|
|
|
|
# NEXTSTEP source files
|
|
|
|
|
|
|
|
NEXTSTEP_MFILES = \
|
|
|
|
HashTable.m \
|
|
|
|
List.m \
|
|
|
|
NXStringTable.m \
|
|
|
|
Storage.m
|
|
|
|
|
|
|
|
NEXTSTEP_CFILES =
|
|
|
|
|
|
|
|
NEXTSTEP_DERIVED_CFILES = \
|
|
|
|
NXStringTable_scan.c
|
|
|
|
|
|
|
|
NEXTSTEP_OTHER_SRCFILES = \
|
|
|
|
NXStringTable_scan.l
|
|
|
|
|
|
|
|
NEXTSTEP_OBJS = \
|
1996-02-13 15:43:30 +00:00
|
|
|
$(NEXTSTEP_MFILES:.m=$(OEXT)) \
|
|
|
|
$(NEXTSTEP_CFILES:.c=$(OEXT)) \
|
|
|
|
$(NEXTSTEP_DERIVED_CFILES:.c=$(OEXT))
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
NEXTSTEP_HEADERS = \
|
|
|
|
objc/HashTable.h \
|
|
|
|
objc/List.h \
|
|
|
|
objc/NXStringTable.h \
|
|
|
|
objc/Storage.h \
|
|
|
|
objc/zone.h
|
|
|
|
|
|
|
|
# GNUStep source files
|
|
|
|
|
|
|
|
GNUSTEP_MFILES = \
|
|
|
|
NSAllocateObject.m \
|
|
|
|
NSArchiver.m \
|
|
|
|
NSArray.m \
|
|
|
|
NSAssertionHandler.m \
|
|
|
|
NSAutoreleasePool.m \
|
|
|
|
NSBitmapCharSet.m \
|
|
|
|
NSBundle.m \
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
NSCallBacks.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSCharacterSet.m \
|
|
|
|
NSCoder.m \
|
|
|
|
NSCopyObject.m \
|
|
|
|
NSConcreteValue.m \
|
1995-10-30 00:48:17 +00:00
|
|
|
NSCountedSet.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSData.m \
|
1995-08-08 15:32:11 +00:00
|
|
|
NSDate.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSDeallocateObject.m \
|
|
|
|
NSDictionary.m \
|
|
|
|
NSEnumerator.m \
|
|
|
|
NSException.m \
|
|
|
|
NSGeometry.m \
|
|
|
|
NSGArchiver.m \
|
|
|
|
NSGArray.m \
|
1995-10-30 00:48:17 +00:00
|
|
|
NSGCountedSet.m \
|
1995-08-09 16:01:15 +00:00
|
|
|
NSGCString.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSGData.m \
|
|
|
|
NSGDictionary.m \
|
1995-10-26 01:17:43 +00:00
|
|
|
NSGSet.m \
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
NSHashTable.m \
|
1996-02-24 18:49:35 +00:00
|
|
|
NSInvocation.m \
|
1996-02-13 15:43:30 +00:00
|
|
|
NSLock.m \
|
(CFLAGS): Remove -Wno-implicit.
(GNU_MFILES): Remove BinaryTreeEltNode.m, LinkedListEltNode.m,
RNTreeEltNode.m. Add Decoder.m, Encoder.m. Temporarily remove
ConnectedCoder.m, Connection.m, RetainingNotifier.m, Time.m.
(GNU_CFILES): Add allocs.c.
(GNU_OBJS): Change order to create BASICS and CALLBACKS first.
(GNU_HEADERS): Remove BinaryTreeEltNode.h, EltNode-h, EltNode-m,
LinkedListEltNode.h, RBTreeEltNode.h.
(GNUSTEP_MFILES): NSCallBacks.m.
(GNUSTEP_HEADERS): Foundation/NSCallBacks.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@949 72102866-910b-0410-8b05-ffd578937521
1996-02-22 15:43:34 +00:00
|
|
|
NSMapTable.m \
|
1995-11-06 17:24:15 +00:00
|
|
|
NSMethodSignature.m \
|
1996-02-13 16:00:50 +00:00
|
|
|
NSNotification.m \
|
|
|
|
NSNotificationCenter.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSNumber.m \
|
1995-08-24 22:32:14 +00:00
|
|
|
NSObjCRuntime.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSObject.m \
|
1995-08-16 15:58:23 +00:00
|
|
|
NSProcessInfo.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSRange.m \
|
1996-04-10 18:21:47 +00:00
|
|
|
NSRunLoop.m \
|
1995-10-26 01:17:43 +00:00
|
|
|
NSSet.m \
|
1995-05-19 20:35:41 +00:00
|
|
|
NSString.m \
|
1996-02-13 15:43:30 +00:00
|
|
|
NSThread.m \
|
1996-03-12 14:46:20 +00:00
|
|
|
NSTimer.m \
|
1995-08-23 15:53:40 +00:00
|
|
|
NSTimeZone.m \
|
1996-03-22 01:25:23 +00:00
|
|
|
NSValue.m \
|
|
|
|
NSZone.m
|
1995-05-19 20:35:41 +00:00
|
|
|
|
1996-01-07 21:05:01 +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
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNUSTEP_CFILES = \
|
|
|
|
find_exec.c \
|
1995-08-04 15:08:02 +00:00
|
|
|
objc-load.c
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNUSTEP_OTHER_SRCFILES = \
|
|
|
|
NSConcreteNumber.m \
|
|
|
|
NSCTemplateValue.m \
|
|
|
|
dld-load.h \
|
|
|
|
hpux-load.h \
|
|
|
|
null-load.h \
|
1996-02-22 15:48:36 +00:00
|
|
|
simple-load.h \
|
|
|
|
NSCallBacks.h
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNUSTEP_OBJS = \
|
1996-02-13 15:43:30 +00:00
|
|
|
$(GNUSTEP_MFILES:.m=$(OEXT)) \
|
|
|
|
$(GNUSTEP_CFILES:.c=$(OEXT)) \
|
|
|
|
$(NSVALUE_MFILES:.m=$(OEXT)) \
|
|
|
|
$(NSNUMBER_MFILES:.m=$(OEXT))
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
GNUSTEP_HEADERS = \
|
|
|
|
Foundation/NSArchiver.h \
|
|
|
|
Foundation/NSArray.h \
|
|
|
|
Foundation/NSAutoreleasePool.h \
|
|
|
|
Foundation/NSBitmapCharSet.h \
|
|
|
|
Foundation/NSBundle.h \
|
|
|
|
Foundation/NSCharacterSet.h \
|
|
|
|
Foundation/NSCoder.h \
|
|
|
|
Foundation/NSConcreteNumber.h \
|
|
|
|
Foundation/NSConcreteValue.h \
|
|
|
|
Foundation/NSData.h \
|
1995-08-08 15:32:11 +00:00
|
|
|
Foundation/NSDate.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSDictionary.h \
|
|
|
|
Foundation/NSException.h \
|
|
|
|
Foundation/NSGeometry.h \
|
|
|
|
Foundation/NSGArchiver.h \
|
|
|
|
Foundation/NSGArray.h \
|
1995-08-09 16:01:15 +00:00
|
|
|
Foundation/NSGCString.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSGData.h \
|
|
|
|
Foundation/NSGDictionary.h \
|
1995-10-26 01:17:43 +00:00
|
|
|
Foundation/NSGSet.h \
|
1996-02-13 02:25:54 +00:00
|
|
|
Foundation/NSHashTable.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSInvocation.h \
|
1996-03-01 02:49:31 +00:00
|
|
|
Foundation/NSLock.h \
|
1996-02-13 02:25:54 +00:00
|
|
|
Foundation/NSMapTable.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSMethodSignature.h \
|
1996-02-13 16:00:50 +00:00
|
|
|
Foundation/NSNotification.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSObjCRuntime.h \
|
|
|
|
Foundation/NSObject.h \
|
1995-08-16 15:58:23 +00:00
|
|
|
Foundation/NSProcessInfo.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSRange.h \
|
1996-04-10 18:21:47 +00:00
|
|
|
Foundation/NSRunLoop.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSSerialization.h \
|
1995-10-26 01:17:43 +00:00
|
|
|
Foundation/NSSet.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSString.h \
|
1996-02-13 15:43:30 +00:00
|
|
|
Foundation/NSThread.h \
|
1996-03-12 14:46:20 +00:00
|
|
|
Foundation/NSTimer.h \
|
1995-05-19 20:35:41 +00:00
|
|
|
Foundation/NSUtilities.h \
|
|
|
|
Foundation/NSValue.h \
|
|
|
|
Foundation/NSZone.h \
|
|
|
|
Foundation/objc-load.h
|
|
|
|
|
1996-02-13 02:25:54 +00:00
|
|
|
HEADERS_INSTALL = @HEADERS_INSTALL@ \
|
|
|
|
objects/stdobjects.h
|
1995-05-19 20:35:41 +00:00
|
|
|
OBJS_INSTALL = @OBJS_INSTALL@
|
1996-02-13 15:43:30 +00:00
|
|
|
OBJS_INSTALL_PIC = $(OBJS_INSTALL:$(OEXT)=_pic$(OEXT))
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
DIST_FILES = \
|
|
|
|
Makefile.in AUTHORS \
|
|
|
|
objects/config.h.in objects/stdobjects.h.in \
|
|
|
|
$(GNU_MFILES) \
|
|
|
|
$(GNU_CFILES) \
|
|
|
|
$(GNU_HEADERS) \
|
|
|
|
$(GNU_OTHER_SRCFILES) \
|
|
|
|
$(NEXTSTEP_MFILES) \
|
|
|
|
$(NEXTSTEP_CFILES) \
|
|
|
|
$(NEXTSTEP_DERIVED_CFILES) \
|
|
|
|
$(NEXTSTEP_HEADERS) \
|
|
|
|
$(NEXTSTEP_OTHER_SRCFILES) \
|
|
|
|
$(GNUSTEP_MFILES) \
|
|
|
|
$(GNUSTEP_CFILES) \
|
|
|
|
$(GNUSTEP_HEADERS) \
|
|
|
|
$(GNUSTEP_OTHER_SRCFILES)
|
|
|
|
|
|
|
|
RCS_FILES = \
|
1996-02-14 17:25:35 +00:00
|
|
|
Makefile.in Makefile.sed.nt \
|
1995-05-19 20:35:41 +00:00
|
|
|
objects/config.h.in objects/stdobjects.h.in \
|
|
|
|
$(GNU_MFILES) \
|
|
|
|
$(GNU_CFILES) \
|
|
|
|
$(GNU_HEADERS) \
|
|
|
|
$(GNU_OTHER_SRCFILES) \
|
|
|
|
$(NEXTSTEP_MFILES) \
|
|
|
|
$(NEXTSTEP_CFILES) \
|
|
|
|
$(NEXTSTEP_HEADERS) \
|
|
|
|
$(NEXTSTEP_OTHER_SRCFILES) \
|
|
|
|
$(GNUSTEP_MFILES) \
|
|
|
|
$(GNUSTEP_CFILES) \
|
|
|
|
$(GNUSTEP_HEADERS) \
|
|
|
|
$(GNUSTEP_OTHER_SRCFILES)
|
|
|
|
|
1996-02-13 15:43:30 +00:00
|
|
|
all: libobjects$(LIBEXT) @LIBOBJECTS_SO@
|
1995-11-07 02:18:53 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
libobjects.so.$(OBJECTS_VERSION): $(HEADERS_INSTALL) $(OBJS_INSTALL_PIC)
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(CC) -shared -o libobjects.so.$(OBJECTS_VERSION) \
|
1996-01-19 15:56:09 +00:00
|
|
|
-Wl,-soname,libobjects.so.$(OBJECTS_MAJOR_VERSION) \
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(OBJS_INSTALL_PIC)
|
1996-01-19 16:08:50 +00:00
|
|
|
rm -f libobjects.so.$(OBJECTS_MAJOR_VERSION)
|
|
|
|
rm -f libobjects.so
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
ln -s libobjects.so.$(OBJECTS_VERSION) \
|
|
|
|
libobjects.so.$(OBJECTS_MAJOR_VERSION)
|
1996-01-19 15:56:09 +00:00
|
|
|
ln -s libobjects.so.$(OBJECTS_MAJOR_VERSION) \
|
|
|
|
libobjects.so
|
1995-05-19 20:35:41 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
libobjects$(LIBEXT): $(HEADERS_INSTALL) $(OBJS_INSTALL)
|
1996-02-13 15:43:30 +00:00
|
|
|
$(AR) $(ARFLAGS) $(AROUT)libobjects$(LIBEXT) $(OBJS_INSTALL)
|
|
|
|
$(RANLIB) libobjects$(LIBEXT)
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
install: installdirs all
|
1995-11-14 17:02:56 +00:00
|
|
|
# Install the library
|
1996-02-13 15:43:30 +00:00
|
|
|
$(INSTALL_DATA) libobjects$(LIBEXT) $(libdir)
|
|
|
|
$(RANLIB) $(libdir)/libobjects$(LIBEXT); \
|
1996-01-16 17:24:56 +00:00
|
|
|
if [ -n "@LIBOBJECTS_SO@" ]; then \
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(INSTALL_DATA) libobjects.so.$(OBJECTS_VERSION) $(libdir) ; \
|
1995-11-14 17:02:56 +00:00
|
|
|
rm -f $(libdir)/libobjects.so.$(OBJECTS_MAJOR_VERSION) ; \
|
1996-01-19 16:08:50 +00:00
|
|
|
rm -f $(libdir)/libobjects.so ; \
|
1996-01-16 17:24:56 +00:00
|
|
|
ln -s $(libdir)/libobjects.so.$(OBJECTS_VERSION) \
|
1995-11-14 17:02:56 +00:00
|
|
|
$(libdir)/libobjects.so.$(OBJECTS_MAJOR_VERSION) ; \
|
1996-01-19 15:56:09 +00:00
|
|
|
ln -s $(libdir)/libobjects.so.$(OBJECTS_MAJOR_VERSION) \
|
|
|
|
$(libdir)/libobjects.so ; \
|
1995-11-14 17:02:56 +00:00
|
|
|
fi
|
|
|
|
# Install the headers
|
1995-05-19 20:35:41 +00:00
|
|
|
for file in $(HEADERS_INSTALL); do \
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/$$file $(includedir)/$$file ; \
|
1995-05-19 20:35:41 +00:00
|
|
|
done
|
1996-01-16 17:24:56 +00:00
|
|
|
$(INSTALL_DATA) objects/config.h $(includedir)/objects/config.h
|
1995-08-04 15:16:04 +00:00
|
|
|
cd $(includedir)/Foundation; rm -f README; ln -s ../objects/README .
|
|
|
|
cd $(includedir)/objc; rm -f README; ln -s ../objects/README .
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
installdirs:
|
|
|
|
$(srcdir)/../mkinstalldirs \
|
|
|
|
$(libdir) \
|
|
|
|
$(includedir)/objects \
|
|
|
|
$(includedir)/objc \
|
|
|
|
$(includedir)/Foundation
|
|
|
|
|
|
|
|
uninstall:
|
1996-02-13 15:43:30 +00:00
|
|
|
rm -f $(libdir)/libobjects$(LIBEXT)
|
1995-05-19 20:35:41 +00:00
|
|
|
rm -rf $(includedir)/objects \
|
|
|
|
$(includedir)/Foundation
|
1996-02-13 15:43:30 +00:00
|
|
|
for file in $(NEXTSTEP_HEADERS); do \
|
|
|
|
rm -f $(includedir)/$$file ; \
|
|
|
|
done
|
1995-05-19 20:35:41 +00:00
|
|
|
|
1996-01-07 21:05:01 +00:00
|
|
|
# Creation of NSValue and NSNumber concrete classes from templates
|
|
|
|
$(NSVALUE_MFILES) : NSCTemplateValue.m
|
|
|
|
rm -f $@
|
1996-02-13 15:43:30 +00:00
|
|
|
echo '#define TYPE_ORDER' `echo $@ | sed -e "s,[^0-9],,g"` >$@
|
1996-01-07 21:05:01 +00:00
|
|
|
cat $(srcdir)/NSCTemplateValue.m >> $@
|
|
|
|
$(NSNUMBER_MFILES) : NSConcreteNumber.m
|
|
|
|
rm -f $@
|
1996-02-13 15:43:30 +00:00
|
|
|
echo '#define TYPE_ORDER' `echo $@ | sed -e "s,[^0-9],,g"` >$@
|
1996-01-07 21:05:01 +00:00
|
|
|
cat $(srcdir)/NSConcreteNumber.m >> $@
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
NXStringTable_scan.c: NXStringTable_scan.l
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
$(LEX) $(LEXFLAGS) -t $(srcdir)/NXStringTable_scan.l \
|
1995-05-19 20:35:41 +00:00
|
|
|
> NXStringTable_scan.temp
|
1996-02-13 15:43:30 +00:00
|
|
|
sed "s/yy/NXlex_/g" < NXStringTable_scan.temp \
|
1995-05-19 20:35:41 +00:00
|
|
|
> NXStringTable_scan.c
|
|
|
|
$(RM) -f NXStringTable_scan.temp
|
|
|
|
|
1996-02-13 15:43:30 +00:00
|
|
|
objc-load$(OEXT): dynamic-load.h
|
1995-05-19 20:35:41 +00:00
|
|
|
|
|
|
|
dynamic-load.h: ../config.status
|
|
|
|
rm -f dynamic-load.h
|
Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared. Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
|
|
|
cp $(srcdir)/$(DYNAMIC_LINKER)-load.h dynamic-load.h
|
1995-05-19 20:35:41 +00:00
|
|
|
|
1996-03-22 01:17:04 +00:00
|
|
|
objects/stdobjects.h: objects/stdobjects.h.in ../Version
|
1996-03-22 01:25:23 +00:00
|
|
|
rm -f $@
|
|
|
|
sed -e "s/@OBJECTS_VERSION@/$(OBJECTS_VERSION)/" \
|
|
|
|
< $< | \
|
|
|
|
sed -e "s/@OBJECTS_MAJOR_VERSION@/$(OBJECTS_MAJOR_VERSION)/" | \
|
|
|
|
sed -e "s/@OBJECTS_MINOR_VERSION@/$(OBJECTS_MINOR_VERSION)/" | \
|
|
|
|
sed -e "s/@OBJECTS_SUBMINOR_VERSION@/$(OBJECTS_SUBMINOR_VERSION)/" | \
|
|
|
|
sed -e "s/@OBJECTS_GCC_VERSION@/$(OBJECTS_GCC_VERSION)/" \
|
|
|
|
> $@
|
1996-02-13 15:43:30 +00:00
|
|
|
stdobjects$(OEXT): objects/stdobjects.h
|
1995-05-19 20:35:41 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
# The Xs and Ys...Don't mess with these without thinking first.
|
1996-02-13 02:25:54 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
objects/%-bas.h: objects/x-bas.h.in
|
|
|
|
sed -e "s/@XX@/$*/g" $< > $@
|
1996-02-13 02:25:54 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
objects/%-cbs.h: objects/x-cbs.h.in
|
|
|
|
sed -e "s/@YY@/$*/g" $< > $@
|
1996-02-13 02:25:54 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
%-bas.m: x-bas.m.in objects/%.h
|
|
|
|
sed -e "s/@XX@/$*/g" $< > $@
|
1996-02-13 02:25:54 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
%-cbs.m: x-cbs.m.in objects/%.h
|
|
|
|
sed -e "s/@YY@/$*/g" $< > $@
|
1996-02-13 02:25:54 +00:00
|
|
|
|
1996-03-22 00:36:13 +00:00
|
|
|
array.o: array.m objects/array.h
|
|
|
|
objects/array.h: objects/array-bas.h objects/array-cbs.h objects/hash.h
|
|
|
|
hash.o: hash.m objects/hash.h
|
|
|
|
objects/hash.h: objects/hash-bas.h objects/hash-cbs.h
|
|
|
|
list.o: list.m objects/list.h
|
|
|
|
objects/list.h: objects/list-bas.h objects/list-cbs.h objects/array.h objects/hash.h
|
|
|
|
map.o: map.m objects/map.h
|
|
|
|
objects/map.h: objects/map-bas.h objects/map-cbs.h objects/hash.h
|
1996-02-13 02:25:54 +00:00
|
|
|
|
|
|
|
|
1995-05-19 20:35:41 +00:00
|
|
|
Makefile: $(srcdir)/Makefile.in ../config.status
|
|
|
|
cd ..; $(SHELL) config.status
|
|
|
|
../config.status:
|
|
|
|
cd ..; $(SHELL) configure --no-create
|
|
|
|
|
|
|
|
TAGS: $(DIST_FILES)
|
|
|
|
etags $(DIST_FILES)
|
|
|
|
|
|
|
|
AUTHORS: Makefile.in
|
|
|
|
rm -f AUTHORS
|
|
|
|
@echo Finding file authors...
|
|
|
|
@echo 'For the legal record, here is a list of who wrote what:'>AUTHORS
|
|
|
|
@for a in $(FILE_AUTHORS) \
|
|
|
|
; do \
|
1995-06-25 22:10:52 +00:00
|
|
|
echo >>AUTHORS; \
|
|
|
|
echo >>AUTHORS; \
|
|
|
|
echo "$${a}:" >>AUTHORS; \
|
1995-05-19 20:35:41 +00:00
|
|
|
egrep -l "((Written by)|(Author)).*$${a}" \
|
|
|
|
$(DIST_FILES) >>AUTHORS; \
|
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean:
|
|
|
|
rm -f core \
|
|
|
|
*~ \
|
|
|
|
objects/*~ \
|
|
|
|
Foundation/*~ \
|
|
|
|
objc/*~
|
|
|
|
clean: mostlyclean
|
1996-02-13 15:43:30 +00:00
|
|
|
rm -f libobjects$(LIBEXT) *$(OEXT)
|
1996-01-12 20:20:57 +00:00
|
|
|
rm -f $(NSVALUE_MFILES) $(NSNUMBER_MFILES)
|
1995-05-19 20:35:41 +00:00
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile
|
|
|
|
rm -f dynamic-load.h
|
|
|
|
maintainer-clean: distclean
|
|
|
|
rm -f TAGS objects/stdobjects.h objects/config.h
|
|
|
|
|
|
|
|
copy-dist: $(DIST_FILES)
|
|
|
|
mkdir ../snap/src
|
|
|
|
mkdir ../snap/src/objects
|
|
|
|
mkdir ../snap/src/objc
|
|
|
|
mkdir ../snap/src/Foundation
|
|
|
|
for file in $(DIST_FILES); do \
|
|
|
|
ln $$file ../snap/src/$$file ; \
|
|
|
|
done
|
|
|
|
ln AUTHORS ../snap
|