freebsd-dev/gnu/usr.bin/awk/Makefile

33 lines
710 B
Makefile
Raw Normal View History

# Makefile copyright James Raynard (jraynard@freebsd.org) 1997
#
# $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.y builtin.c eval.c field.c gawkmisc.c io.c main.c \
1997-10-26 12:53:16 +00:00
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.y
1993-06-18 04:22:21 +00:00
1995-01-16 17:49:20 +00:00
SUBDIR+= doc
1995-01-11 06:14:14 +00:00
DPADD+= ${LIBGNUREGEX} ${LIBM}
LDADD+= -lgnuregex -lm
1993-06-18 04:22:21 +00:00
awktab.y: awk.y
ln -fs ${.ALLSRC} ${.TARGET}
1993-06-18 04:22:21 +00:00
.include <bsd.prog.mk>