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