1 1.32 christos # $NetBSD: Makefile,v 1.32 2013/02/07 20:15:07 christos Exp $ 2 1.26 lukem 3 1.26 lukem .include <bsd.own.mk> 4 1.3 mycroft 5 1.31 matt WARNS= 2 6 1.31 matt 7 1.3 mycroft LIB= compat 8 1.20 tv CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__ 9 1.27 lukem AFLAGS+=-I${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH} 10 1.11 mycroft .if defined(DESTDIR) 11 1.30 mrg AFLAGS+=-nostdinc -isystem ${DESTDIR}/usr/include 12 1.11 mycroft .endif 13 1.5 cgd 14 1.7 cgd .PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \ 15 1.5 cgd ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \ 16 1.7 cgd ${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \ 17 1.5 cgd ${.CURDIR}/regexp 18 1.5 cgd 19 1.5 cgd # compat 4.1 sources 20 1.10 cgd # missing: getpw.c tell.c vlimit.c vtimes.c 21 1.10 cgd SRCS= gtty.c ftime.c stty.c 22 1.7 cgd 23 1.29 abs .if (${MACHINE_ARCH} == "vax") 24 1.7 cgd # missing: (for vax) reset.s 25 1.7 cgd .endif 26 1.7 cgd 27 1.24 kleink MAN+= ftime.3 stty.3 28 1.7 cgd 29 1.7 cgd MLINKS+=stty.3 gtty.3 30 1.5 cgd 31 1.5 cgd # compat 4.3 sources 32 1.7 cgd # missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c 33 1.28 drochner SRCS+= cfree.c regex.c rexec.c 34 1.28 drochner SRCS+= ruserpass.c 35 1.5 cgd 36 1.7 cgd # missing: ecvt.0 37 1.28 drochner MAN+= re_comp.3 rexec.3 38 1.7 cgd 39 1.7 cgd #MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3 40 1.7 cgd MLINKS+=re_comp.3 re_exec.3 41 1.7 cgd 42 1.8 jtc 43 1.7 cgd # compat 4.4 sources 44 1.17 christos SRCS+= cuserid.c 45 1.17 christos MAN+= cuserid.3 46 1.8 jtc 47 1.5 cgd 48 1.5 cgd # regexp sources 49 1.32 christos SRCS+= regexp.c regsub.c 50 1.13 cgd MAN+= regexp.3 51 1.1 cgd 52 1.14 jtc .include <bsd.lib.mk> 53