xref: /freebsd/lib/libcompat/Makefile (revision 2a4a1db342263067035ce69a4017c645da63455d)
1#	@(#)Makefile	8.1 (Berkeley) 6/4/93
2# $FreeBSD$
3
4LIB=compat
5CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
6AINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH}
7NOPIC=
8
9.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
10	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
11	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
12	${.CURDIR}/regexp
13
14# compat 4.1 sources
15# XXX MISSING:	tell.c
16SRCS+=	ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
17
18MAN+=	4.1/ftime.3 4.1/getpw.3 4.1/stty.3
19MAN+=	4.1/cftime.3
20
21MLINKS+=stty.3 gtty.3
22MLINKS+=cftime.3 ascftime.3
23
24# compat 4.3 sources
25# XXX MISSING:	ecvt.c gcvt.c sibuf.c sobuf.c strout.c
26SRCS+=	cfree.c lsearch.c regex.c rexec.c
27SRCS+=	insque.c remque.c
28
29# XXX MISSING:	ecvt.0
30MAN+=	4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
31
32# XXX MISSING:	ecvt.3, so can't MLINK
33#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
34MLINKS+=insque.3 remque.3
35MLINKS+=re_comp.3 re_exec.3
36MLINKS+=lsearch.3 lfind.3
37
38# compat 4.4 sources
39SRCS+=	cuserid.c
40MAN+=	4.4/cuserid.3
41
42# regexp sources
43SRCS+=	regerror.c regexp.c regsub.c
44
45MAN+=	regexp/regexp.3
46
47# XXX name clash with libc
48# MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3
49MLINKS+=regexp.3 regsub.3
50
51.include <bsd.lib.mk>
52