Home | History | Annotate | Line # | Download | only in libcompat
Makefile revision 1.7
      1 #	$Id: Makefile,v 1.7 1994/05/06 06:49:32 cgd Exp $
      2 
      3 LIB=	compat
      4 CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
      5 AINC=	-I${.CURDIR}/../libc/${MACHINE_ARCH}
      6 NOPIC=	nopic
      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 # missing: getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c
     15 SRCS=	ftime.c
     16 
     17 .if (${MACHINE} == "vax")
     18 # missing: (for vax) reset.s
     19 .endif
     20 
     21 MAN3+=	ftime.0 getpw.0 stty.0 vlimit.0 vtimes.0
     22 
     23 MLINKS+=stty.3 gtty.3
     24 
     25 # compat 4.3 sources
     26 # missing: ecvt.c gcvt.c sibuf.c sobuf.c strout.c
     27 SRCS+=	cfree.c lsearch.c regex.c rexec.c
     28 
     29 .if	(${MACHINE_ARCH} == "m68k")
     30 SRCS+=	insque.s remque.s
     31 .else
     32 SRCS+=	insque.c remque.c
     33 .endif
     34 
     35 # missing: ecvt.0
     36 MAN3+=	insque.0 lsearch.0 re_comp.0 rexec.0
     37 
     38 #MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
     39 MLINKS+=insque.3 remque.3
     40 MLINKS+=re_comp.3 re_exec.3
     41 
     42 # compat 4.4 sources
     43 SRCS+=	cuserid.c
     44 
     45 # regexp sources
     46 SRCS+=	regerror.c regexp.c regsub.c
     47 
     48 MAN3+=	regexp.0
     49 
     50 MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regsub.3 \
     51 	regexp.3 regerror.3
     52 
     53 .include <bsd.lib.mk>
     54