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