freebsd-nq/usr.bin/grep/egrep/Makefile
Bruce Evans 2577a8acef Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00

19 lines
652 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/27/93
# -DSLOWSYS invoke xread() for system time quirk on PDP, others?
# -DNOKANJI default is for Japanese Unix. undef only for raw
# parity-marked search capability, not standard w/grep.
# -DCHINESE for systems using EUC Chinese2 codes
# -Dstrrchr=rindex, -Dstrchr=index as necessary
PROG= egrep
CFLAGS+=-Dstrrchr=rindex -Dstrchr=index -DNOKANJI
DPADD= ${LIBCOMPAT}
LDADD= -lcompat # must search compat to get spencers early regexp package
MAN1= grep.1
LINKS= ${BINDIR}/egrep ${BINDIR}/grep ${BINDIR}/egrep ${BINDIR}/fgrep
MLINKS= grep.1 egrep.1 grep.1 fgrep.1
.include "../../Makefile.inc"
.include <bsd.prog.mk>