Snapshots and releases work again.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2457 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1997-09-27 15:26:51 +00:00
parent b22dad4883
commit 6107b6a5c0
15 changed files with 411 additions and 74 deletions

View file

@ -31,7 +31,7 @@ example.patch \
volunteers \
tasks
RCS_FILES = Makefile
RCS_FILES = Makefile Makefile.postamble
DIST_FILES = $(RCS_FILES) $(ADMIN_FILES)
-include Makefile.preamble

View file

@ -77,7 +77,7 @@ tasks: ../doc/todo.texi
cp ../doc/TODO ./tasks
copy-dist: $(DIST_FILES)
mkdir $(srcdir)/../snap/admin
mkdir ../snap/admin
for f in $(DIST_FILES); do \
cp $$f $(srcdir)/../snap/admin ; \
cp $$f ../snap/admin ; \
done

View file

@ -1,3 +1,22 @@
Fri Sep 26 20:43:12 1997 Adam Fedor <fedor@doc.com>
* Fix Makefiles so snapshots and releases work again
* Makefile: Include missing DIST_FILES
* Makefile.postamble: Correct csnap projects.
* NSCharacterSets/Makefile: Include missing DIST_FILES.
* admin/Makefile: Likewise.
* admin/Makefile: Correct snap target.
* checks/Makefile: Include missing DIST_FILES.
* checks/Makefile.postamble: New file.
* examples/Makefile: Include missing DIST_FILES.
* examples/Makefile.postamble: New file.
* doc/Makefile.postamble: New file.
* src/Makefile: Include missing DIST_FILES.
* ssrc/Makefile.postamble: Fix AUTHORS depend, copy-dist.
* STATUS: Update.
* README.foundation: Remove obsolete file.
Sat Sep 23 10:18:41 2017 Scott Christley <scottc@net-community.com>
* Convert to GNUstep makefile package.

View file

