1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 5.10 (Berkeley) 6/1/90
|
1993-11-05 08:01:56 +03:00
|
|
|
# $Id: Makefile,v 1.4 1993/11/05 05:01:56 cgd Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
LIB= termcap
|
|
|
|
CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
|
|
|
|
SRCS= termcap.c tgoto.c tputs.c
|
|
|
|
|
|
|
|
MAN3= termcap.0
|
|
|
|
MLINKS= termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \
|
|
|
|
termcap.3 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3
|
1993-04-22 07:38:45 +04:00
|
|
|
LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a
|
|
|
|
.if !defined(NOPROFILE)
|
|
|
|
LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a
|
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
1993-11-05 08:01:56 +03:00
|
|
|
|
|
|
|
.if !defined(NOPIC) && defined(SHLIB_MAJOR) && defined(SHLIB_MINOR)
|
|
|
|
LINKS+= ${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
|
|
|
${LIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
|
|
|
|
.endif
|