1# $Id: Makefile,v 1.11 1994/07/06 04:08:28 mycroft 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 24MAN3+= ftime.0 getpw.0 stty.0 vlimit.0 vtimes.0 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 39MAN3+= insque.0 lsearch.0 re_comp.0 rexec.0 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 49MAN3+= cuserid.0 50 51 52# regexp sources 53SRCS+= regerror.c regexp.c regsub.c 54MAN3+= regexp.0 55 56.include <bsd.lib.mk> 57