diff options
author | Larry Wall <larry@wall.org> | 1989-10-18 00:00:00 +0000 |
---|---|---|
committer | Larry Wall <larry@wall.org> | 1989-10-18 00:00:00 +0000 |
commit | a687059cbaf2c6fdccb5e0fae2aee80ec15625a8 (patch) | |
tree | 674c8533b7bd942204f23782934c72f8624dd308 /x2p/Makefile.SH | |
parent | 13281fa4f8547e0eb31d1986b865d9b7ec7d0dcc (diff) | |
download | perl-a687059cbaf2c6fdccb5e0fae2aee80ec15625a8.tar.gz |
perl 3.0: (no announcement message available)perl-3.000
A few of the new features: (18 Oct)
* Perl can now handle binary data correctly and has functions to pack and unpack binary structures into arrays or lists. You can now do arbitrary ioctl functions.
* You can now pass things to subroutines by reference.
* Debugger enhancements.
* An array or associative array may now appear in a local() list.
* Array values may now be interpolated into strings.
* Subroutine names are now distinguished by prefixing with &. You can call subroutines without using do, and without passing any argument list at all.
* You can use the new -u switch to cause perl to dump core so that you can run undump and produce a binary executable image. Alternately you can use the "dump" operator after initializing any variables and such.
* You can now chop lists.
* Perl now uses /bin/csh to do filename globbing, if available. This means that filenames with spaces or other strangenesses work right.
* New functions: mkdir and rmdir, getppid, getpgrp and setpgrp, getpriority and setpriority, chroot, ioctl and fcntl, flock, readlink, lstat, rindex, pack and unpack, read, warn, dbmopen and dbmclose, dump, reverse, defined, undef.
Diffstat (limited to 'x2p/Makefile.SH')
-rw-r--r-- | x2p/Makefile.SH | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH index a00ee89c79..c451965028 100644 --- a/x2p/Makefile.SH +++ b/x2p/Makefile.SH @@ -1,3 +1,6 @@ +case "$0" in +*/*) cd `expr X$0 : 'X\(.*\)/'` ;; +esac case $CONFIG in '') if test ! -f config.sh; then @@ -9,18 +12,24 @@ case $CONFIG in . ./config.sh ;; esac -case "$0" in -*/*) cd `expr X$0 : 'X\(.*\)/'` ;; -esac case "$mallocsrc" in '') ;; *) mallocsrc="../$mallocsrc";; esac echo "Extracting x2p/Makefile (with variable substitutions)" cat >Makefile <<!GROK!THIS! -# $Header: Makefile.SH,v 2.0 88/06/05 00:15:31 root Exp $ +# $Header: Makefile.SH,v 3.0 89/10/18 15:33:52 lwall Locked $ # # $Log: Makefile.SH,v $ +# Revision 3.0 89/10/18 15:33:52 lwall +# 3.0 baseline +# +# Revision 2.0.1.2 88/09/07 17:13:30 lwall +# patch14: added redirection of stderr to /dev/null +# +# Revision 2.0.1.1 88/07/11 23:13:39 root +# patch2: now expects more shift/reduce errors +# # Revision 2.0 88/06/05 00:15:31 root # Baseline version 2.0. # @@ -31,14 +40,14 @@ bin = $bin lib = $lib mansrc = $mansrc manext = $manext -CFLAGS = $ccflags -O +CFLAGS = $ccflags $optimize LDFLAGS = $ldflags SMALL = $small LARGE = $large $split mallocsrc = $mallocsrc mallocobj = $mallocobj -libs = $libnm -lm +libs = $libnm -lm $libs !GROK!THIS! cat >>Makefile <<'!NO!SUBS!' @@ -73,24 +82,21 @@ all: $(public) $(private) $(util) touch all a2p: $(obj) a2p.o - $(CC) $(LDFLAGS) $(LARGE) $(obj) a2p.o $(libs) -o a2p + $(CC) $(LARGE) $(LDFLAGS) $(obj) a2p.o $(libs) -o a2p a2p.c: a2p.y - @ echo Expect 103 shift/reduce errors... + @ echo Expect 208 shift/reduce conflicts... yacc a2p.y mv y.tab.c a2p.c a2p.o: a2p.c a2py.c a2p.h EXTERN.h util.h INTERN.h handy.h ../config.h $(CC) -c $(CFLAGS) $(LARGE) a2p.c -# if a .h file depends on another .h file... -$(h): - touch $@ install: a2p s2p # won't work with csh export PATH || exit 1 - mv $(bin)/a2p $(bin)/a2p.old 2>/dev/null - - mv $(bin)/s2p $(bin)/s2p.old + - mv $(bin)/s2p $(bin)/s2p.old 2>/dev/null - if test `pwd` != $(bin); then cp $(public) $(bin); fi cd $(bin); \ for pub in $(public); do \ |