2577a8acef
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.
19 lines
652 B
Makefile
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>
|