Skip to content

Commit

Permalink
This commit was generated by cvs2svn to compensate for changes in r11,
Browse files Browse the repository at this point in the history
which included commits to RCS files with non-trunk default branches.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Jan 16, 1998
1 parent 986c389 commit d951f65
Show file tree
Hide file tree
Showing 79 changed files with 8,846 additions and 8,177 deletions.
4,400 changes: 463 additions & 3,937 deletions ChangeLog

Large diffs are not rendered by default.

26 changes: 22 additions & 4 deletions MANIFEST
@@ -1,3 +1,4 @@
COPYING
ChangeLog ChangeLog
MANIFEST MANIFEST
Makefile.in Makefile.in
Expand Down Expand Up @@ -32,10 +33,16 @@ glob.c
hash.c hash.c
inits.c inits.c
install-sh install-sh
instruby.rb
intern.h
io.c io.c
io.h io.h
keywords
lex.c
main.c main.c
marshal.c
math.c math.c
mkconfig.rb
node.h node.h
numeric.c numeric.c
object.c object.c
Expand All @@ -51,6 +58,7 @@ regex.h
ruby.1 ruby.1
ruby.c ruby.c
ruby.h ruby.h
rubytest.rb
sig.h sig.h
signal.c signal.c
sprintf.c sprintf.c
Expand Down Expand Up @@ -78,34 +86,41 @@ lib/cgi-lib.rb
lib/complex.rb lib/complex.rb
lib/date.rb lib/date.rb
lib/debug.rb lib/debug.rb
lib/delegate.rb
lib/e2mmap.rb lib/e2mmap.rb
lib/e2mmap1_0.rb lib/eregex.rb
lib/find.rb lib/find.rb
lib/finalize.rb lib/finalize.rb
lib/ftplib.rb lib/ftplib.rb
lib/ftools.rb
lib/getopts.rb lib/getopts.rb
lib/importenv.rb
lib/jcode.rb lib/jcode.rb
lib/mailread.rb lib/mailread.rb
lib/mathn.rb lib/mathn.rb
lib/matrix.rb lib/matrix.rb
lib/mkmf.rb
lib/mutex_m.rb lib/mutex_m.rb
lib/observer.rb lib/observer.rb
lib/ostruct.rb
lib/parsearg.rb lib/parsearg.rb
lib/parsedate.rb lib/parsedate.rb
lib/ping.rb lib/ping.rb
lib/pstore.rb
lib/rational.rb lib/rational.rb
lib/shellwords.rb
lib/sync.rb lib/sync.rb
lib/thread.rb lib/thread.rb
lib/thwait.rb lib/thwait.rb
lib/tk.rb lib/tk.rb
lib/tkcore.rb
lib/tkcanvas.rb lib/tkcanvas.rb
lib/tkclass.rb lib/tkclass.rb
lib/tkdialog.rb
lib/tkentry.rb lib/tkentry.rb
lib/tkscrollbox.rb lib/tkscrollbox.rb
lib/tktext.rb lib/tktext.rb
lib/tkthcore.rb
lib/tracer.rb lib/tracer.rb
lib/weakref.rb
missing/alloca.c missing/alloca.c
missing/crypt.c missing/crypt.c
missing/dir.h missing/dir.h
Expand All @@ -126,6 +141,7 @@ missing/strtol.c
missing/strtoul.c missing/strtoul.c
missing/x68.c missing/x68.c
sample/biorhythm.rb sample/biorhythm.rb
sample/cbreak.rb
sample/clnt.rb sample/clnt.rb
sample/dbmtest.rb sample/dbmtest.rb
sample/dir.rb sample/dir.rb
Expand All @@ -141,7 +157,6 @@ sample/freq.rb
sample/from.rb sample/from.rb
sample/fullpath.rb sample/fullpath.rb
sample/getopts.test sample/getopts.test
sample/io.rb
sample/less.rb sample/less.rb
sample/list.rb sample/list.rb
sample/list2.rb sample/list2.rb
Expand All @@ -155,6 +170,7 @@ sample/occur.rb
sample/occur2.rb sample/occur2.rb
sample/philos.rb sample/philos.rb
sample/pi.rb sample/pi.rb
sample/rbc.rb
sample/rcs.awk sample/rcs.awk
sample/rcs.dat sample/rcs.dat
sample/rcs.rb sample/rcs.rb
Expand All @@ -180,6 +196,8 @@ win32/Makefile
win32/config.h win32/config.h
win32/ntsetup.bat win32/ntsetup.bat
win32/ruby.def win32/ruby.def
win32/sdbm.c
win32/sdbm.h
x68/fconvert.c x68/fconvert.c
x68/select.c x68/select.c
x68/_dtos18.c x68/_dtos18.c
Expand Down
128 changes: 54 additions & 74 deletions Makefile.in
Expand Up @@ -7,9 +7,6 @@ VPATH = @srcdir@:@srcdir@/missing


