1997-10-14 20:32:38 +02:00
|
|
|
# Makefile copyright James Raynard (jraynard@freebsd.org) 1997
|
|
|
|
#
|
1999-08-02 12:02:07 +02:00
|
|
|
# $Id: Makefile,v 1.11 1998/05/04 16:18:57 bde Exp $
|
1997-10-14 20:32:38 +02:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/awk
|
|
|
|
|
1994-05-31 20:58:00 +02:00
|
|
|
PROG= awk
|
1998-05-04 18:18:57 +02:00
|
|
|
SRCS= array.c awktab.y builtin.c eval.c field.c gawkmisc.c io.c main.c \
|
1997-10-26 13:53:16 +01:00
|
|
|
msg.c node.c re.c version.c dfa.c getopt.c getopt1.c
|
1997-10-14 20:32:38 +02:00
|
|
|
MAN1= doc/awk.1
|
|
|
|
|
1998-05-04 18:18:57 +02:00
|
|
|
YFLAGS=
|
1997-10-14 20:32:38 +02:00
|
|
|
|
1997-10-26 13:20:45 +01:00
|
|
|
# Important for ctype macros!
|
|
|
|
CFLAGS+= -funsigned-char
|
|
|
|
|
1997-10-14 20:32:38 +02:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/awk
|
|
|
|
CFLAGS+= -DHAVE_CONFIG_H -DGAWK -DDEFPATH=\".\"
|
1998-05-04 18:18:57 +02:00
|
|
|
CLEANFILES= awktab.y
|
1993-06-18 06:22:21 +02:00
|
|
|
|
1995-01-16 18:49:20 +01:00
|
|
|
SUBDIR+= doc
|
|
|
|
|
1995-01-11 07:14:14 +01:00
|
|
|
DPADD+= ${LIBGNUREGEX} ${LIBM}
|
|
|
|
LDADD+= -lgnuregex -lm
|
1993-06-18 06:22:21 +02:00
|
|
|
|
1998-05-04 18:18:57 +02:00
|
|
|
awktab.y: awk.y
|
|
|
|
ln -fs ${.ALLSRC} ${.TARGET}
|
1997-10-14 20:32:38 +02:00
|
|
|
|
1993-06-18 06:22:21 +02:00
|
|
|
.include <bsd.prog.mk>
|