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