@ -0,0 +1,188 @@
#
# Makefile.postamble
#
# Copyright (C) 1997 Free Software Foundation, Inc.
#
# Author: 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.
#
# If you are interested in a warranty or support for this source code,
# contact Scott Christley at scottc@net-community.com
#
# You should have received a copy of the GNU Library General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Makefile.postamble
#
# Project specific makefile rules
#
# Uncomment the targets you want.
# The double colons (::) are important, do not make them single colons
# otherwise the normal makefile rules will not be performed.
#
# Things to do before compiling
# before-all::
# Things to do after compiling
# after-all::
# Things to do before installing
# before-install::
# Things to do after installing
# after-install::
# Things to do before uninstalling
# before-uninstall::
# Things to do after uninstalling
# after-uninstall::
# Things to do before cleaning
# before-clean::
# Things to do after cleaning
after-clean::
rm -f version.texi
rm -f $(TEXT_FILES)
rm -f *.info
rm -f gnustep-base.dvi gnustep-base.aux gnustep-base.log \
gnustep-base.toc gnustep-base.cl \
gnustep-base.cp gnustep-base.cps gnustep-base.fn gnustep-base.fns \
gnustep-base.ky gnustep-base.pg gnustep-base.pr gnustep-base.tp \
gnustep-base.vr
# Things to do before distcleaning
# before-distclean::
# Things to do after distcleaning
# after-distclean::
# Things to do before checking
# before-check::
# Things to do after checking
# after-check::
srcdir=.
info: version.texi $(TEXT_FILES)
dvi: gnustep-base.dvi objective-c.dvi
version.texi: $(srcdir)/../Version
rm -f version.texi
echo '@set GNUSTEP_BASE_VERSION' $(VERSION) \
> version.texi
echo '@set GNUSTEP_BASE_GCC_VERSION $(GCC_VERSION)' \
>> version.texi
if [ $(FTP_MACHINE) ]; then \
echo '@set GNUSTEP_BASE_FTP_MACHINE $(FTP_MACHINE)' \
>> version.texi; fi
if [ $(FTP_DIRECTORY) ]; then \
echo '@set GNUSTEP_BASE_FTP_DIRECTORY $(FTP_DIRECTORY)' \
>> version.texi; fi
gnustep-base.dvi: gnustep-base.texi version.texi
$(TEXI2DVI) $(srcdir)/gnustep-base.texi
objective-c.dvi: objective-c.texi
$(TEXI2DVI) $(srcdir)/objective-c.texi
MAKEINFO_FLAGS = -I $(srcdir)
gnustep-base.info: gnustep-base.texi todo.texi version.texi
@echo Sorry, makeinfo does not yet support Objective C documentation.
:$(MAKEINFO) $(MAKEINFO_FLAGS) $(srcdir)/gnustep-base.texi
objective-c.info: objective-c.texi
@echo Sorry, makeinfo does not yet support Objective C documentation.
:$(MAKEINFO) $(MAKEINFO_FLAGS) $(srcdir)/objective-c.texi
TODO: todo.texi version.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o TODO -D TODO_ONLY \
--no-header --no-split $(srcdir)/todo.texi
INSTALL: install.texi version.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o INSTALL -D INSTALL_ONLY \
--no-header --no-split $(srcdir)/install.texi
CODING-STANDARDS: codign-standards.texi version.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o CODING-STANDARDS -D CODING_ONLY \
--no-header --no-split $(srcdir)/coding-standards.texi
README: readme.texi version.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o README -D README_ONLY \
--no-header --no-split $(srcdir)/readme.texi
ANNOUNCE: announce.texi version.texi news.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o ANNOUNCE -D ANNOUNCE_ONLY \
--no-header --no-split $(srcdir)/announce.texi
NEWS: news.texi version.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o NEWS -D NEWS_ONLY \
--no-header --no-split $(srcdir)/news.texi
ADVERTISEMENT: advertisement.texi version.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o ADVERTISEMENT -D ADVERTISEMENT_ONLY \
--no-header --no-split $(srcdir)/advertisement.texi
# Unused for now, but may be used in the future.
#%: %.texi
# $(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ -D ${@}_ONLY \
# --no-header --no-split $(srcdir)/$<
#
#%.texi: %.www.texi
# rm -f $@
# sed -e 's,@email{\([^}]*\)},<\1>,g' \
# $(srcdir)/$< \
# | sed -e 's,@url{\([^}]*\)},@samp{\1},g' \
# > $@
#
#%.html: %.www.texi
# rm -f $@.texi
# sed -e 's,@email{\([^}]*\)},<A HREF="mailto:\1">\1</A>,g' \
# $(srcdir)/$< \
# | sed -e 's,@url{\([^}]*\)},<A HREF="\1">\1</A>,g' \
# | sed -e 's,^ *$$,@br{},g' \
# > $<.html.texi
# texi2html -expandinfo $(MAKEINFO_FLAGS) $<.html.texi
# mv -f $<.html.html $*.html
# Make substitutions for @email{} and @url{} before passing to makeinfo.
# These substitution scripts could be cleaned up.
GNUstep-FAQ: gnustep-faq.texi version.texi
rm -f GNUstep-FAQ.texi
sed -e 's,@email{\([^}]*\)},<\1>,g' \
$(srcdir)/gnustep-faq.texi \
| sed -e 's,@url{\([^}]*\)},@samp{\1},g' \
> GNUstep-FAQ.texi
$(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ \
--no-header --no-split GNUstep-FAQ.texi
rm -f GNUstep-FAQ.texi
# Make substitutions for @email{} and @url{}, and add @br{} before @item
# before passing to texi2html. Note: I think that this `@br{}' should
# actually be a `@br', but the extra `{}' is necessary to work around a
# bug in texi@html.
# These substitution scripts could be cleaned up.
GNUstep-FAQ.html: gnustep-faq.texi version.texi
rm -f GNUstep-FAQ.texi
sed -e 's,@email{\([^}]*\)},<A HREF="mailto:\1">\1</A>,g' \
$(srcdir)/gnustep-faq.texi \
| sed -e 's,@url{\([^}]*\)},<A HREF="\1">\1</A>,g' \
| sed -e 's,^ *$$,@br{},g' \
> GNUstep-FAQ.texi
texi2html -expandinfo $(MAKEINFO_FLAGS) GNUstep-FAQ.texi
# | awk -- '/@item/ { print "@br{}" } /@end itemize/ { print "@br{}" } ; { print }'
#<A HREF="http://www.cl.cam.ac.uk/texinfodoc/dir.html">GNU "info" manuals</A>
copy-dist: $(DIST_FILES)
mkdir ../snap/doc
ln $(DIST_FILES) ../snap/doc
ln $(TOP_DOC_FILES) ../snap

View file

@ -46,12 +46,14 @@ first-client_OBJC_FILES = first-client.m
second-server_OBJC_FILES = second-server.m
second-client_OBJC_FILES = second-client.m
SRCS = $(TOOL_NAME:=.m)
HDRS = \
first-server.h \
second-server.h \
second-client.h
RCS_FILES = $(SRCS) $(HDRS) Makefile \
DIST_FILES = $(SRCS) $(HDRS) Makefile Makefile.postamble Makefile.preamble \
Makefile.example.in \
configure.example.in \
custom-zone.m

View file

@ -0,0 +1,78 @@
#
# Makefile.postamble
#
# Copyright (C) 1997 Free Software Foundation, Inc.
#
# Author: 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.
#
# If you are interested in a warranty or support for this source code,
# contact Scott Christley at scottc@net-community.com
#
# You should have received a copy of the GNU Library General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Makefile.postamble
#
# Project specific makefile rules
#
# Uncomment the targets you want.
# The double colons (::) are important, do not make them single colons
# otherwise the normal makefile rules will not be performed.
#
# Things to do before compiling
# before-all::
# Things to do after compiling
# after-all::
# Things to do before installing
# before-install::
# Things to do after installing
# after-install::
# Things to do before uninstalling
# before-uninstall::
# Things to do after uninstalling
# after-uninstall::
# Things to do before cleaning
# before-clean::
# Things to do after cleaning
# after-clean::
# Things to do before distcleaning
# before-distclean::
# Things to do after distcleaning
# after-distclean::
# Things to do before checking
# before-check::
# Things to do after checking
# after-check::
copy-dist: $(DIST_FILES)
mkdir ../snap/examples
for f in $(DIST_FILES); do \
cp $$f ../snap/examples ; \
done

View file

@ -26,12 +26,15 @@ include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/common.make
include ./Version
PACKAGE_NAME = gstep-base
DIST_FILES = \
Makefile.in Makeconf configure.in aclocal.m4 acconfig.h \
configure.bat Makefile.sed.nt INSTALL.WIN32 \
Makefile Makefile.postamble config.mak.in \
configure.in aclocal.m4 acconfig.h \
configure.bat INSTALL.WIN32 \
config/config.nested.c config/config.nextcc.h config/config.nextrt.m \
config/config.vsprintf.c \
README.ULTRIX README.foundation README.ucblib \
README.ULTRIX README.ucblib \
STATUS RELEASE-NOTES \
COPYING COPYING.LIB ChangeLog \
configure Version \

View file

@ -72,11 +72,13 @@ after-distclean::
# Things to do after checking
# after-check::
configure: configure.in
autoconf
snap: $(DIST_FILES)
rm -rf snap
mkdir snap
for i in $(SUBDIRS); do \
for i in $(SUBPROJECTS); do \
(cd $$i; $(MAKE) $(MAKEDEFINES) copy-dist); \
done
mkdir snap/config

View file

@ -39,7 +39,7 @@ uppercaseCharSet.dat \
whitespaceCharSet.dat \
whitespaceandnlCharSet.dat
RCS_FILES = Makefile
RCS_FILES = Makefile Makefile.preamble Makefile.postamble
DIST_FILES = $(RCS_FILES) $(CHARSET_FILES) README.CharSet
INSTALL_FILES = $(CHARSET_FILES) README.CharSet

View file

@ -1,40 +0,0 @@
Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by slate.cs.rochester.edu (8.6.9/G) with ESMTP id LAA28657 for <mccallum>; Wed, 23 Aug 1995 11:56:35 -0400
Received: from mode.Colorado.EDU (mode.Colorado.EDU [128.138.248.167]) by cayuga.cs.rochester.edu (8.6.9/G) with ESMTP id LAA06539 for <mccallum@cs.rochester.edu>; Wed, 23 Aug 1995 11:56:34 -0400
Received: (from fedor@localhost) by mode.Colorado.EDU (8.6.12/8.6.11/UnixOps/Hesiod(SDM)) id JAA01294; Wed, 23 Aug 1995 09:56:31 -0600
Date: Wed, 23 Aug 1995 09:56:30 -0600 (MDT)
From: Adam Fedor <fedor@mode.Colorado.EDU>
Subject: Re: Georg Tuparev: include path
To: Andrew McCallum <mccallum@cs.rochester.edu>
In-Reply-To: <199508231454.KAA24578@slate.cs.rochester.edu>
Message-ID: <Pine.3.89.9508230949.A1285-0100000@mode.Colorado.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
The OpenStep docs all have Foundation. It's a bit cumbersome to switch
between them, but I assume when NeXT 4.0 comes out, they will have all
switched to capital "Foundation". I don't really know though. For now I
have this in my configure:
AC_CHECK_HEADER(foundation/NSObject.h, found_objects=1 next_foundation=1,
found_objects=0 next_foundation=0)
if test $next_foundation = 1; then
AC_DEFINE(NEXT_FOUNDATION)
AC_DEFINE(NS_BLOCK_ASSERTIONS)
fi
and in each header file:
#ifdef NEXT_FOUNDATION
#import <foundation/NSObject.h>
#else
#include <Foundation/NSObject.h>
#endif
As I said, cumbersome, but it should work with ANY OpenStep complient
foundation.
[Alternatively, you could just make a soft link from `foundation' to
`Foundation' -mccallum.]

31
STATUS
View file

@ -26,7 +26,7 @@ Classes
* NSBundle:: [8]
* NSCalendarDate:: [0]
* NSCalendarDate:: [5]
* NSCharacterSet:: [8]
decomposableCharacterSet and illegalCharacter set missing
@ -37,8 +37,7 @@ Classes
* NSConditionLock:: [8]
* NSConnection:: [0]
But GNU Connection is there as a base.
* NSConnection:: [7]
GNU Connection, however, needs:
* to handle retain/release/dealloc properly
* to be integrated with NSInvocation
@ -53,13 +52,11 @@ Classes
* NSDate:: [8]
* NSDeserializer:: [0]
* NSDeserializer:: [7]
* NSDictionary:: [8]
* NSDistantObject:: [0]
But GNU Proxy is there as a base.
See todo's for NSConnection.
* NSDistantObject:: [7]
* NSEnumerator:: [9]
@ -74,7 +71,7 @@ Classes
* NSMutableArray:: [8]
* NSMutableCharacterSet:: [4]
* NSMutableCharacterSet:: [7]
* NSMutableData:: [8]
@ -88,7 +85,7 @@ Classes
* NSNotificationCenter:: [9]
* NSNotificationQueue:: [4]
* NSNotificationQueue:: [6]
Needs integration with NSRunLoop, and efficiency improvements
* NSNumber:: [9]
@ -97,9 +94,7 @@ Classes
* NSProcessInfo:: [9]
* NSProxy:: [0]
But GNU Proxy is there as a base.
See todo's for NSConnection
* NSProxy:: [7]
* NSRecursiveLock:: [8]
@ -108,7 +103,7 @@ Classes
* NSScanner:: [8]
* NSSerializer:: [0]
* NSSerializer:: [7]
* NSSet:: [8]
@ -122,7 +117,7 @@ Classes
* NSTimeZoneDetail:: [8]
* NSTimer:: [4]
* NSTimer:: [6]
Working out bugs with returning doubles.
* NSUnarchiver:: [8]
@ -173,7 +168,7 @@ Memory Allocation Functions
`void NSDeallocateMemoryPages (void *POINTER, unsigned BYTECOUNT)'
`void NSCopyMemoryPages (const void *SOURCE, void *DESTINATION, unsigned BYTECOUNT)'
[6] Child and Merge Zones
[8] Child and Merge Zones
void NSMergeZone(NSZone *zonep)
NSZone *NSCreateChildZone(NSZone *parentZone, size_t startSize, size_t granularity, int canFree)
@ -375,16 +370,16 @@ Add or Remove an Item
Miscellaneous Functions
-----------------------
[0] Get Information about a User
[7] Get Information about a User
`NSString *NSUserName(void)'
`NSString *NSHomeDirectory(void)'
`NSString *NSHomeDirectoryForUser(NSString *USERNAME)'
[0] Log an Error Message
[9] Log an Error Message
`void NSLog(NSString *format,...'
`void NSLogv(NSString * FORMAT, va_list ARGS)'
[0] Get Localized Versions of Strings
[8] Get Localized Versions of Strings
`NSString * NSLocalizedString(NSString * KEY, NSString * COMMENT)'
`NSString * NSLocalizedStringFromTable(NSString * KEY, NSString * TABLENAME, NSString * COMMENT)'
`NSString * NSLocalizedStringFromTableInBundle(NSString * KEY, NSString * TABLENAME, NSBundle * ABUNDLE, NSString * COMMENT)'

View file

@ -69,7 +69,6 @@ Collection.m \
ConnectedCoder.m \
Connection.m \
Coder.m \
Connection.m \
CStream.m \
Decoder.m \
DelegatePool.m \
@ -377,7 +376,6 @@ hpux-load.h \
null-load.h \
simple-load.h \
NSCallBacks.h \
NSHost.m \
gdomap.c gdomap.h \
tzfile.h
@ -456,12 +454,11 @@ HEADERS_INSTALL = $(GNU_HEADERS) \
$(BASE_HEADERS)
DIST_FILES = \
Makefile.in AUTHORS Makefile.sed.nt \
Makefile Makefile.preamble Makefile.postamble AUTHORS \
include/config.h.in include/preface.h.in \
include/config-win32.h \
$(GNU_MFILES) \
$(GNU_CFILES) \
$(GNU_HEADERS) \
$(GNU_OTHER_SRCFILES) \
$(NEXTSTEP_MFILES) \
$(NEXTSTEP_CFILES) \
@ -470,10 +467,13 @@ DIST_FILES = \
$(NEXTSTEP_OTHER_SRCFILES) \
$(BASE_MFILES) \
$(BASE_CFILES) \
$(BASE_HEADERS) \
$(BASE_OTHER_SRCFILES) \
$(UNICODE_HEADERS)
GENERATED_HFILES = \
dynamic-load.h \
include/preface.h
# The C source files to be compiled
C_FILES = $(GNU_CFILES) $(NEXTSTEP_CFILES) $(NEXTSTEP_DERIVED_CFILES) \
$(BASE_CFILES)

View file

@ -36,7 +36,7 @@
#
# Things to do before compiling
before-all:: gnustep/base Foundation
before-all:: gnustep/base Foundation $(GENERATED_HFILES)
# Things to do after compiling
# after-all::
@ -180,7 +180,7 @@ include/o_map.h: include/o_map_bas.h include/o_map_cbs.h include/o_hash.h
TAGS: $(DIST_FILES)
etags $(DIST_FILES)
AUTHORS: Makefile.in
AUTHORS: Makefile
rm -f AUTHORS
@echo Finding file authors...
@echo 'For the legal record, here is a list of who wrote what:'>AUTHORS
@ -196,9 +196,16 @@ AUTHORS: Makefile.in
copy-dist: $(DIST_FILES)
mkdir ../snap/src
mkdir ../snap/src/include
mkdir ../snap/src/Foundation
mkdir ../snap/src/objc
mkdir ../snap/src/unicode
for file in $(DIST_FILES); do \
ln $$file ../snap/src/$$file ; \
done
for file in $(GNU_HEADERS); do \
ln ./include/$$file ../snap/src/include/$$file ; \
done
for file in $(BASE_HEADERS); do \
ln $$file ../snap/src/include/`basename $$file` ; \
done
ln AUTHORS ../snap

View file

@ -117,6 +117,8 @@ thread-except_OBJC_FILES = thread-except.m
nscharacterset_OBJC_FILES = nscharacterset.m
NSData-test_OBJC_FILES = NSData-test.m
SRCS = $(TOOL_NAME:=.m)
HDRS = \
server.h
@ -131,6 +133,9 @@ LoadMe.h \
MyCategory.h \
SecondClass.h
DIST_FILES = $(SRCS) $(HDRS) $(DYNAMIC_MFILES) $(DYNAMIC_HFILES) \
Makefile Makefile.preamble Makefile.postamble NXStringTable.example
-include Makefile.preamble
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/tool.make

View file

@ -0,0 +1,78 @@
#
# Makefile.postamble
#
# Copyright (C) 1997 Free Software Foundation, Inc.
#
# Author: 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.
#
# If you are interested in a warranty or support for this source code,
# contact Scott Christley at scottc@net-community.com
#
# You should have received a copy of the GNU Library General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Makefile.postamble
#
# Project specific makefile rules
#
# Uncomment the targets you want.
# The double colons (::) are important, do not make them single colons
# otherwise the normal makefile rules will not be performed.
#
# Things to do before compiling
# before-all::
# Things to do after compiling
# after-all::
# Things to do before installing
# before-install::
# Things to do after installing
# after-install::
# Things to do before uninstalling
# before-uninstall::
# Things to do after uninstalling
# after-uninstall::
# Things to do before cleaning
# before-clean::
# Things to do after cleaning
# after-clean::
# Things to do before distcleaning
# before-distclean::
# Things to do after distcleaning
# after-distclean::
# Things to do before checking
# before-check::
# Things to do after checking
# after-check::
copy-dist: $(DIST_FILES)
mkdir ../snap/checks
for f in $(DIST_FILES); do \
cp $$f ../snap/checks ; \
done