diff options
Diffstat (limited to 'gnu/usr.bin/awk/Makefile')
| -rw-r--r-- | gnu/usr.bin/awk/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/usr.bin/awk/Makefile b/gnu/usr.bin/awk/Makefile new file mode 100644 index 000000000000..04ec6a908721 --- /dev/null +++ b/gnu/usr.bin/awk/Makefile @@ -0,0 +1,32 @@ +# Makefile copyright James Raynard (jraynard@freebsd.org) 1997 +# +# $FreeBSD$ + +.include "${.CURDIR}/../Makefile.inc" + +.PATH: ${.CURDIR}/../../../contrib/awk + +PROG= awk +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 +MAN= doc/gawk.1 +MLINKS= gawk.1 awk.1 + +YFLAGS= + +# Important for ctype macros! +CFLAGS+= -funsigned-char + +CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/awk +CFLAGS+= -DHAVE_CONFIG_H -DGAWK -DDEFPATH=\".\" +CLEANFILES= awktab.y + +SUBDIR+= doc + +DPADD+= ${LIBGNUREGEX} ${LIBM} +LDADD+= -lgnuregex -lm + +awktab.y: awk.y + ln -fs ${.ALLSRC} ${.TARGET} + +.include <bsd.prog.mk> |
