Sync usage with man page.
[netbsd-mini2440.git] / lib / libcompat / Makefile
blobddb6c8d6d7fe4f9acc32d0b686630944895854b4
1 # $NetBSD: Makefile,v 1.28 2005/07/06 14:43:24 drochner Exp $
3 .include <bsd.own.mk>
5 LIB= compat
6 CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__
7 AFLAGS+=-I${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
8 .if defined(DESTDIR)
9 AFLAGS+=-nostdinc -idirafter ${DESTDIR}/usr/include
10 .endif
12 .PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \
13 ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \
14 ${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \
15 ${.CURDIR}/regexp
17 # compat 4.1 sources
18 # missing: getpw.c tell.c vlimit.c vtimes.c
19 SRCS= gtty.c ftime.c stty.c
21 .if (${MACHINE_ARCH} == "vax")
22 # missing: (for vax) reset.s
23 .endif
25 MAN+= ftime.3 stty.3
27 MLINKS+=stty.3 gtty.3
29 # compat 4.3 sources
30 # missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c
31 SRCS+= cfree.c regex.c rexec.c
32 SRCS+= ruserpass.c
34 # missing: ecvt.0
35 MAN+= re_comp.3 rexec.3
37 #MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
38 MLINKS+=re_comp.3 re_exec.3
41 # compat 4.4 sources
42 SRCS+= cuserid.c
43 MAN+= cuserid.3
46 # regexp sources
47 SRCS+= regerror.c regexp.c regsub.c
48 MAN+= regexp.3
50 .include <bsd.lib.mk>