SCCS-vsn: lib/libcompat/Makefile 5.12
-# @(#)Makefile 5.11 (Berkeley) %G%
+# @(#)Makefile 5.12 (Berkeley) %G%
LIB=compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
AINC= -I${.CURDIR}/../libc/${MACHINE}
.PATH: ${.CURDIR}/4.1/${MACHINE} ${.CURDIR}/4.1 \
LIB=compat
CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
AINC= -I${.CURDIR}/../libc/${MACHINE}
.PATH: ${.CURDIR}/4.1/${MACHINE} ${.CURDIR}/4.1 \
- ${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3
+ ${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3 \
+ ${.CURDIR}/regexp
# compat 4.1 sources
SRCS= ftime.c getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c
# compat 4.1 sources
SRCS= ftime.c getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c
MLINKS+=stty.3 gtty.3
# compat 4.3 sources
MLINKS+=stty.3 gtty.3
# compat 4.3 sources
-SRCS+= ecvt.c gcvt.c lsearch.c regex.c rexec.c ruserpass.c sibuf.c \
- sobuf.c strout.c
+SRCS+= ecvt.c gcvt.c lsearch.c regex.c rexec.c sibuf.c sobuf.c strout.c
.if (${MACHINE} == "hp300" || ${MACHINE} == "luna68k")
SRCS+= insque.s remque.s
.if (${MACHINE} == "hp300" || ${MACHINE} == "luna68k")
SRCS+= insque.s remque.s
MLINKS+=insque.3 remque.3
MLINKS+=re_comp.3 re_exec.3
MLINKS+=insque.3 remque.3
MLINKS+=re_comp.3 re_exec.3
+# regexp sources
+SRCS+= regerror.c regexp.c regsub.c
+
+MAN3+= regexp.0
+
+MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regsub.3 \
+ regexp.3 regerror.3
+