CC = @CC@ CC = @CC@
YACC = @YACC@ YACC = @YACC@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
PURIFY = PURIFY =
@SET_MAKE@ @SET_MAKE@


Expand All @@ -18,22 +15,14 @@ LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
LIBS = @LIBS@ $(EXTLIBS) LIBS = @LIBS@ $(EXTLIBS)
MISSING = @LIBOBJS@ @ALLOCA@ MISSING = @LIBOBJS@ @ALLOCA@


program_transform_name = -e @program_transform_name@
RUBY_INSTALL_NAME = `t='$(program_transform_name)'; echo ruby | sed $$t`

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@/$(RUBY_INSTALL_NAME)

binsuffix = @binsuffix@ binsuffix = @binsuffix@


#### End of system configuration section. #### #### End of system configuration section. ####




LIBRUBY = libruby.a LIBRUBY = libruby.a


EXTOBJS = dmyext.o EXTOBJS =


MAINOBJ = main.o MAINOBJ = main.o


Expand All @@ -54,6 +43,7 @@ OBJS = array.o \
inits.o \ inits.o \
io.o \ io.o \
math.o \ math.o \
marshal.o \
numeric.o \ numeric.o \
object.o \ object.o \
pack.o \ pack.o \
Expand All @@ -75,15 +65,12 @@ OBJS = array.o \
version.o \ version.o \
$(MISSING) $(MISSING)


all: miniruby$(binsuffix) @srcdir@/ext/Setup all: miniruby$(binsuffix) rbconfig.rb
@if test -z "$$UNDER_EXTMAKE_RB"; \ @cd ext; ../miniruby$(binsuffix) ./extmk.rb @EXTSTATIC@
then echo "Compiling ext modules"; \
UNDER_EXTMAKE_RB=yes; export UNDER_EXTMAKE_RB; \
cd ext; ../miniruby ./extmk.rb @EXTSTATIC@; fi


miniruby$(binsuffix): $(OBJS) $(MAINOBJ) $(EXTOBJS) miniruby$(binsuffix): $(OBJS) $(MAINOBJ) dmyext.o
@rm -f $@ @rm -f $@
$(PURIFY) $(CC) $(LDFLAGS) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(LIBS) -o miniruby $(PURIFY) $(CC) $(LDFLAGS) $(MAINOBJ) $(OBJS) dmyext.o $(LIBS) -o miniruby


ruby$(binsuffix): $(LIBRUBY) $(MAINOBJ) $(EXTOBJS) ruby$(binsuffix): $(LIBRUBY) $(MAINOBJ) $(EXTOBJS)
@rm -f $@ @rm -f $@
Expand All @@ -93,36 +80,31 @@ $(LIBRUBY): $(OBJS) dmyext.o
@AR@ rcu $(LIBRUBY) $(OBJS) dmyext.o @AR@ rcu $(LIBRUBY) $(OBJS) dmyext.o
@-@RANLIB@ $(LIBRUBY) 2> /dev/null || true @-@RANLIB@ $(LIBRUBY) 2> /dev/null || true


