1# @(#)Makefile 5.11 (Berkeley) 08/05/92 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" || ${MACHINE} == "luna68k") 26SRCS+= insque.s remque.s 27.elif (${MACHINE} == "i386") 28SRCS+= insque.c remque.c 29.elif (${MACHINE} == "sparc") 30SRCS+= insque.c remque.c 31.elif (${MACHINE} == "tahoe") 32SRCS+= nargs.s insque.s remque.s 33.elif (${MACHINE} == "vax") 34SRCS+= nargs.s insque.s remque.s 35.endif 36 37MAN3+= ecvt.0 insque.0 lsearch.0 re_comp.0 rexec.0 38 39MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3 40MLINKS+=insque.3 remque.3 41MLINKS+=re_comp.3 re_exec.3 42 43.include <bsd.lib.mk> 44