diff options
author | Jeff Sickel <jas@corpus-callosum.com> | 2008-11-03 12:35:56 -0600 |
---|---|---|
committer | Jeff Sickel <jas@corpus-callosum.com> | 2008-11-03 12:35:56 -0600 |
commit | 63a686861c04660c55e353e76d7760b1b038d047 (patch) | |
tree | 35276e5d27e3d9f7d732719e4859529284e399d3 /src/cmd/awk/mkfile | |
parent | d210f09d229babf26ea356a8fcc34b2daaf83652 (diff) | |
download | plan9port-63a686861c04660c55e353e76d7760b1b038d047.tar.gz plan9port-63a686861c04660c55e353e76d7760b1b038d047.tar.bz2 plan9port-63a686861c04660c55e353e76d7760b1b038d047.zip |
awk: import from sources
Diffstat (limited to 'src/cmd/awk/mkfile')
-rw-r--r-- | src/cmd/awk/mkfile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/cmd/awk/mkfile b/src/cmd/awk/mkfile new file mode 100644 index 00000000..a31472e4 --- /dev/null +++ b/src/cmd/awk/mkfile @@ -0,0 +1,35 @@ +<$PLAN9/src/mkhdr + +TARG=awk +OFILES=re.$O\ + lex.$O\ + main.$O\ + parse.$O\ + proctab.$O\ + tran.$O\ + lib.$O\ + run.$O\ + y.tab.$O\ + +HFILES=awk.h\ + y.tab.h\ + proto.h\ + +YFILES=awkgram.y + +CLEANFILES=$CLEANFILES proctab.c $O.maketab + +<$PLAN9/src/mkone + +# CFLAGS=-c -D_REGEXP_EXTENSION -D_RESEARCH_SOURCE -D_BSD_EXTENSION -DUTF + +YFLAGS=-S -d -v + +proctab.c: $O.maketab + ./$O.maketab >proctab.c + +maketab.$O: maketab.c + $CC $CFLAGS maketab.c + +$O.maketab:V: y.tab.h maketab.$O + $LD -o $O.maketab maketab.$O |