Makefile revision 74870
11573Srgrimes#	@(#)Makefile	8.1 (Berkeley) 6/4/93
254999Sbde# $FreeBSD: head/lib/libcompat/Makefile 74870 2001-03-27 17:27:19Z ru $
31573Srgrimes
41573SrgrimesLIB=compat
524640SacheCFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
638996SkatoAINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH}
76574SnateNOPIC=
81573Srgrimes
938996Skato.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
1038996Skato	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
1138996Skato	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
1236859Sjdp	${.CURDIR}/regexp
131573Srgrimes
141573Srgrimes# compat 4.1 sources
1554999Sbde# XXX MISSING:	tell.c
1618833SacheSRCS+=	ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
171573Srgrimes
1874870SruMAN+=	4.1/ftime.3 4.1/getpw.3 4.1/stty.3
1974870SruMAN+=	4.1/cftime.3
201573Srgrimes
211573SrgrimesMLINKS+=stty.3 gtty.3
227742SjoergMLINKS+=cftime.3 ascftime.3
231573Srgrimes
241573Srgrimes# compat 4.3 sources
251586Srgrimes# XXX MISSING:	ecvt.c gcvt.c sibuf.c sobuf.c strout.c
261586SrgrimesSRCS+=	cfree.c lsearch.c regex.c rexec.c
271573SrgrimesSRCS+=	insque.c remque.c
281573Srgrimes
291586Srgrimes# XXX MISSING:	ecvt.0
3074870SruMAN+=	4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
311573Srgrimes
321586Srgrimes# XXX MISSING:	ecvt.3, so can't MLINK
331586Srgrimes#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
341573SrgrimesMLINKS+=insque.3 remque.3
351573SrgrimesMLINKS+=re_comp.3 re_exec.3
3613987SmppMLINKS+=lsearch.3 lfind.3
371573Srgrimes
381573Srgrimes# compat 4.4 sources
391573SrgrimesSRCS+=	cuserid.c
4074870SruMAN+=	4.4/cuserid.3
411573Srgrimes
421573Srgrimes# regexp sources
431573SrgrimesSRCS+=	regerror.c regexp.c regsub.c
441573Srgrimes
4574870SruMAN+=	regexp/regexp.3
461573Srgrimes
4715946Swosch# XXX name clash with libc
4815946Swosch# MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3
4915946SwoschMLINKS+=regexp.3 regsub.3
501573Srgrimes
511573Srgrimes.include <bsd.lib.mk>
52