*** empty log message ***
This commit is contained in:
parent
f39051bd86
commit
2d42e7ddf1
@ -1,20 +0,0 @@
|
||||
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
||||
run.c rec.c val.c func.c misc.c extio.c
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
OUT = libaseawk.a
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -Xc -a ansi -w3 -O2 -I../..
|
||||
|
||||
all: $(OBJS)
|
||||
ar cr $(OUT) $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJS) $(OUT) *.obj
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
|
||||
|
@ -10,8 +10,8 @@ set default [.ase.awk]
|
||||
mms
|
||||
set default [-.-.test.awk]
|
||||
mms
|
||||
awk :== $DISK$GEIN_SYS:[USERS.BACON.ASE.TEST.AWK]awk.exe
|
||||
awk -f hello.awk
|
||||
aseawk :== $DISK$GEIN_SYS:[USERS.BACON.ASE.TEST.AWK]aseawk.exe
|
||||
aseawk -f hello.awk
|
||||
|
||||
=== HP-UX ===
|
||||
|
||||
@ -27,6 +27,7 @@ CC=cc CFLAGS="-O2 +DD32" LDFLAGS="+DD32" ./configure
|
||||
|
||||
=== SCO OpenServer ===
|
||||
|
||||
cc
|
||||
SCO OpenServer Release 5.0.7 (SCO_SV 3.2 5.0.7)
|
||||
|
||||
cc
|
||||
CC=cc CFLAGS="-Xc -a ansi -O2" ./configure
|
||||
|
@ -1,17 +0,0 @@
|
||||
CC = cc
|
||||
CFLAGS = -Xc -a ansi -O2 -I../../..
|
||||
LDFLAGS = -L../../bas -L../../awk
|
||||
LIBS = -lxpawk -lm
|
||||
|
||||
all: aseawk
|
||||
|
||||
aseawk: awk.o
|
||||
$(CC) -o awk awk.o $(LDFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o aseawk
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $<
|
||||
|
@ -6,7 +6,7 @@ run_script_for_init()
|
||||
data="$2"
|
||||
output=`echo $script | sed 's/\.awk$/.out/g'`
|
||||
|
||||
./awk -d -f "$script" "$data" > "$output"
|
||||
./aseawk -d -f "$script" "$data" > "$output"
|
||||
}
|
||||
|
||||
run_init()
|
||||
@ -29,7 +29,7 @@ run_script_for_test()
|
||||
output=`echo $script | sed 's/\.awk$/.out/g'`
|
||||
|
||||
echo ">> RUNNING $script"
|
||||
./awk -d -f "$script" "$data" > "$output.$pid"
|
||||
./aseawk -d -f "$script" "$data" > "$output.$pid"
|
||||
|
||||
#diff -y "$output" "$output.$pid"
|
||||
diff "$output" "$output.$pid"
|
||||
@ -90,7 +90,7 @@ run_test()
|
||||
# main #
|
||||
#--------#
|
||||
|
||||
if [ ! -x ./awk ]
|
||||
if [ ! -x ./aseawk ]
|
||||
then
|
||||
echo "Error: cannot locate a relevant awk interpreter"
|
||||
exit 1;
|
||||
|
Loading…
Reference in New Issue
Block a user