diff options
author | bde <bde@FreeBSD.org> | 1998-05-04 16:18:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-04 16:18:57 +0000 |
commit | 3c9c899a57b29d0a09aaec11b64a441977542ead (patch) | |
tree | 157113f31f43d116c9c655d575dfea9a15da1114 /gnu | |
parent | bcde8eae1d96c67e656fc23ac17d2116fb04f345 (diff) | |
download | FreeBSD-src-3c9c899a57b29d0a09aaec11b64a441977542ead.zip FreeBSD-src-3c9c899a57b29d0a09aaec11b64a441977542ead.tar.gz |
Symlink awk.y to awktab.y so that the default yacc rules apply, and use
the (new) default yacc rules. This is cosmetic - the special rule was
good enough here because y.tab.h is not used.
Don't generate y.output.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/awk/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/usr.bin/awk/Makefile b/gnu/usr.bin/awk/Makefile index 1db89d5..bd3e4a1 100644 --- a/gnu/usr.bin/awk/Makefile +++ b/gnu/usr.bin/awk/Makefile @@ -1,32 +1,32 @@ # Makefile copyright James Raynard (jraynard@freebsd.org) 1997 # -# $Id: Makefile,v 1.9 1997/10/26 12:20:45 ache Exp $ +# $Id: Makefile,v 1.10 1997/10/26 12:53:16 jraynard Exp $ .include "${.CURDIR}/../Makefile.inc" .PATH: ${.CURDIR}/../../../contrib/awk PROG= awk -SRCS= array.c awktab.c builtin.c eval.c field.c gawkmisc.c io.c main.c \ +SRCS= array.c awktab.y builtin.c eval.c field.c gawkmisc.c io.c main.c \ msg.c node.c re.c version.c dfa.c getopt.c getopt1.c MAN1= doc/awk.1 YACC = bison -y +YFLAGS= # Important for ctype macros! CFLAGS+= -funsigned-char CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/awk CFLAGS+= -DHAVE_CONFIG_H -DGAWK -DDEFPATH=\".\" -CLEANFILES +=awktab.c y.output y.tab.h +CLEANFILES= awktab.y SUBDIR+= doc DPADD+= ${LIBGNUREGEX} ${LIBM} LDADD+= -lgnuregex -lm - -awktab.c: ${.CURDIR}/../../../contrib/awk/awk.y - $(YACC) -v $> && mv y.tab.c awktab.c +awktab.y: awk.y + ln -fs ${.ALLSRC} ${.TARGET} .include <bsd.prog.mk> |