Makefile revision 1.31
11.31Smatt#	$NetBSD: Makefile,v 1.31 2012/03/21 10:08:30 matt Exp $
21.26Slukem
31.26Slukem.include <bsd.own.mk>
41.3Smycroft
51.31SmattWARNS=	2
61.31Smatt
71.3SmycroftLIB=	compat
81.20StvCPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__
91.27SlukemAFLAGS+=-I${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
101.11Smycroft.if defined(DESTDIR)
111.30SmrgAFLAGS+=-nostdinc -isystem ${DESTDIR}/usr/include
121.11Smycroft.endif
131.5Scgd
141.7Scgd.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
151.5Scgd	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
161.7Scgd	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
171.5Scgd	${.CURDIR}/regexp
181.5Scgd
191.5Scgd# compat 4.1 sources
201.10Scgd# missing: getpw.c tell.c vlimit.c vtimes.c
211.10ScgdSRCS=	gtty.c ftime.c stty.c
221.7Scgd
231.29Sabs.if (${MACHINE_ARCH} == "vax")
241.7Scgd# missing: (for vax) reset.s
251.7Scgd.endif
261.7Scgd
271.24SkleinkMAN+=	ftime.3 stty.3
281.7Scgd
291.7ScgdMLINKS+=stty.3 gtty.3
301.5Scgd
311.5Scgd# compat 4.3 sources
321.7Scgd# missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c
331.28SdrochnerSRCS+=	cfree.c regex.c rexec.c
341.28SdrochnerSRCS+=	ruserpass.c
351.5Scgd
361.7Scgd# missing: ecvt.0
371.28SdrochnerMAN+=	re_comp.3 rexec.3
381.7Scgd
391.7Scgd#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
401.7ScgdMLINKS+=re_comp.3 re_exec.3
411.7Scgd
421.8Sjtc
431.7Scgd# compat 4.4 sources
441.17SchristosSRCS+=	cuserid.c
451.17SchristosMAN+=	cuserid.3
461.8Sjtc
471.5Scgd
481.5Scgd# regexp sources
491.5ScgdSRCS+=	regerror.c regexp.c regsub.c
501.13ScgdMAN+=	regexp.3
511.1Scgd
521.14Sjtc.include <bsd.lib.mk>
53