summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2007-10-25 12:38:03 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2007-10-25 12:38:03 +0000
commit92c8a08b52fc93340ca899fd1468a9946eb8d6f9 (patch)
tree411ec9ef8c82e1f9b74ddf10d29d38b548df0597
parentd2f6e4922057ff44b13f97a6f641d0aadc21ec1c (diff)
downloadsrc-test2-vendor/one-true-awk/20071023.tar.gz
src-test2-vendor/one-true-awk/20071023.zip
This commit was manufactured by cvs2svn to create tagvendor/one-true-awk/20071023
'one-true-awk-vendor-bwk_20071023'.
-rw-r--r--contrib/one-true-awk/buildwin.bat12
-rw-r--r--contrib/one-true-awk/mac.code73
2 files changed, 0 insertions, 85 deletions
diff --git a/contrib/one-true-awk/buildwin.bat b/contrib/one-true-awk/buildwin.bat
deleted file mode 100644
index 77513429e463..000000000000
--- a/contrib/one-true-awk/buildwin.bat
+++ /dev/null
@@ -1,12 +0,0 @@
-@echo off
-rem buildwin.bat - build AWK under Windows NT using Visual C++.
-rem 22 Jan 1999 - Created by Dan Allen.
-rem
-rem If you delete the call to setlocal it will probably work under Win95/Win98 as well.
-
-setlocal
-set cl=-w -Ox -QIfdiv- -nologo -link -nologo setargv.obj
-
-cl maketab.c -o maketab.exe
-maketab.exe > proctab.c
-cl -o awk.exe b.c main.c parse.c proctab.c tran.c lib.c run.c lex.c ytab.c missing95.c
diff --git a/contrib/one-true-awk/mac.code b/contrib/one-true-awk/mac.code
deleted file mode 100644
index af47b17fb085..000000000000
--- a/contrib/one-true-awk/mac.code
+++ /dev/null
@@ -1,73 +0,0 @@
-Note added June, 2002:
-
-With the advent of OS X, life is simpler: if you have the developer
-tools installed, the standard awk makefile and gcc works fine, and
-you can ignore the rest of this file, which is now hereby deprecated.
-
-
-
-
-This file contains a make shell script and a version of the file
-missing95.c for the Mac, courtesy of Dan Allen.
-
-make shell script:
-
-# MPW Shell script to build Awk using Apple's MRC compiler.
-# 22 Jan 1999 - Created by Dan Allen.
-# 25 Mar 1999 - Updated for newer Awk.
-#
-# Porting notes for the Mac:
-#
-# 1. main in main.c needs to have its prototype changed to:
-#
-# int main(int argc, char *argv[], char *environ[])
-#
-# 2. popen and pclose in missing95.c need to have as their body the
-# older style
-#
-# return NULL;
-#
-# as parallel pipes are not supported by MPW.
-#
-# 3. To make your Mac more responsive while long awk scripts run,
-# you may want to add some SpinCursor calls to support cooperative multitasking.
-#
-# All of these minor changes can be put under "#ifdef powerc" for portability's sake.
-#
-#
-
-If {1} == "clean"
- Delete -i awk maketab maketab.c.o ytab.c.o b.c.o main.c.o parse.c.o proctab.c proctab.c.o tran.c.o lib.c.o run.c.o lex.c.o missing95.c.o
-Else
- MRC ytab.c -w off -opt speed
- MRC b.c -w off -opt speed
- MRC main.c -w off -opt speed
- MRC parse.c -w off -opt speed
- MRC maketab.c -w off -opt speed
- PPCLink -o maketab maketab.c.o "{PPCLibraries}InterfaceLib" "{PPCLibraries}MathLib" "{PPCLibraries}StdCLib" "{PPCLibraries}StdCRuntime.o" "{PPCLibraries}PPCCRuntime.o" "{PPCLibraries}PPCToolLibs.o" -t MPST -c 'MPS '
- maketab > proctab.c
- MRC proctab.c -w off -opt speed
- MRC tran.c -w off -opt speed
- MRC lib.c -w off -opt speed
- MRC run.c -w off -opt speed
- MRC lex.c -w off -opt speed
- MRC missing95.c -w off -opt speed
- PPCLink -o awk ytab.c.o b.c.o main.c.o parse.c.o proctab.c.o tran.c.o lib.c.o run.c.o lex.c.o missing95.c.o "{PPCLibraries}InterfaceLib" "{PPCLibraries}MathLib" "{PPCLibraries}StdCLib" "{PPCLibraries}StdCRuntime.o" "{PPCLibraries}PPCCRuntime.o" "{PPCLibraries}PPCToolLibs.o" -d
- SetFile awk -d . -m . -t MPST -c 'MPS '
-End
-
-
-missing95.c for the Mac:
-
-/* popen and pclose are not available on the Mac. */
-
-#include <stdio.h>
-
-FILE *popen(char *s, char *m) {
- return NULL;
-}
-
-int pclose(FILE *f) {
- return NULL;
-}
-