1997-10-14 18:32:38 +00:00
|
|
|
# Makefile copyright James Raynard (jraynard@freebsd.org) 1997
|
|
|
|
#
|
1999-08-02 10:02:07 +00:00
|
|
|
# $Id: Makefile,v 1.11 1998/05/04 16:18:57 bde Exp $
|
1997-10-14 18:32:38 +00:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/awk
|
|
|
|
|
1994-05-31 18:58:00 +00:00
|
|
|
PROG= awk
|
1998-05-04 16:18:57 +00:00
|
|
|
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
|
1997-10-14 18:32:38 +00:00
|
|
|
MAN1= doc/awk.1
|
|
|
|
|
1998-05-04 16:18:57 +00:00
|
|
|
YFLAGS=
|
1997-10-14 18:32:38 +00:00
|
|
|
|
1997-10-26 12:20:45 +00:00
|
|
|
# Important for ctype macros!
|
|
|
|
CFLAGS+= -funsigned-char
|
|
|
|
|
1997-10-14 18:32:38 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/awk
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H -DGAWK -DDEFPATH=\".\"
|
1998-05-04 16:18:57 +00:00
|
|
|
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
|
|
|
|
1998-05-04 16:18:57 +00:00
|
|
|
awktab.y: awk.y
|
|
|
|
ln -fs ${.ALLSRC} ${.TARGET}
|
1997-10-14 18:32:38 +00:00
|
|
|
|
1993-06-18 04:22:21 +00:00
|
|
|
.include <bsd.prog.mk>
|