Home | History | Annotate | Line # | Download | only in libcompat
Makefile revision 1.24
      1 #	$NetBSD: Makefile,v 1.24 1999/08/22 12:43:51 kleink Exp $
      2 
      3 LIB=	compat
      4 CPPFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__
      5 AINC=	-I${.CURDIR}/../libc/arch/${MACHINE_ARCH}
      6 .if defined(DESTDIR)
      7 AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
      8 .endif
      9 MKPIC=	no
     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
     18 SRCS=	gtty.c ftime.c stty.c
     19 
     20 .if (${MACHINE} == "vax")
     21 # missing: (for vax) reset.s
     22 .endif
     23 
     24 MAN+=	ftime.3 stty.3
     25 
     26 MLINKS+=stty.3 gtty.3
     27 
     28 # compat 4.3 sources
     29 # missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c
     30 SRCS+=	cfree.c lsearch.c regex.c rexec.c
     31 SRCS+=	insque.c remque.c ruserpass.c
     32 
     33 # missing: ecvt.0
     34 MAN+=	insque.3 lsearch.3 re_comp.3 rexec.3
     35 
     36 #MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
     37 MLINKS+=insque.3 remque.3
     38 MLINKS+=lsearch.3 lfind.3
     39 MLINKS+=re_comp.3 re_exec.3
     40 
     41 
     42 # compat 4.4 sources
     43 SRCS+=	cuserid.c
     44 MAN+=	cuserid.3
     45 
     46 
     47 # regexp sources
     48 SRCS+=	regerror.c regexp.c regsub.c
     49 MAN+=	regexp.3
     50 
     51 .include <bsd.lib.mk>
     52