mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 10:11:03 +00:00
Rename all occurrences of objects/' to
include/'.
Rename all occurrences of `Foundation/' to `include/'. Rename all occurrences of `libobjects' to `$(LIBRARY_NAME)'. Rename all occurrences of `OBJECTS_*VERSION' to `*VERSION'. (GNU_NEXT_INCLUDES): Renamed from OBJECTS_NEXT_INCLUDES. (gnustep/base): New target; make symbolic link to `include'. (all): Added dependancy on gnustep/base. (install): Put the include files in gnustep/base. Make a link from $(includedir)/Foundation to $(includedir)/gnustep/base. (installdirs): Make $(includedir)/gnustep/base, not objects and Foundation include directories. (GNU_MFILES): stdobjects.m renamed to preface.m. (GNU_HEADERS): LibobjectsMain.h renamed to fake-main.h. objects.h renamed to all.h. (HEADERS_INSTALL): stdobjects.h renamed to preface.h. (maintainer-clean): Likewise. (DIST_FILES): stdobjects.h.in renamed to preface.h.in. (RCS_FILES): Likewise. (include/preface.h): Target renamed from stdobjects.h. (preface$(OEXT)): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
36d3ad87e4
commit
713b915540
1 changed files with 205 additions and 207 deletions
|
@ -64,7 +64,6 @@ INCLUDEFLAGS =
|
||||||
#### End of system configuration section. ####
|
#### End of system configuration section. ####
|
||||||
|
|
||||||
include $(srcdir)/../Makeconf
|
include $(srcdir)/../Makeconf
|
||||||
|
|
||||||
include $(srcdir)/../Version
|
include $(srcdir)/../Version
|
||||||
|
|
||||||
# Grep for these names to build the legally-required "AUTHORS" file.
|
# Grep for these names to build the legally-required "AUTHORS" file.
|
||||||
|
@ -81,7 +80,7 @@ FILE_AUTHORS = \
|
||||||
DYNAMIC_LINKER=@DYNAMIC_LINKER@
|
DYNAMIC_LINKER=@DYNAMIC_LINKER@
|
||||||
|
|
||||||
NEXT_NEXT_INCLUDES = -I/usr/include
|
NEXT_NEXT_INCLUDES = -I/usr/include
|
||||||
OBJECTS_NEXT_INCLUDES = -I$(srcdir)
|
GNU_NEXT_INCLUDES = -I$(srcdir)
|
||||||
NEXT_INCLUDES = @NEXT_INCLUDES@
|
NEXT_INCLUDES = @NEXT_INCLUDES@
|
||||||
|
|
||||||
ALL_INCLUDE_FLAGS = -I. -I$(srcdir) $(NEXT_INCLUDES) $(INCLUDEFLAGS)
|
ALL_INCLUDE_FLAGS = -I. -I$(srcdir) $(NEXT_INCLUDES) $(INCLUDEFLAGS)
|
||||||
|
@ -184,7 +183,7 @@ list-cbs.m \
|
||||||
map.m \
|
map.m \
|
||||||
map-bas.m \
|
map-bas.m \
|
||||||
map-cbs.m \
|
map-cbs.m \
|
||||||
stdobjects.m \
|
preface.m \
|
||||||
mframe.m \
|
mframe.m \
|
||||||
objc-gnu2next.m \
|
objc-gnu2next.m \
|
||||||
objc-malloc.m
|
objc-malloc.m
|
||||||
|
@ -197,8 +196,8 @@ o_vscanf.c
|
||||||
GNU_OTHER_SRCFILES = \
|
GNU_OTHER_SRCFILES = \
|
||||||
x-bas.m.in \
|
x-bas.m.in \
|
||||||
x-cbs.m.in \
|
x-cbs.m.in \
|
||||||
objects/x-bas.h.in \
|
include/x-bas.h.in \
|
||||||
objects/x-cbs.h.in \
|
include/x-cbs.h.in \
|
||||||
md5.h
|
md5.h
|
||||||
|
|
||||||
GNU_OBJS = \
|
GNU_OBJS = \
|
||||||
|
@ -206,104 +205,104 @@ GNU_OBJS = \
|
||||||
$(GNU_CFILES:.c=$(OEXT))
|
$(GNU_CFILES:.c=$(OEXT))
|
||||||
|
|
||||||
GNU_HEADERS = \
|
GNU_HEADERS = \
|
||||||
objects/Archiver.h \
|
include/Archiver.h \
|
||||||
objects/Array.h \
|
include/Array.h \
|
||||||
objects/ArrayPrivate.h \
|
include/ArrayPrivate.h \
|
||||||
objects/Bag.h \
|
include/Bag.h \
|
||||||
objects/BinaryCStream.h \
|
include/BinaryCStream.h \
|
||||||
objects/BinaryTree.h \
|
include/BinaryTree.h \
|
||||||
objects/BinaryTreeNode.h \
|
include/BinaryTreeNode.h \
|
||||||
objects/CircularArray.h \
|
include/CircularArray.h \
|
||||||
objects/CircularArrayPrivate.h \
|
include/CircularArrayPrivate.h \
|
||||||
objects/Coder.h \
|
include/Coder.h \
|
||||||
objects/CoderPrivate.h \
|
include/CoderPrivate.h \
|
||||||
objects/Coding.h \
|
include/Coding.h \
|
||||||
objects/Collecting.h \
|
include/Collecting.h \
|
||||||
objects/Collection.h \
|
include/Collection.h \
|
||||||
objects/CollectionPrivate.h \
|
include/CollectionPrivate.h \
|
||||||
objects/ConnectedCoder.h \
|
include/ConnectedCoder.h \
|
||||||
objects/Connection.h \
|
include/Connection.h \
|
||||||
objects/CStream.h \
|
include/CStream.h \
|
||||||
objects/CStreaming.h \
|
include/CStreaming.h \
|
||||||
objects/DelegatePool.h \
|
include/DelegatePool.h \
|
||||||
objects/Dictionary.h \
|
include/Dictionary.h \
|
||||||
objects/Enumerating.h \
|
include/Enumerating.h \
|
||||||
objects/GapArray.h \
|
include/GapArray.h \
|
||||||
objects/GapArrayPrivate.h \
|
include/GapArrayPrivate.h \
|
||||||
objects/Heap.h \
|
include/Heap.h \
|
||||||
objects/IndexedCollecting.h \
|
include/IndexedCollecting.h \
|
||||||
objects/IndexedCollection.h \
|
include/IndexedCollection.h \
|
||||||
objects/IndexedCollectionPrivate.h \
|
include/IndexedCollectionPrivate.h \
|
||||||
objects/InvalidationListening.h \
|
include/InvalidationListening.h \
|
||||||
objects/Invocation.h \
|
include/Invocation.h \
|
||||||
objects/Invoking.h \
|
include/Invoking.h \
|
||||||
objects/KeyedCollecting.h \
|
include/KeyedCollecting.h \
|
||||||
objects/KeyedCollection.h \
|
include/KeyedCollection.h \
|
||||||
objects/LibobjectsMain.h \
|
include/LinkedList.h \
|
||||||
objects/LinkedList.h \
|
include/LinkedListNode.h \
|
||||||
objects/LinkedListNode.h \
|
include/Lock.h \
|
||||||
objects/Lock.h \
|
include/Locking.h \
|
||||||
objects/Locking.h \
|
include/MachPort.h \
|
||||||
objects/MachPort.h \
|
include/Magnitude.h \
|
||||||
objects/Magnitude.h \
|
include/MallocAddress.h \
|
||||||
objects/MallocAddress.h \
|
include/MappedCollector.h \
|
||||||
objects/MappedCollector.h \
|
include/MemoryStream.h \
|
||||||
objects/MemoryStream.h \
|
include/Notification.h \
|
||||||
objects/Notification.h \
|
include/NotificationDispatcher.h \
|
||||||
objects/NotificationDispatcher.h \
|
include/NSArray.h \
|
||||||
objects/NSArray.h \
|
include/NSCoder.h \
|
||||||
objects/NSCoder.h \
|
include/NSDictionary.h \
|
||||||
objects/NSDictionary.h \
|
include/NSSet.h \
|
||||||
objects/NSSet.h \
|
include/NSString.h \
|
||||||
objects/NSString.h \
|
include/Ordering.h \
|
||||||
objects/Ordering.h \
|
include/OrderedCollecting.h \
|
||||||
objects/OrderedCollecting.h \
|
include/OrderedCollection.h \
|
||||||
objects/OrderedCollection.h \
|
include/Port.h \
|
||||||
objects/Port.h \
|
include/Proxy.h \
|
||||||
objects/Proxy.h \
|
include/Queue.h \
|
||||||
objects/Queue.h \
|
include/RBTree.h \
|
||||||
objects/RBTree.h \
|
include/RBTreeNode.h \
|
||||||
objects/RBTreeNode.h \
|
include/RNGAdditiveCongruential.h \
|
||||||
objects/RNGAdditiveCongruential.h \
|
include/RNGBerkeley.h \
|
||||||
objects/RNGBerkeley.h \
|
include/Random.h \
|
||||||
objects/Random.h \
|
include/RandomGenerating.h \
|
||||||
objects/RandomGenerating.h \
|
include/RawCStream.h \
|
||||||
objects/RawCStream.h \
|
include/Retaining.h \
|
||||||
objects/Retaining.h \
|
include/RetainingNotifier.h \
|
||||||
objects/RetainingNotifier.h \
|
include/RunLoop.h \
|
||||||
objects/RunLoop.h \
|
include/Set.h \
|
||||||
objects/Set.h \
|
include/SplayTree.h \
|
||||||
objects/SplayTree.h \
|
include/Stack.h \
|
||||||
objects/Stack.h \
|
include/StdioStream.h \
|
||||||
objects/StdioStream.h \
|
include/Stream.h \
|
||||||
objects/Stream.h \
|
include/Streaming.h \
|
||||||
objects/Streaming.h \
|
include/String.h \
|
||||||
objects/String.h \
|
include/TcpPort.h \
|
||||||
objects/TcpPort.h \
|
include/TextCStream.h \
|
||||||
objects/TextCStream.h \
|
include/Time.h \
|
||||||
objects/Time.h \
|
include/UdpPort.h \
|
||||||
objects/UdpPort.h \
|
include/ValueHolding.h \
|
||||||
objects/ValueHolding.h \
|
include/array.h \
|
||||||
objects/array.h \
|
include/array-bas.h \
|
||||||
objects/array-bas.h \
|
include/array-cbs.h \
|
||||||
objects/array-cbs.h \
|
include/behavior.h \
|
||||||
objects/behavior.h \
|
include/callbacks.h \
|
||||||
objects/callbacks.h \
|
include/fake-main.h \
|
||||||
objects/hash.h \
|
include/hash.h \
|
||||||
objects/hash-bas.h \
|
include/hash-bas.h \
|
||||||
objects/hash-cbs.h \
|
include/hash-cbs.h \
|
||||||
objects/list.h \
|
include/list.h \
|
||||||
objects/list-bas.h \
|
include/list-bas.h \
|
||||||
objects/list-cbs.h \
|
include/list-cbs.h \
|
||||||
objects/map.h \
|
include/map.h \
|
||||||
objects/map-bas.h \
|
include/map-bas.h \
|
||||||
objects/map-cbs.h \
|
include/map-cbs.h \
|
||||||
objects/mframe.h \
|
include/mframe.h \
|
||||||
objects/numbers.h \
|
include/numbers.h \
|
||||||
objects/objc-gnu2next.h \
|
include/objc-gnu2next.h \
|
||||||
objects/objc-malloc.h \
|
include/objc-malloc.h \
|
||||||
objects/objects.h \
|
include/all.h \
|
||||||
objects/README
|
include/README
|
||||||
|
|
||||||
# NEXTSTEP source files
|
# NEXTSTEP source files
|
||||||
|
|
||||||
|
@ -413,55 +412,55 @@ GNUSTEP_OBJS = \
|
||||||
$(NSNUMBER_MFILES:.m=$(OEXT))
|
$(NSNUMBER_MFILES:.m=$(OEXT))
|
||||||
|
|
||||||
GNUSTEP_HEADERS = \
|
GNUSTEP_HEADERS = \
|
||||||
Foundation/NSArchiver.h \
|
include/NSArchiver.h \
|
||||||
Foundation/NSArray.h \
|
include/NSArray.h \
|
||||||
Foundation/NSAutoreleasePool.h \
|
include/NSAutoreleasePool.h \
|
||||||
Foundation/NSBitmapCharSet.h \
|
include/NSBitmapCharSet.h \
|
||||||
Foundation/NSBundle.h \
|
include/NSBundle.h \
|
||||||
Foundation/NSCharacterSet.h \
|
include/NSCharacterSet.h \
|
||||||
Foundation/NSCoder.h \
|
include/NSCoder.h \
|
||||||
Foundation/NSConcreteNumber.h \
|
include/NSConcreteNumber.h \
|
||||||
Foundation/NSConcreteValue.h \
|
include/NSConcreteValue.h \
|
||||||
Foundation/NSData.h \
|
include/NSData.h \
|
||||||
Foundation/NSDate.h \
|
include/NSDate.h \
|
||||||
Foundation/NSDictionary.h \
|
include/NSDictionary.h \
|
||||||
Foundation/NSException.h \
|
include/NSException.h \
|
||||||
Foundation/NSGeometry.h \
|
include/NSGeometry.h \
|
||||||
Foundation/NSGArchiver.h \
|
include/NSGArchiver.h \
|
||||||
Foundation/NSGArray.h \
|
include/NSGArray.h \
|
||||||
Foundation/NSGCString.h \
|
include/NSGCString.h \
|
||||||
Foundation/NSGData.h \
|
include/NSGData.h \
|
||||||
Foundation/NSGDictionary.h \
|
include/NSGDictionary.h \
|
||||||
Foundation/NSGSet.h \
|
include/NSGSet.h \
|
||||||
Foundation/NSHashTable.h \
|
include/NSHashTable.h \
|
||||||
Foundation/NSInvocation.h \
|
include/NSInvocation.h \
|
||||||
Foundation/NSLock.h \
|
include/NSLock.h \
|
||||||
Foundation/NSMapTable.h \
|
include/NSMapTable.h \
|
||||||
Foundation/NSMethodSignature.h \
|
include/NSMethodSignature.h \
|
||||||
Foundation/NSNotification.h \
|
include/NSNotification.h \
|
||||||
Foundation/NSObjCRuntime.h \
|
include/NSObjCRuntime.h \
|
||||||
Foundation/NSObject.h \
|
include/NSObject.h \
|
||||||
Foundation/NSProcessInfo.h \
|
include/NSProcessInfo.h \
|
||||||
Foundation/NSRange.h \
|
include/NSRange.h \
|
||||||
Foundation/NSRunLoop.h \
|
include/NSRunLoop.h \
|
||||||
Foundation/NSSerialization.h \
|
include/NSSerialization.h \
|
||||||
Foundation/NSSet.h \
|
include/NSSet.h \
|
||||||
Foundation/NSString.h \
|
include/NSString.h \
|
||||||
Foundation/NSThread.h \
|
include/NSThread.h \
|
||||||
Foundation/NSTimer.h \
|
include/NSTimer.h \
|
||||||
Foundation/NSUtilities.h \
|
include/NSUtilities.h \
|
||||||
Foundation/NSValue.h \
|
include/NSValue.h \
|
||||||
Foundation/NSZone.h \
|
include/NSZone.h \
|
||||||
Foundation/objc-load.h
|
include/objc-load.h
|
||||||
|
|
||||||
HEADERS_INSTALL = @HEADERS_INSTALL@ \
|
HEADERS_INSTALL = @HEADERS_INSTALL@ \
|
||||||
objects/stdobjects.h
|
include/preface.h
|
||||||
OBJS_INSTALL = @OBJS_INSTALL@
|
OBJS_INSTALL = @OBJS_INSTALL@
|
||||||
OBJS_INSTALL_PIC = $(OBJS_INSTALL:$(OEXT)=_pic$(OEXT))
|
OBJS_INSTALL_PIC = $(OBJS_INSTALL:$(OEXT)=_pic$(OEXT))
|
||||||
|
|
||||||
DIST_FILES = \
|
DIST_FILES = \
|
||||||
Makefile.in AUTHORS \
|
Makefile.in AUTHORS \
|
||||||
objects/config.h.in objects/stdobjects.h.in \
|
include/config.h.in include/preface.h.in \
|
||||||
$(GNU_MFILES) \
|
$(GNU_MFILES) \
|
||||||
$(GNU_CFILES) \
|
$(GNU_CFILES) \
|
||||||
$(GNU_HEADERS) \
|
$(GNU_HEADERS) \
|
||||||
|
@ -478,7 +477,7 @@ DIST_FILES = \
|
||||||
|
|
||||||
RCS_FILES = \
|
RCS_FILES = \
|
||||||
Makefile.in Makefile.sed.nt \
|
Makefile.in Makefile.sed.nt \
|
||||||
objects/config.h.in objects/stdobjects.h.in \
|
include/config.h.in include/preface.h.in \
|
||||||
$(GNU_MFILES) \
|
$(GNU_MFILES) \
|
||||||
$(GNU_CFILES) \
|
$(GNU_CFILES) \
|
||||||
$(GNU_HEADERS) \
|
$(GNU_HEADERS) \
|
||||||
|
@ -492,58 +491,59 @@ RCS_FILES = \
|
||||||
$(GNUSTEP_HEADERS) \
|
$(GNUSTEP_HEADERS) \
|
||||||
$(GNUSTEP_OTHER_SRCFILES)
|
$(GNUSTEP_OTHER_SRCFILES)
|
||||||
|
|
||||||
all: libobjects$(LIBEXT) @LIBOBJECTS_SO@
|
all: gnustep/base $(LIBRARY_NAME)$(LIBEXT) @SHARED_LIBRARY@
|
||||||
|
|
||||||
libobjects.so.$(OBJECTS_VERSION): $(HEADERS_INSTALL) $(OBJS_INSTALL_PIC)
|
$(LIBRARY_NAME).so.$(VERSION): $(HEADERS_INSTALL) $(OBJS_INSTALL_PIC)
|
||||||
$(CC) -shared -o libobjects.so.$(OBJECTS_VERSION) \
|
$(CC) -shared -o $(LIBRARY_NAME).so.$(VERSION) \
|
||||||
-Wl,-soname,libobjects.so.$(OBJECTS_MAJOR_VERSION) \
|
-Wl,-soname,$(LIBRARY_NAME).so.$(MAJOR_VERSION) \
|
||||||
$(OBJS_INSTALL_PIC)
|
$(OBJS_INSTALL_PIC)
|
||||||
rm -f libobjects.so.$(OBJECTS_MAJOR_VERSION)
|
rm -f $(LIBRARY_NAME).so.$(MAJOR_VERSION)
|
||||||
rm -f libobjects.so
|
rm -f $(LIBRARY_NAME).so
|
||||||
ln -s libobjects.so.$(OBJECTS_VERSION) \
|
ln -s $(LIBRARY_NAME).so.$(VERSION) \
|
||||||
libobjects.so.$(OBJECTS_MAJOR_VERSION)
|
$(LIBRARY_NAME).so.$(MAJOR_VERSION)
|
||||||
ln -s libobjects.so.$(OBJECTS_MAJOR_VERSION) \
|
ln -s $(LIBRARY_NAME).so.$(MAJOR_VERSION) \
|
||||||
libobjects.so
|
$(LIBRARY_NAME).so
|
||||||
|
|
||||||
libobjects$(LIBEXT): $(HEADERS_INSTALL) $(OBJS_INSTALL)
|
$(LIBRARY_NAME)$(LIBEXT): $(HEADERS_INSTALL) $(OBJS_INSTALL)
|
||||||
$(AR) $(ARFLAGS) $(AROUT)libobjects$(LIBEXT) $(OBJS_INSTALL)
|
$(AR) $(ARFLAGS) $(AROUT)$(LIBRARY_NAME)$(LIBEXT) $(OBJS_INSTALL)
|
||||||
$(RANLIB) libobjects$(LIBEXT)
|
$(RANLIB) $(LIBRARY_NAME)$(LIBEXT)
|
||||||
|
|
||||||
|
gnustep/base:
|
||||||
|
mkdir gnustep
|
||||||
|
ln -s $(srcdir)/include gnustep/base
|
||||||
|
ln -s $(srcdir)/include Foundation
|
||||||
|
|
||||||
install: installdirs all
|
install: installdirs all
|
||||||
# Install the library
|
# Install the library
|
||||||
$(INSTALL_DATA) libobjects$(LIBEXT) $(libdir)
|
$(INSTALL_DATA) $(LIBRARY_NAME)$(LIBEXT) $(libdir)
|
||||||
$(RANLIB) $(libdir)/libobjects$(LIBEXT); \
|
$(RANLIB) $(libdir)/$(LIBRARY_NAME)$(LIBEXT); \
|
||||||
if [ -n "@LIBOBJECTS_SO@" ]; then \
|
if [ -n "@SHARED_LIBRARY@" ]; then \
|
||||||
$(INSTALL_DATA) libobjects.so.$(OBJECTS_VERSION) $(libdir) ; \
|
$(INSTALL_DATA) $(LIBRARY_NAME).so.$(VERSION) $(libdir) ; \
|
||||||
rm -f $(libdir)/libobjects.so.$(OBJECTS_MAJOR_VERSION) ; \
|
rm -f $(libdir)/$(LIBRARY_NAME).so.$(MAJOR_VERSION) ; \
|
||||||
rm -f $(libdir)/libobjects.so ; \
|
rm -f $(libdir)/$(LIBRARY_NAME).so ; \
|
||||||
ln -s $(libdir)/libobjects.so.$(OBJECTS_VERSION) \
|
ln -s $(libdir)/$(LIBRARY_NAME).so.$(VERSION) \
|
||||||
$(libdir)/libobjects.so.$(OBJECTS_MAJOR_VERSION) ; \
|
$(libdir)/$(LIBRARY_NAME).so.$(MAJOR_VERSION) ; \
|
||||||
ln -s $(libdir)/libobjects.so.$(OBJECTS_MAJOR_VERSION) \
|
ln -s $(libdir)/$(LIBRARY_NAME).so.$(MAJOR_VERSION) \
|
||||||
$(libdir)/libobjects.so ; \
|
$(libdir)/$(LIBRARY_NAME).so ; \
|
||||||
fi
|
fi
|
||||||
# Install the headers
|
# Install the headers
|
||||||
for file in $(HEADERS_INSTALL); do \
|
for file in $(HEADERS_INSTALL); do \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$file $(includedir)/$$file ; \
|
$(INSTALL_DATA) $(srcdir)/$$file \
|
||||||
|
$(includedir)/gnustep/base/`basename $$file` ; \
|
||||||
done
|
done
|
||||||
$(INSTALL_DATA) objects/config.h $(includedir)/objects/config.h
|
$(INSTALL_DATA) include/config.h $(includedir)/gnustep/base/config.h
|
||||||
cd $(includedir)/Foundation; rm -f README; ln -s ../objects/README .
|
cd $(includedir); rm -f Foundation; ln -s ./gnustep/base ./Foundation
|
||||||
cd $(includedir)/objc; rm -f README; ln -s ../objects/README .
|
cd $(includedir)/objc; rm -f README; ln -s ../include/README .
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
$(srcdir)/../mkinstalldirs \
|
$(srcdir)/../mkinstalldirs \
|
||||||
$(libdir) \
|
$(libdir) \
|
||||||
$(includedir)/objects \
|
$(includedir)/gnustep/base
|
||||||
$(includedir)/objc \
|
|
||||||
$(includedir)/Foundation
|
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(libdir)/libobjects$(LIBEXT)
|
rm -f $(libdir)/$(LIBRARY_NAME)$(LIBEXT)
|
||||||
rm -rf $(includedir)/objects \
|
rm -rf $(includedir)/gnustep/base
|
||||||
$(includedir)/Foundation
|
rm -f $(includedir)/Foundation
|
||||||
for file in $(NEXTSTEP_HEADERS); do \
|
|
||||||
rm -f $(includedir)/$$file ; \
|
|
||||||
done
|
|
||||||
|
|
||||||
# Creation of NSValue and NSNumber concrete classes from templates
|
# Creation of NSValue and NSNumber concrete classes from templates
|
||||||
$(NSVALUE_MFILES) : NSCTemplateValue.m
|
$(NSVALUE_MFILES) : NSCTemplateValue.m
|
||||||
|
@ -568,16 +568,16 @@ dynamic-load.h: ../config.status
|
||||||
rm -f dynamic-load.h
|
rm -f dynamic-load.h
|
||||||
cp $(srcdir)/$(DYNAMIC_LINKER)-load.h dynamic-load.h
|
cp $(srcdir)/$(DYNAMIC_LINKER)-load.h dynamic-load.h
|
||||||
|
|
||||||
objects/stdobjects.h: objects/stdobjects.h.in ../Version
|
include/preface.h: include/preface.h.in ../Version
|
||||||
rm -f $@
|
rm -f $@
|
||||||
sed -e "s/@OBJECTS_VERSION@/$(OBJECTS_VERSION)/" \
|
sed -e "s/@VERSION@/$(VERSION)/" \
|
||||||
< $< | \
|
< $< | \
|
||||||
sed -e "s/@OBJECTS_MAJOR_VERSION@/$(OBJECTS_MAJOR_VERSION)/" | \
|
sed -e "s/@MAJOR_VERSION@/$(MAJOR_VERSION)/" | \
|
||||||
sed -e "s/@OBJECTS_MINOR_VERSION@/$(OBJECTS_MINOR_VERSION)/" | \
|
sed -e "s/@MINOR_VERSION@/$(MINOR_VERSION)/" | \
|
||||||
sed -e "s/@OBJECTS_SUBMINOR_VERSION@/$(OBJECTS_SUBMINOR_VERSION)/" | \
|
sed -e "s/@SUBMINOR_VERSION@/$(SUBMINOR_VERSION)/" | \
|
||||||
sed -e "s/@OBJECTS_GCC_VERSION@/$(OBJECTS_GCC_VERSION)/" \
|
sed -e "s/@GCC_VERSION@/$(GCC_VERSION)/" \
|
||||||
> $@
|
> $@
|
||||||
stdobjects$(OEXT): objects/stdobjects.h
|
preface$(OEXT): include/preface.h
|
||||||
|
|
||||||
# Turn off warnings for o_vscanf.c, it generates a bunch of unimportant ones.
|
# Turn off warnings for o_vscanf.c, it generates a bunch of unimportant ones.
|
||||||
o_vscanf$(OEXT): o_vscanf.c
|
o_vscanf$(OEXT): o_vscanf.c
|
||||||
|
@ -585,26 +585,26 @@ o_vscanf$(OEXT): o_vscanf.c
|
||||||
o_vscanf_pic$(OEXT): o_vscanf.c
|
o_vscanf_pic$(OEXT): o_vscanf.c
|
||||||
$(CC) -c $(ALL_CPPFLAGS) $(DEFS) $(ALL_OBJCFLAGS) -w -o $@ $<
|
$(CC) -c $(ALL_CPPFLAGS) $(DEFS) $(ALL_OBJCFLAGS) -w -o $@ $<
|
||||||
|
|
||||||
objects/%-bas.h: objects/x-bas.h.in
|
include/%-bas.h: include/x-bas.h.in
|
||||||
sed -e "s/@XX@/$*/g" $< > $@
|
sed -e "s/@XX@/$*/g" $< > $@
|
||||||
|
|
||||||
objects/%-cbs.h: objects/x-cbs.h.in
|
include/%-cbs.h: include/x-cbs.h.in
|
||||||
sed -e "s/@YY@/$*/g" $< > $@
|
sed -e "s/@YY@/$*/g" $< > $@
|
||||||
|
|
||||||
%-bas.m: x-bas.m.in objects/%.h
|
%-bas.m: x-bas.m.in include/%.h
|
||||||
sed -e "s/@XX@/$*/g" $< > $@
|
sed -e "s/@XX@/$*/g" $< > $@
|
||||||
|
|
||||||
%-cbs.m: x-cbs.m.in objects/%.h
|
%-cbs.m: x-cbs.m.in include/%.h
|
||||||
sed -e "s/@YY@/$*/g" $< > $@
|
sed -e "s/@YY@/$*/g" $< > $@
|
||||||
|
|
||||||
array.o: array.m objects/array.h
|
array.o: array.m include/array.h
|
||||||
objects/array.h: objects/array-bas.h objects/array-cbs.h objects/hash.h
|
include/array.h: include/array-bas.h include/array-cbs.h include/hash.h
|
||||||
hash.o: hash.m objects/hash.h
|
hash.o: hash.m include/hash.h
|
||||||
objects/hash.h: objects/hash-bas.h objects/hash-cbs.h
|
include/hash.h: include/hash-bas.h include/hash-cbs.h
|
||||||
list.o: list.m objects/list.h
|
list.o: list.m include/list.h
|
||||||
objects/list.h: objects/list-bas.h objects/list-cbs.h objects/array.h objects/hash.h
|
include/list.h: include/list-bas.h include/list-cbs.h include/array.h include/hash.h
|
||||||
map.o: map.m objects/map.h
|
map.o: map.m include/map.h
|
||||||
objects/map.h: objects/map-bas.h objects/map-cbs.h objects/hash.h
|
include/map.h: include/map-bas.h include/map-cbs.h include/hash.h
|
||||||
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in ../config.status
|
Makefile: $(srcdir)/Makefile.in ../config.status
|
||||||
|
@ -631,23 +631,21 @@ AUTHORS: Makefile.in
|
||||||
mostlyclean:
|
mostlyclean:
|
||||||
rm -f core \
|
rm -f core \
|
||||||
*~ \
|
*~ \
|
||||||
objects/*~ \
|
include/*~ \
|
||||||
Foundation/*~ \
|
|
||||||
objc/*~
|
objc/*~
|
||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
rm -f libobjects$(LIBEXT) *$(OEXT)
|
rm -f $(LIBRARY_NAME)$(LIBEXT) *$(OEXT)
|
||||||
rm -f $(NSVALUE_MFILES) $(NSNUMBER_MFILES)
|
rm -f $(NSVALUE_MFILES) $(NSNUMBER_MFILES)
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
rm -f dynamic-load.h
|
rm -f dynamic-load.h
|
||||||
maintainer-clean: distclean
|
maintainer-clean: distclean
|
||||||
rm -f TAGS objects/stdobjects.h objects/config.h
|
rm -f TAGS include/preface.h include/config.h
|
||||||
|
|
||||||
copy-dist: $(DIST_FILES)
|
copy-dist: $(DIST_FILES)
|
||||||
mkdir ../snap/src
|
mkdir ../snap/src
|
||||||
mkdir ../snap/src/objects
|
mkdir ../snap/src/include
|
||||||
mkdir ../snap/src/objc
|
mkdir ../snap/src/objc
|
||||||
mkdir ../snap/src/Foundation
|
|
||||||
for file in $(DIST_FILES); do \
|
for file in $(DIST_FILES); do \
|
||||||
ln $$file ../snap/src/$$file ; \
|
ln $$file ../snap/src/$$file ; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue