Bring in new ifconfig(8) from FreeBSD6. It is more modular and flexible with
[dragonfly.git] / lib / libcompat / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 # $FreeBSD: src/lib/libcompat/Makefile,v 1.19.2.1 2001/04/25 10:04:23 ru Exp $
3 # $DragonFly: src/lib/libcompat/Makefile,v 1.2 2003/06/17 04:26:48 dillon Exp $
4
5 LIB=compat
6 CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
7 AINC=   -I${.CURDIR}/../libc/${MACHINE_ARCH}
8 NOPIC=
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
17 SRCS+=  ascftime.c cftime.c ftime.c getpw.c gtty.c stty.c
18
19 MAN+=   4.1/ftime.3 4.1/getpw.3 4.1/stty.3
20 MAN+=   4.1/cftime.3
21
22 MLINKS+=stty.3 gtty.3
23 MLINKS+=cftime.3 ascftime.3
24
25 # compat 4.3 sources
26 # XXX MISSING:  ecvt.c gcvt.c sibuf.c sobuf.c strout.c
27 SRCS+=  cfree.c lsearch.c regex.c rexec.c
28 SRCS+=  insque.c remque.c
29
30 # XXX MISSING:  ecvt.0
31 MAN+=   4.3/cfree.3 4.3/insque.3 4.3/lsearch.3 4.3/re_comp.3 4.3/rexec.3
32
33 # XXX MISSING:  ecvt.3, so can't MLINK
34 #MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
35 MLINKS+=insque.3 remque.3
36 MLINKS+=re_comp.3 re_exec.3
37 MLINKS+=lsearch.3 lfind.3
38
39 # compat 4.4 sources
40 SRCS+=  cuserid.c
41 MAN+=   4.4/cuserid.3
42
43 # regexp sources
44 SRCS+=  regerror.c regexp.c regsub.c
45
46 MAN+=   regexp/regexp.3
47
48 # XXX name clash with libc
49 # MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regerror.3
50 MLINKS+=regexp.3 regsub.3
51
52 .include <bsd.lib.mk>