head	1.5;
access;
symbols
	RELENG_8_4:1.5.0.2
	RELENG_9_1_0_RELEASE:1.4
	RELENG_9_1:1.4.0.6
	RELENG_9_1_BP:1.4
	RELENG_8_3_0_RELEASE:1.1.1.7.10.2
	RELENG_8_3:1.1.1.7.10.2.0.2
	RELENG_8_3_BP:1.1.1.7.10.2
	RELENG_9_0_0_RELEASE:1.4
	RELENG_9_0:1.4.0.4
	RELENG_9_0_BP:1.4
	RELENG_9:1.4.0.2
	RELENG_9_BP:1.4
	RELENG_7_4_0_RELEASE:1.1.1.7
	RELENG_8_2_0_RELEASE:1.1.1.7.10.1
	RELENG_7_4:1.1.1.7.0.16
	RELENG_7_4_BP:1.1.1.7
	RELENG_8_2:1.1.1.7.10.1.0.4
	RELENG_8_2_BP:1.1.1.7.10.1
	RELENG_8_1_0_RELEASE:1.1.1.7.10.1
	RELENG_8_1:1.1.1.7.10.1.0.2
	RELENG_8_1_BP:1.1.1.7.10.1
	RELENG_7_3_0_RELEASE:1.1.1.7
	RELENG_7_3:1.1.1.7.0.14
	RELENG_7_3_BP:1.1.1.7
	RELENG_8_0_0_RELEASE:1.1.1.7
	RELENG_8_0:1.1.1.7.0.12
	RELENG_8_0_BP:1.1.1.7
	RELENG_8:1.1.1.7.0.10
	RELENG_8_BP:1.1.1.7
	RELENG_7_2_0_RELEASE:1.1.1.7
	RELENG_7_2:1.1.1.7.0.8
	RELENG_7_2_BP:1.1.1.7
	RELENG_7_1_0_RELEASE:1.1.1.7
	RELENG_6_4_0_RELEASE:1.1.1.6.2.1
	RELENG_7_1:1.1.1.7.0.6
	RELENG_7_1_BP:1.1.1.7
	RELENG_6_4:1.1.1.6.2.1.0.4
	RELENG_6_4_BP:1.1.1.6.2.1
	RELENG_7_0_0_RELEASE:1.1.1.7
	RELENG_6_3_0_RELEASE:1.1.1.6.2.1
	RELENG_7_0:1.1.1.7.0.4
	RELENG_7_0_BP:1.1.1.7
	RELENG_6_3:1.1.1.6.2.1.0.2
	RELENG_6_3_BP:1.1.1.6.2.1
	bwk_20071023:1.1.1.7
	RELENG_7:1.1.1.7.0.2
	RELENG_7_BP:1.1.1.7
	bwk_20070501:1.1.1.7
	RELENG_6_2_0_RELEASE:1.1.1.6
	RELENG_6_2:1.1.1.6.0.8
	RELENG_6_2_BP:1.1.1.6
	RELENG_5_5_0_RELEASE:1.1.1.5
	RELENG_5_5:1.1.1.5.0.12
	RELENG_5_5_BP:1.1.1.5
	RELENG_6_1_0_RELEASE:1.1.1.6
	RELENG_6_1:1.1.1.6.0.6
	RELENG_6_1_BP:1.1.1.6
	RELENG_6_0_0_RELEASE:1.1.1.6
	RELENG_6_0:1.1.1.6.0.4
	RELENG_6_0_BP:1.1.1.6
	RELENG_6:1.1.1.6.0.2
	RELENG_6_BP:1.1.1.6
	bwk_20050424:1.1.1.6
	RELENG_5_4_0_RELEASE:1.1.1.5
	RELENG_5_4:1.1.1.5.0.10
	RELENG_5_4_BP:1.1.1.5
	RELENG_4_11_0_RELEASE:1.1.1.3.2.1
	RELENG_4_11:1.1.1.3.2.1.0.10
	RELENG_4_11_BP:1.1.1.3.2.1
	RELENG_5_3_0_RELEASE:1.1.1.5
	RELENG_5_3:1.1.1.5.0.8
	RELENG_5_3_BP:1.1.1.5
	RELENG_5:1.1.1.5.0.6
	RELENG_5_BP:1.1.1.5
	RELENG_4_10_0_RELEASE:1.1.1.3.2.1
	RELENG_4_10:1.1.1.3.2.1.0.8
	RELENG_4_10_BP:1.1.1.3.2.1
	RELENG_5_2_1_RELEASE:1.1.1.5
	bwk_20040207:1.1.1.5
	bwk_20030731:1.1.1.5
	RELENG_5_2_0_RELEASE:1.1.1.5
	RELENG_5_2:1.1.1.5.0.4
	RELENG_5_2_BP:1.1.1.5
	RELENG_4_9_0_RELEASE:1.1.1.3.2.1
	RELENG_4_9:1.1.1.3.2.1.0.6
	RELENG_4_9_BP:1.1.1.3.2.1
	bwk_20030729:1.1.1.5
	RELENG_5_1_0_RELEASE:1.1.1.5
	RELENG_5_1:1.1.1.5.0.2
	RELENG_5_1_BP:1.1.1.5
	RELENG_4_8_0_RELEASE:1.1.1.3.2.1
	RELENG_4_8:1.1.1.3.2.1.0.4
	RELENG_4_8_BP:1.1.1.3.2.1
	bwk_20030314:1.1.1.5
	RELENG_5_0_0_RELEASE:1.1.1.4
	bwk_20021213:1.1.1.4
	RELENG_5_0:1.1.1.4.0.2
	RELENG_5_0_BP:1.1.1.4
	bwk_20021129:1.1.1.4
	RELENG_4_7_0_RELEASE:1.1.1.3.2.1
	RELENG_4_7:1.1.1.3.2.1.0.2
	RELENG_4_7_BP:1.1.1.3.2.1
	RELENG_4:1.1.1.3.0.2
	bwk_20020210:1.1.1.3
	bwk_20001115:1.1.1.1
	BELL_LABS:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2013.01.04.00.26.17;	author svnexp;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2011.08.09.12.54.43;	author ru;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2011.05.03.11.47.19;	author ru;	state Exp;
