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