Use new POSIX.2 compatible regex routines in C library instead of -lgnuregex.

This commit is contained in:
jtc 1993-11-11 01:29:52 +00:00
parent c824ac0cb8
commit 5ce3d664fb
5 changed files with 10 additions and 13 deletions

View File

@ -1,11 +1,11 @@
# $Id: Makefile,v 1.17 1993/10/28 05:36:31 cgd Exp $
# $Id: Makefile,v 1.18 1993/11/11 01:29:52 jtc Exp $
PROG= ed
CFLAGS+=-DVI_BANG -DDES
SRCS= ed.c re.c buf.c cbc.c
LDADD+= -lcrypt -lgnuregex
DPADD+= ${LIBCRYPT} /usr/lib/libgnuregex.a
LDADD+= -lcrypt
DPADD+= ${LIBCRYPT}
#LINKS= ${BINDIR}/ed ${BINDIR}/red
#MLINKS= ed.1 red.1

View File

@ -1,11 +1,9 @@
# $Id: Makefile,v 1.8 1993/08/06 01:20:44 mycroft Exp $
# $Id: Makefile,v 1.9 1993/11/11 01:30:19 jtc Exp $
PROG= expr
# XXX bsd.prog.mk should be able to generate this from expr.y without SRCS
SRCS= expr.c
CFLAGS+= -I.
LDADD= -lgnuregex
DPADD= /usr/lib/libgnuregex.a
CLEANFILES+= expr.c y.tab.h
expr.c:

View File

@ -1,9 +1,9 @@
# $Id: Makefile,v 1.5 1993/11/08 05:05:44 alm Exp $
# $Id: Makefile,v 1.6 1993/11/11 01:30:13 jtc Exp $
PROG= elvis
CFLAGS+=-DBSD -DREGEX
DPADD= ${LIBTERM}
LDADD= -ltermcap -lgnuregex
LDADD= -ltermcap
SRCS= blk.c cmd1.c cmd2.c ctype.c curses.c cut.c ex.c input.c main.c misc.c \
modify.c move1.c move2.c move3.c move4.c move5.c opts.c recycle.c \
redraw.c regexp.c regsub.c system.c tio.c tmp.c unix.c vars.c vcmd.c vi.c

View File

@ -1,13 +1,13 @@
# from: @(#)Makefile 5.6 (Berkeley) 3/12/91
# $Id: Makefile,v 1.4 1993/11/09 05:07:24 cgd Exp $
# $Id: Makefile,v 1.5 1993/11/11 01:30:28 jtc Exp $
PROG= more
CFLAGS+=-I${.CURDIR} -DREGEX
SRCS= ch.c command.c decode.c filename.c help.c input.c line.c \
linenum.c main.c option.c os.c output.c position.c prim.c \
screen.c signal.c tags.c ttyin.c
LDADD+= -ltermcap -lgnuregex
DPADD+= ${LIBTERM} /usr/lib/libgnuregex.a
LDADD+= -ltermcap
DPADD+= ${LIBTERM}
MLINKS= more.1 page.1
LINKS= ${BINDIR}/more ${BINDIR}/page

View File

@ -1,9 +1,8 @@
# from: @(#)Makefile 5.1 (Berkeley) 8/24/92
# $Id: Makefile,v 1.4 1993/11/04 01:36:21 andrew Exp $
# $Id: Makefile,v 1.5 1993/11/11 01:30:41 jtc Exp $
PROG= sed
SRCS= compile.c main.c misc.c process.c
CFLAGS+= -DHISTORIC_PRACTICE
LDADD=-lgnuregex
.include <bsd.prog.mk>