branches;
next	1.2;

1.2
date	2010.01.09.23.19.01;	author ru;	state Exp;
branches;
next	1.1;

1.1
date	2001.10.27.08.07.37;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.5.2.1
date	2013.01.04.00.26.17;	author svnexp;	state dead;
branches;
next	1.5.2.2;

1.5.2.2
date	2013.03.28.13.01.52;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	2013.02.06.01.03.14;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	2001.10.27.08.07.37;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2002.02.19.09.27.25;	author des;	state dead;
branches;
next	1.1.1.3;

1.1.1.3
date	2002.03.16.16.50.57;	author obrien;	state Exp;
branches
	1.1.1.3.2.1;
next	1.1.1.4;

1.1.1.4
date	2002.12.13.04.59.47;	author obrien;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2003.03.17.07.59.59;	author obrien;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2005.05.16.19.11.36;	author ru;	state Exp;
branches
	1.1.1.6.2.1;
next	1.1.1.7;

1.1.1.7
date	2007.06.05.15.33.51;	author rafan;	state Exp;
branches
	1.1.1.7.10.1;
next	;

1.1.1.3.2.1
date	2002.06.21.20.09.40;	author obrien;	state Exp;
branches;
next	;

1.1.1.6.2.1
date	2007.10.10.00.22.15;	author obrien;	state Exp;
branches;
next	;

1.1.1.7.10.1
date	2010.01.15.14.20.01;	author ru;	state Exp;
branches;
next	1.1.1.7.10.2;

1.1.1.7.10.2
date	2011.12.08.10.42.38;	author ru;	state Exp;
branches;
next	1.1.1.7.10.3;

1.1.1.7.10.3
date	2013.02.06.01.22.08;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244988
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# /****************************************************************
# Copyright (C) Lucent Technologies 1997
# All Rights Reserved
# 
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby
# granted, provided that the above copyright notice appear in all
# copies and that both that the copyright notice and this
# permission notice and warranty disclaimer appear in supporting
# documentation, and that the name Lucent Technologies or any of
# its entities not be used in advertising or publicity pertaining
# to distribution of the software without specific, written prior
# permission.
# 
# LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
# IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
# SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
# IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
# THIS SOFTWARE.
# ****************************************************************/

CFLAGS = -g
CFLAGS = -O2
CFLAGS =

CC = gcc -Wall -g -Wwrite-strings
CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
CC = gcc -g -Wall -pedantic 
CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing

YACC = bison -d -y
YACC = yacc -d -S
#YFLAGS = -d -S
		# -S uses sprintf in yacc parser instead of sprint

OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o

SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \
	maketab.c parse.c lib.c run.c tran.c proctab.c 

LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \
	lib.c run.c tran.c 

SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile  \
	 awk.1

a.out:	ytab.o $(OFILES)
	$(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC)  -lm

$(OFILES):	awk.h ytab.h proto.h

ytab.o:	awk.h proto.h awkgram.y
	$(YACC) $(YFLAGS) awkgram.y
	mv y.tab.c ytab.c
	mv y.tab.h ytab.h
	$(CC) $(CFLAGS) -c ytab.c

proctab.c:	maketab
	./maketab >proctab.c

maketab:	ytab.h maketab.c
	$(CC) $(CFLAGS) maketab.c -o maketab

bundle:
	@@cp ytab.h ytabh.bak
	@@cp ytab.c ytabc.bak
	@@bundle $(SHIP)

tar:
	@@cp ytab.h ytabh.bak
	@@cp ytab.c ytabc.bak
	@@bundle $(SHIP) >awk.shar
	@@tar cf awk.tar $(SHIP)
	gzip awk.tar
	ls -l awk.tar.gz
	@@zip awk.zip $(SHIP)
	ls -l awk.zip

names:
	@@echo $(LISTING)

clean:
	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c
@


1.5.2.1
log
@file makefile was added on branch RELENG_8_4 on 2013-03-28 13:01:52 +0000
@
text
@d1 86
@


1.5.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 86
# /****************************************************************
# Copyright (C) Lucent Technologies 1997
# All Rights Reserved
# 
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby
# granted, provided that the above copyright notice appear in all
# copies and that both that the copyright notice and this
# permission notice and warranty disclaimer appear in supporting
# documentation, and that the name Lucent Technologies or any of
# its entities not be used in advertising or publicity pertaining
# to distribution of the software without specific, written prior
# permission.
# 
# LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
# IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
# SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
# IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
# THIS SOFTWARE.
# ****************************************************************/

CFLAGS = -g
CFLAGS = -O2
CFLAGS =

CC = gcc -Wall -g -Wwrite-strings
CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
CC = gcc -g -Wall -pedantic 
CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing

YACC = bison -d -y
YACC = yacc -d -S
#YFLAGS = -d -S
		# -S uses sprintf in yacc parser instead of sprint

OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o

SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \
	maketab.c parse.c lib.c run.c tran.c proctab.c 

LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \
	lib.c run.c tran.c 

SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile  \
	 awk.1

a.out:	ytab.o $(OFILES)
	$(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC)  -lm

$(OFILES):	awk.h ytab.h proto.h

ytab.o:	awk.h proto.h awkgram.y
	$(YACC) $(YFLAGS) awkgram.y
	mv y.tab.c ytab.c
	mv y.tab.h ytab.h
	$(CC) $(CFLAGS) -c ytab.c

proctab.c:	maketab
	./maketab >proctab.c

maketab:	ytab.h maketab.c
	$(CC) $(CFLAGS) maketab.c -o maketab

bundle:
	@@cp ytab.h ytabh.bak
	@@cp ytab.c ytabc.bak
	@@bundle $(SHIP)

tar:
	@@cp ytab.h ytabh.bak
	@@cp ytab.c ytabc.bak
	@@bundle $(SHIP) >awk.shar
	@@tar cf awk.tar $(SHIP)
	gzip awk.tar
	ls -l awk.tar.gz
	@@zip awk.zip $(SHIP)
	ls -l awk.zip

names:
	@@echo $(LISTING)

clean:
	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c
@


1.4
log
@SVN rev 224731 on 2011-08-09 12:54:43Z by ru

Update to a 7-Aug-2011 release.

Approved by:	re (kib)
@
text
@a28 2
CC = gcc -Wall -g
CC = cc
d31 1
d34 4
a37 3
YACC = bison -y
YACC = yacc
YFLAGS = -d
@


1.4.2.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246373
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 2
a32 1
CC = gcc -g -Wall -pedantic 
d35 3
a37 4
YACC = bison -d -y
YACC = yacc -d -S
#YFLAGS = -d -S
		# -S uses sprintf in yacc parser instead of sprint
@


1.3
log
@SVN rev 221381 on 2011-05-03 11:47:19Z by ru

Update to a 1-May-2011 release (except for the isblank change).
@
text
@d33 1
a33 1
CC = gcc -O4
@