install:; $(INSTALL_PROGRAM) ruby$(binsuffix) $(bindir)/$(RUBY_INSTALL_NAME)$(binsuffix) install: rbconfig.rb
@-@STRIP@ $(bindir)/$(RUBY_INSTALL_NAME)$(binsuffix) ./miniruby$(binsuffix) $(srcdir)/instruby.rb
@test -d $(libdir) || mkdir $(libdir)
cd ext; ../miniruby ./extmk.rb install
@for rb in `grep '^lib/' @srcdir@/MANIFEST`; do \
$(INSTALL_DATA) @srcdir@/$$rb $(libdir); \
done


clean:; @rm -f $(OBJS) $(LIBRUBY) $(MAINOBJ) clean:; @rm -f $(OBJS) $(LIBRUBY) $(MAINOBJ) rbconfig.rb
@rm -f ext/extinit.c ext/extinit.o dmyext.o @rm -f ext/extinit.c ext/extinit.o dmyext.o
cd ext; ../miniruby ./extmk.rb clean @if test -f ./miniruby; then cd ext; ../miniruby ./extmk.rb clean; fi


realclean: clean realclean: clean
@rm -f Makefile ext/extmk.rb ext/config.cache parse.c @rm -f Makefile ext/extmk.rb ext/config.cache
@rm -f config.cache config.h config.log config.status @rm -f config.cache config.h config.log config.status
@rm -f core ruby$(binsuffix) miniruby$(binsuffix) parse.c *~ *.core gmon.out @rm -f parse.c lex.c *~ core *.core gmon.out

@rm -f ruby$(binsuffix) miniruby$(binsuffix)
test:; @-./ruby @srcdir@/sample/test.rb > ./ruby_test 2>&1; \
if grep '^end of test' ./ruby_test > /dev/null; then \ test: miniruby$(binsuffix)
echo "test succeeded"; \ @./miniruby$(binsuffix) $(srcdir)/rubytest.rb
else \
grep '^sample/test.rb' ./ruby_test; \ rbconfig.rb: config.status miniruby$(binsuffix)
grep '^not' ./ruby_test; \ @./miniruby$(binsuffix) $(srcdir)/mkconfig.rb rbconfig.rb
echo "test failed";\
fi;\
rm -f ./ruby_test


.c.o: .c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< $(CC) $(CFLAGS) $(CPPFLAGS) -c $<


lex.c: keywords
gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ keywords > lex.c

