From 4c281b08a46167f7fc858c5e45ef02aba5ad2f31 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 27 May 2007 09:55:53 +0000 Subject: Rename "makefile" to "makefile.orig" to avoid case-insensitive filename clash with "Makefile". --- lang/nawk/files/Makefile | 6 +-- lang/nawk/files/makefile | 88 ------------------------------------------- lang/nawk/files/makefile.orig | 88 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+), 91 deletions(-) delete mode 100644 lang/nawk/files/makefile create mode 100644 lang/nawk/files/makefile.orig (limited to 'lang/nawk') diff --git a/lang/nawk/files/Makefile b/lang/nawk/files/Makefile index 8b28bb2d4a5..4ab4baf81ba 100644 --- a/lang/nawk/files/Makefile +++ b/lang/nawk/files/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2007/05/07 22:39:07 rillig Exp $ +# $NetBSD: Makefile,v 1.3 2007/05/27 09:55:53 schmonz Exp $ # -# This file is copied from "makefile" with the following modifications -# for pkgsrc: +# This file is copied from "makefile.orig" with the following +# modifications for pkgsrc: # # * Some problematic comments lines were stripped. # * Use the supplied ytab.[ch] files instead of regenerating them diff --git a/lang/nawk/files/makefile b/lang/nawk/files/makefile deleted file mode 100644 index 70d1dee6069..00000000000 --- a/lang/nawk/files/makefile +++ /dev/null @@ -1,88 +0,0 @@ -# $NetBSD: makefile,v 1.1 2006/07/14 14:23:06 jlam Exp $ -# -# /**************************************************************** -# 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 - # followed by gcov onefile.c; cat onefile.c.gcov -CC = gcc -Wall -g -CC = cc - -YACC = bison -y -YACC = yacc -YFLAGS = -d - -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 missing95.c - -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 - -SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win \ - vcvars32.bat buildwin.bat mac.code 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 # proctab.c diff --git a/lang/nawk/files/makefile.orig b/lang/nawk/files/makefile.orig new file mode 100644 index 00000000000..446677caca8 --- /dev/null +++ b/lang/nawk/files/makefile.orig @@ -0,0 +1,88 @@ +# $NetBSD: makefile.orig,v 1.1 2007/05/27 09:55:53 schmonz Exp $ +# +# /**************************************************************** +# 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 + # followed by gcov onefile.c; cat onefile.c.gcov +CC = gcc -Wall -g +CC = cc + +YACC = bison -y +YACC = yacc +YFLAGS = -d + +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 missing95.c + +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 + +SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile makefile.win \ + vcvars32.bat buildwin.bat mac.code 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 # proctab.c -- cgit v1.2.3