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