1.2
log
@SVN rev 201951 on 2010-01-09 23:19:01Z by ru

Update to a 26-Nov-2009 release.
@
text
@d29 2
a32 2
CC = gcc -Wall -g
CC = cc
a34 1

d42 1
a42 1
	maketab.c parse.c lib.c run.c tran.c proctab.c missing95.c
d45 1
a45 1
	lib.c run.c tran.c missing95.c
d47 2
a48 2
SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win \
	vcvars32.bat buildwin.bat awk.1
@


1.1
log
@Initial revision
@
text
@d29 2
a31 1
CC = /opt/pure/purify/purify cc
d33 2
d42 2
a43 1
SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c lib.c run.c tran.c proctab.c missing95.c
d45 2
a46 1
LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c lib.c run.c tran.c missing95.c
d48 2
a49 1
SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile awk.1 buildwin.bat mac.code
d87 1
a87 1
	rm -f a.out *.o maketab # proctab.c
@


1.1.1.1
log
@Import the One True AWK, in the form of bwk's AWK Nov 15, 2000 release.
@
text
@@


1.1.1.2
log
@We don't need ths file.
@
text
@@


1.1.1.3
log
@Vendor import of bwk's 2002-02-10 release.
@
text
@a29 1
CC = /opt/SUNWspro/bin/cc
d43 1
a43 1
SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win buildwin.bat mac.code awk.1
d81 1
a81 1
	rm -f a.out *.o *.obj maketab maketab.exe # proctab.c
@


1.1.1.4
log
@Vendor import of bwk's 29-Nov-2002 release.
Most significant update is the inclusion of our port's locale patches.
@
text
@a28 1
CC = gcc -Wall -g -Wwrite-strings
d40 1
a40 2
SOURCE = awk.h ytab.c ytab.h proto.h awkgram.y lex.c b.c main.c \
	maketab.c parse.c lib.c run.c tran.c proctab.c missing95.c
d42 1
a42 2
LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \
	lib.c run.c tran.c missing95.c
d44 1
a44 2
SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win \
	buildwin.bat mac.code awk.1
@


1.1.1.5
log
@Vendor import of bwk's 14-March-2003 release.
@
text
@d48 1
a48 1
	vcvars32.bat buildwin.bat mac.code awk.1
@


1.1.1.6
log
@Vendor import of bwk's 24-Apr-2005 release.
@
text
@a29 2
CC = gcc -fprofile-arcs -ftest-coverage
		# followed by gcov onefile.c; cat onefile.c.gcov
d31 2
d86 1
a86 1
	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov # proctab.c
@


1.1.1.6.2.1
log
@MFC: bwk's 01-May-2007 release
@
text
@d30 2
a31 1
CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
a33 3
CC = gcc -O4
CC = gcc -Wall -g

d48 1
a48 1
	vcvars32.bat buildwin.bat awk.1
d86 1
a86 1
	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c
@


1.1.1.7
log
@Vendor import of bwk's 01-May-2007 release.

Approved by:	delphij (mentor)
Nodded by:	ru
Tested by:	make universe
@
text
@d30 2
a31 1
CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
a33 3
CC = gcc -O4
CC = gcc -Wall -g

d48 1
a48 1
	vcvars32.bat buildwin.bat awk.1
d86 1
a86 1
	rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c
@


1.1.1.7.10.1
log
@SVN rev 202360 on 2010-01-15 14:20:01Z by ru

Update to a 26-Nov-2009 release.
@
text
@d34 1
@


1.1.1.7.10.2
log
@SVN rev 228348 on 2011-12-08 10:42:38Z by ru

Update to a 10-Aug-2011 release.
@
text
@d29 2
d33 2
a34 3
CC = gcc -Wall -g -Wwrite-strings
CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
d43 1
a43 1
	maketab.c parse.c lib.c run.c tran.c proctab.c 
d46 1
a46 1
	lib.c run.c tran.c 
d48 2
a49 2
SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile  \
	 awk.1
@


1.1.1.7.10.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246374
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d29 2
a32 1
CC = gcc -g -Wall -pedantic 
d35 3
a37 4
YACC = bison -d -y
YACC = yacc -d -S
#YFLAGS = -d -S
		# -S uses sprintf in yacc parser instead of sprint
@


1.1.1.3.2.1
log
@MFC: the 1 True AWK
@
text
@@


