Home | History | Annotate | Line # | Download | only in libcompat
Makefile revision 1.1.1.1
      1 #	@(#)Makefile	8.1 (Berkeley) 6/4/93
      2 
      3 LIB=compat
      4 CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
      5 AINC=	-I${.CURDIR}/../libc/${MACHINE}
      6 
      7 .PATH:	${.CURDIR}/4.1/${MACHINE} ${.CURDIR}/4.1 \
      8 	${.CURDIR}/4.3/${MACHINE} ${.CURDIR}/4.3 \
      9 	${.CURDIR}/4.4/${MACHINE} ${.CURDIR}/4.4 \
     10 	${.CURDIR}/regexp
     11 
     12 # compat 4.1 sources
     13 SRCS=	ftime.c getpw.c gtty.c stty.c tell.c vlimit.c vtimes.c
     14 
     15 .if (${MACHINE} == "vax")
     16 SRCS+=	reset.s
     17 .endif
     18 
     19 MAN3+=	ftime.0 getpw.0 stty.0 vlimit.0 vtimes.0
     20 
     21 MLINKS+=stty.3 gtty.3
     22 
     23 # compat 4.3 sources
     24 SRCS+=	cfree.c ecvt.c gcvt.c lsearch.c regex.c rexec.c sibuf.c sobuf.c \
     25 	strout.c
     26 
     27 .if	(${MACHINE} == "hp300" || ${MACHINE} == "luna68k")
     28 SRCS+=	insque.s remque.s
     29 .elif	(${MACHINE} == "i386")
     30 SRCS+=	insque.c remque.c
     31 .elif	(${MACHINE} == "mips")
     32 SRCS+=	insque.c remque.c
     33 .elif	(${MACHINE} == "sparc")
     34 SRCS+=	insque.c remque.c
     35 .elif	(${MACHINE} == "tahoe")
     36 SRCS+=	nargs.s insque.s remque.s
     37 .elif	(${MACHINE} == "vax")
     38 SRCS+=	nargs.s insque.s remque.s
     39 .endif
     40 
     41 MAN3+=	ecvt.0 insque.0 lsearch.0 re_comp.0 rexec.0
     42 
     43 MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
     44 MLINKS+=insque.3 remque.3
     45 MLINKS+=re_comp.3 re_exec.3
     46 
     47 # compat 4.4 sources
     48 SRCS+=	cuserid.c
     49 
     50 # regexp sources
     51 SRCS+=	regerror.c regexp.c regsub.c
     52 
     53 MAN3+=	regexp.0
     54 
     55 MLINKS+=regexp.3 regcomp.3 regexp.3 regexec.3 regexp.3 regsub.3 \
     56 	regexp.3 regerror.3
     57 
     58 .include <bsd.lib.mk>
     59