xref: /netbsd/lib/libcompat/Makefile (revision bf9ec67e)
1#	$NetBSD: Makefile,v 1.25 2000/02/19 18:51:30 mycroft Exp $
2
3LIB=	compat
4CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__
5AINC=	-I${.CURDIR}/../libc/arch/${MACHINE_ARCH}
6.if defined(DESTDIR)
7AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
8.endif
9
10.PATH:	${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
11	${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
12	${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
13	${.CURDIR}/regexp
14
15# compat 4.1 sources
16# missing: getpw.c tell.c vlimit.c vtimes.c
17SRCS=	gtty.c ftime.c stty.c
18
19.if (${MACHINE} == "vax")
20# missing: (for vax) reset.s
21.endif
22
23MAN+=	ftime.3 stty.3
24
25MLINKS+=stty.3 gtty.3
26
27# compat 4.3 sources
28# missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c
29SRCS+=	cfree.c lsearch.c regex.c rexec.c
30SRCS+=	insque.c remque.c ruserpass.c
31
32# missing: ecvt.0
33MAN+=	insque.3 lsearch.3 re_comp.3 rexec.3
34
35#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
36MLINKS+=insque.3 remque.3
37MLINKS+=lsearch.3 lfind.3
38MLINKS+=re_comp.3 re_exec.3
39
40
41# compat 4.4 sources
42SRCS+=	cuserid.c
43MAN+=	cuserid.3
44
45
46# regexp sources
47SRCS+=	regerror.c regexp.c regsub.c
48MAN+=	regexp.3
49
50.include <bsd.lib.mk>
51