1# $NetBSD: Makefile,v 1.19 1998/03/19 17:51:04 tv Exp $ 2 3LIB= compat 4CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS 5AINC= -I${.CURDIR}/../libc/arch/${MACHINE_ARCH} 6.if defined(DESTDIR) 7AINC+= -nostdinc -idirafter ${DESTDIR}/usr/include 8.endif 9NOPIC= nopic 10 11.PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \ 12 ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \ 13 ${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \ 14 ${.CURDIR}/regexp 15 16# compat 4.1 sources 17# missing: getpw.c tell.c vlimit.c vtimes.c 18SRCS= gtty.c ftime.c stty.c 19 20.if (${MACHINE} == "vax") 21# missing: (for vax) reset.s 22.endif 23 24MAN+= ftime.3 getpw.3 stty.3 vlimit.3 vtimes.3 25 26MLINKS+=stty.3 gtty.3 27 28# compat 4.3 sources 29# missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c 30SRCS+= cfree.c lsearch.c regex.c rexec.c 31SRCS+= insque.c remque.c ruserpass.c 32 33# missing: ecvt.0 34MAN+= insque.3 lsearch.3 re_comp.3 rexec.3 35 36#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3 37MLINKS+=insque.3 remque.3 38MLINKS+=lsearch.3 lfind.3 39MLINKS+=re_comp.3 re_exec.3 40 41 42# compat 4.4 sources 43SRCS+= cuserid.c 44MAN+= cuserid.3 45 46 47# regexp sources 48SRCS+= regerror.c regexp.c regsub.c 49MAN+= regexp.3 50 51.include <bsd.lib.mk> 52