Makefile revision 201381
11573Srgrimes#	@(#)Makefile	8.1 (Berkeley) 6/4/93
254999Sbde# $FreeBSD: head/lib/libcompat/Makefile 201381 2010-01-02 09:58:07Z ed $
31573Srgrimes
41573SrgrimesLIB=compat
524640SacheCFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
6139106SruNO_PIC=
71573Srgrimes
8201381SedWARNS?=	1
9201381Sed
1038996Skato.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
1138996Skato	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
1238996Skato	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
1336859Sjdp	${.CURDIR}/regexp
141573Srgrimes
151573Srgrimes# compat 4.1 sources
1654999Sbde# XXX MISSING:	tell.c
17179784SedSRCS+=	ascftime.c cftime.c ftime.c getpw.c
181573Srgrimes
19179784SedMAN+=	4.1/ftime.3 4.1/getpw.3
2074870SruMAN+=	4.1/cftime.3
211573Srgrimes
227742SjoergMLINKS+=cftime.3 ascftime.3
231573Srgrimes
241573Srgrimes# compat 4.3 sources
251586Srgrimes# XXX MISSING:	ecvt.c gcvt.c sibuf.c sobuf.c strout.c
26105250SrobertSRCS+=	cfree.c regex.c rexec.c
271573Srgrimes
281586Srgrimes# XXX MISSING:	ecvt.0
29105250SrobertMAN+=	4.3/cfree.3 4.3/re_comp.3 4.3/rexec.3
301573Srgrimes
311586Srgrimes# XXX MISSING:	ecvt.3, so can't MLINK
321586Srgrimes#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
331573SrgrimesMLINKS+=re_comp.3 re_exec.3
341573Srgrimes
351573Srgrimes# compat 4.4 sources
361573SrgrimesSRCS+=	cuserid.c
3774870SruMAN+=	4.4/cuserid.3
381573Srgrimes
391573Srgrimes# regexp sources
401573SrgrimesSRCS+=	regerror.c regexp.c regsub.c
411573Srgrimes
4274870SruMAN+=	regexp/regexp.3
431573Srgrimes
4415946Swosch# XXX name clash with libc
4515946Swosch# MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3
4615946SwoschMLINKS+=regexp.3 regsub.3
471573Srgrimes
481573Srgrimes.include <bsd.lib.mk>
49