1 # Makefile copyright James Raynard (jraynard@freebsd.org) 1997
3 # $FreeBSD: src/gnu/usr.bin/awk/Makefile,v 1.13.2.2 2001/04/25 12:03:27 ru Exp $
4 # $DragonFly: src/gnu/usr.bin/awk/Attic/Makefile,v 1.2 2003/06/17 04:25:44 dillon Exp $
6 .include "${.CURDIR}/../Makefile.inc"
8 .PATH: ${.CURDIR}/../../../contrib/awk
11 SRCS= array.c awktab.y builtin.c eval.c field.c gawkmisc.c io.c main.c \
12 msg.c node.c re.c version.c dfa.c getopt.c getopt1.c
17 # Important for ctype macros!
18 CFLAGS+= -funsigned-char
20 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/awk
21 CFLAGS+= -DHAVE_CONFIG_H -DGAWK -DDEFPATH=\".\"
26 DPADD+= ${LIBGNUREGEX} ${LIBM}
27 LDADD+= -lgnuregex -lm
30 ln -fs ${.ALLSRC} ${.TARGET}
32 .include <bsd.prog.mk>