projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b6a07cb
)
Use system's posix compliant regex library (GNU regex for now).
author
J.T. Conklin
<jtc@winsey.com>
Mon, 2 Aug 1993 16:40:59 +0000
(16:40 +0000)
committer
J.T. Conklin
<jtc@winsey.com>
Mon, 2 Aug 1993 16:40:59 +0000
(16:40 +0000)
bin/ed/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/bin/ed/Makefile
b/bin/ed/Makefile
index
7702004
..
a332442
100644
(file)
--- a/
bin/ed/Makefile
+++ b/
bin/ed/Makefile
@@
-1,14
+1,16
@@
PROG= ed
PROG= ed
-CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX
-DHAVE_STRING_H=1
-SRCS= ed.c re.c buf.c cbc.c
regex.c
+CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX
+SRCS= ed.c re.c buf.c cbc.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if exists(/usr/lib/libcrypt.a)
CFLAGS+=-DDES
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if exists(/usr/lib/libcrypt.a)
CFLAGS+=-DDES
-DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
LDADD+= -lcrypt
+DPADD+= ${LIBCRYPT}
.endif
.endif
+LDADD+= -lgnuregex
+DPADD+= /usr/lib/libgnuregex.a
.include <bsd.prog.mk>
.include <bsd.prog.mk>