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