1# @(#)Makefile 8.1 (Berkeley) 6/4/93 2# $FreeBSD$ 3 4LIB=compat 5CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale 6NO_PIC= 7 8WARNS?= 1 9 10.PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \ 11 ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \ 12 ${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \ 13 ${.CURDIR}/regexp 14 15# compat 4.1 sources 16# XXX MISSING: tell.c 17SRCS+= ascftime.c cftime.c ftime.c getpw.c 18 19MAN+= 4.1/ftime.3 4.1/getpw.3 20MAN+= 4.1/cftime.3 21 22MLINKS+=cftime.3 ascftime.3 23 24# compat 4.3 sources 25# XXX MISSING: ecvt.c gcvt.c sibuf.c sobuf.c strout.c 26SRCS+= cfree.c regex.c rexec.c 27 28# XXX MISSING: ecvt.0 29MAN+= 4.3/cfree.3 4.3/re_comp.3 4.3/rexec.3 30 31# XXX MISSING: ecvt.3, so can't MLINK 32#MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3 33MLINKS+=re_comp.3 re_exec.3 34 35# compat 4.4 sources 36SRCS+= cuserid.c 37MAN+= 4.4/cuserid.3 38 39# regexp sources 40SRCS+= regerror.c regexp.c regsub.c 41 42MAN+= regexp/regexp.3 43 44# XXX name clash with libc 45# MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3 46MLINKS+=regexp.3 regsub.3 47 48.include <bsd.lib.mk> 49