parse.c: parse.y parse.c: parse.y
$(YACC) $< $(YACC) $<
mv -f y.tab.c parse.c mv -f y.tab.c parse.c
Expand Down Expand Up @@ -178,42 +160,40 @@ x68.o: @srcdir@/missing/x68.c
# Prevent GNU make v3 from overflowing arg limit on SysV. # Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT: .NOEXPORT:
### ###
parse.o : parse.y ruby.h defines.h config.h env.h node.h st.h regex.h parse.o : parse.y ruby.h defines.h config.h intern.h env.h node.h st.h regex.h lex.c
### ###
array.o: array.c ruby.h config.h defines.h array.o: array.c ruby.h config.h defines.h intern.h
bignum.o: bignum.c ruby.h config.h defines.h bignum.o: bignum.c ruby.h config.h defines.h intern.h
class.o: class.c ruby.h config.h defines.h node.h st.h class.o: class.c ruby.h config.h defines.h intern.h node.h st.h
compar.o: compar.c ruby.h config.h defines.h compar.o: compar.c ruby.h config.h defines.h intern.h
dir.o: dir.c ruby.h config.h defines.h dir.o: dir.c ruby.h config.h defines.h intern.h
dln.o: dln.c config.h defines.h dln.h st.h dln.o: dln.c config.h defines.h dln.h st.h
dmyext.o: dmyext.c dmyext.o: dmyext.c
enum.o: enum.c ruby.h config.h defines.h enum.o: enum.c ruby.h config.h defines.h intern.h
error.o: error.c ruby.h config.h defines.h env.h error.o: error.c ruby.h config.h defines.h intern.h env.h
eval.o: eval.c ruby.h config.h defines.h env.h node.h sig.h st.h dln.h eval.o: eval.c ruby.h config.h defines.h intern.h env.h node.h sig.h st.h dln.h
file.o: file.c ruby.h config.h defines.h io.h sig.h file.o: file.c ruby.h config.h defines.h intern.h io.h sig.h
fnmatch.o: fnmatch.c config.h fnmatch.h gc.o: gc.c ruby.h config.h defines.h intern.h env.h sig.h st.h node.h re.h regex.h
gc.o: gc.c ruby.h config.h defines.h env.h sig.h st.h node.h re.h regex.h hash.o: hash.c ruby.h config.h defines.h intern.h st.h
glob.o: glob.c config.h fnmatch.h inits.o: inits.c ruby.h config.h defines.h intern.h
hash.o: hash.c ruby.h config.h defines.h st.h io.o: io.c ruby.h config.h defines.h intern.h io.h sig.h
inits.o: inits.c ruby.h config.h defines.h
io.o: io.c ruby.h config.h defines.h io.h sig.h
main.o: main.c main.o: main.c
math.o: math.c ruby.h config.h defines.h marshal.o: marshal.c ruby.h config.h defines.h intern.h io.h sig.h st.h
numeric.o: numeric.c ruby.h config.h defines.h math.o: math.c ruby.h config.h defines.h intern.h
object.o: object.c ruby.h config.h defines.h st.h numeric.o: numeric.c ruby.h config.h defines.h intern.h
pack.o: pack.c ruby.h config.h defines.h object.o: object.c ruby.h config.h defines.h intern.h st.h
process.o: process.c ruby.h config.h defines.h sig.h st.h pack.o: pack.c ruby.h config.h defines.h intern.h
random.o: random.c ruby.h config.h defines.h process.o: process.c ruby.h config.h defines.h intern.h sig.h st.h
range.o: range.c ruby.h config.h defines.h random.o: random.c ruby.h config.h defines.h intern.h
re.o: re.c ruby.h config.h defines.h re.h regex.h range.o: range.c ruby.h config.h defines.h intern.h
regex.o: regex.c config.h defines.h regex.h util.h re.o: re.c ruby.h config.h defines.h intern.h re.h regex.h
ruby.o: ruby.c ruby.h config.h defines.h re.h regex.h dln.h ruby.o: ruby.c ruby.h config.h defines.h intern.h re.h regex.h dln.h
signal.o: signal.c ruby.h config.h defines.h sig.h signal.o: signal.c ruby.h config.h defines.h intern.h sig.h
sprintf.o: sprintf.c ruby.h config.h defines.h sprintf.o: sprintf.c ruby.h config.h defines.h intern.h
st.o: st.c config.h st.h st.o: st.c config.h st.h
string.o: string.c ruby.h config.h defines.h re.h regex.h string.o: string.c ruby.h config.h defines.h intern.h re.h regex.h
struct.o: struct.c ruby.h config.h defines.h struct.o: struct.c ruby.h config.h defines.h intern.h
time.o: time.c ruby.h config.h defines.h time.o: time.c ruby.h config.h defines.h intern.h
util.o: util.c defines.h config.h util.h util.o: util.c defines.h intern.h config.h util.h
variable.o: variable.c ruby.h config.h defines.h env.h st.h variable.o: variable.c ruby.h config.h defines.h intern.h env.h st.h
version.o: version.c ruby.h config.h defines.h version.h version.o: version.c ruby.h config.h defines.h intern.h version.h

0 comments on commit d951f65

Please sign in to comment.