Home | History | Annotate | Line # | Download | only in libcompat
Makefile revision 1.11
      1 #	$Id: Makefile,v 1.11 1994/07/06 04:08:28 mycroft Exp $
      2 
      3 LIB=	compat
      4 CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
      5 AINC=	-I${.CURDIR}/../libc/arch/${MACHINE_ARCH}
      6 .if defined(DESTDIR)
      7 AINC+=	-nostdinc -idirafter ${DESTDIR}/usr/include
      8 .endif
      9 NOPIC=	nopic
     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 MAN3+=	ftime.0 getpw.0 stty.0 vlimit.0 vtimes.0
     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 
     32 .if	(${MACHINE_ARCH} == "m68k")
     33 SRCS+=	insque.s remque.s
     34 .else
     35 SRCS+=	insque.c remque.c
     36 .endif
     37 
     38 # missing: ecvt.0
     39 MAN3+=	insque.0 lsearch.0 re_comp.0 rexec.0
     40 
     41 #MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
     42 MLINKS+=insque.3 remque.3
     43 MLINKS+=lsearch.3 lfind.3
     44 MLINKS+=re_comp.3 re_exec.3
     45 
     46 
     47 # compat 4.4 sources
     48 SRCS+=	cuserid.c
     49 MAN3+=	cuserid.0
     50 
     51 
     52 # regexp sources
     53 SRCS+=	regerror.c regexp.c regsub.c
     54 MAN3+=	regexp.0
     55 
     56 .include <bsd.lib.mk>
     57