xref: /original-bsd/lib/libcompat/Makefile (revision 95a66346)
1#	@(#)Makefile	5.8 (Berkeley) 03/06/91
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 vlimit.0 vtimes.0
18
19MLINKS+=stty.3 gtty.3
20
21# compat 4.3 sources
22SRCS+=	ecvt.c gcvt.c lsearch.c regex.c rexec.c ruserpass.c sibuf.c \
23	sobuf.c strout.c
24
25.if	(${MACHINE} == "hp300")
26SRCS+=	insque.s remque.s
27.elif	(${MACHINE} == "i386")
28SRCS+=	insque.c remque.c
29.elif	(${MACHINE} == "tahoe")
30SRCS+=	nargs.s insque.s remque.s
31.elif	(${MACHINE} == "vax")
32SRCS+=	nargs.s insque.s remque.s
33.endif
34
35MAN3+=	ecvt.0 insque.0 lsearch.0 regex.0 rexec.0
36
37MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
38MLINKS+=insque.3 remque.3
39MLINKS+=regex.3 re_comp.3 regex.3 re_exec.3
40
41.include <bsd.lib.mk>
42