xref: /original-bsd/lib/libcompat/Makefile (revision 3d46ae69)
1#	@(#)Makefile	5.5 (Berkeley) 08/27/90
2
3LIB=compat
4CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
5AINC=	-I${.CURDIR}/../libc/${MACHINE}
6
7.PATH:	${.CURDIR}/4.1/${MACHINE} ${.CURDIR}/4.1 \
8	${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3
9
10# compat 4.1 sources
11SRCS=	ftime.c getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c
12
13.if (${MACHINE} == "vax")
14SRCS+=	reset.s
15.endif
16
17MAN3+=	ftime.0 getpw.0 stty.0 times.0 utime.0 vlimit.0 vtimes.0
18
19MLINKS+=stty.3 gtty.3
20
21# compat 4.3 sources
22SRCS+=	ecvt.c gcvt.c lsearch.c rexec.c ruserpass.c sibuf.c sobuf.c strout.c
23
24.if (${MACHINE} == "tahoe")
25SRCS+=	nargs.s
26.elif (${MACHINE} == "vax")
27SRCS+=	nargs.s
28.endif
29
30MAN3+=	ecvt.0 lsearch.0 rexec.0
31
32MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
33
34.include <bsd.lib.mk>
35