1999-02-12 14:34:07 +03:00
|
|
|
# $NetBSD: Makefile,v 1.20 1999/02/12 11:34:07 lukem Exp $
|
1995-02-27 13:18:34 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
LIB= termcap
|
1997-10-23 07:27:34 +04:00
|
|
|
CPPFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
|
1993-03-21 12:45:37 +03:00
|
|
|
SRCS= termcap.c tgoto.c tputs.c
|
|
|
|
|
1994-12-22 12:57:51 +03:00
|
|
|
MAN= termcap.3
|
1993-03-21 12:45:37 +03:00
|
|
|
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
|
1997-10-13 20:11:41 +04:00
|
|
|
INCS= termcap.h
|
|
|
|
INCSDIR=/usr/include
|
1994-12-20 18:51:13 +03:00
|
|
|
|
1998-04-18 19:26:20 +04:00
|
|
|
.include <bsd.own.mk>
|
1994-12-20 18:51:13 +03:00
|
|
|
|
1999-02-12 14:34:07 +03:00
|
|
|
.if ${MKLINKLIB} != "no"
|
1998-04-18 19:46:22 +04:00
|
|
|
LINKS+= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a
|
1998-04-15 23:29:58 +04:00
|
|
|
.endif
|
|
|
|
|
1999-02-12 14:32:32 +03:00
|
|
|
.if ${MKPROFILE} != "no"
|
1993-04-22 07:38:45 +04:00
|
|
|
LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a
|
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-02-12 14:32:32 +03:00
|
|
|
.if ${MKPIC} != "no"
|
1998-05-08 07:11:02 +04:00
|
|
|
|
1999-02-12 14:32:32 +03:00
|
|
|
.if ${MKPICINSTALL} != "no"
|
1998-05-08 07:11:02 +04:00
|
|
|
LINKS+= ${LIBDIR}/libtermcap_pic.a ${LIBDIR}/libtermlib_pic.a
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if exists(${.CURDIR}/shlib_version)
|
1993-11-05 08:01:56 +03:00
|
|
|
LINKS+= ${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
|
|
|
${LIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
|
1998-02-23 03:31:07 +03:00
|
|
|
|
1999-02-12 14:14:11 +03:00
|
|
|
.if (${OBJECT_FMT} == "ELF")
|
1998-02-23 03:31:07 +03:00
|
|
|
LINKS+= ${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR} \
|
1998-04-20 05:35:44 +04:00
|
|
|
${LIBDIR}/libtermlib.so.${SHLIB_MAJOR}
|
1998-02-23 03:31:07 +03:00
|
|
|
LINKS+= ${LIBDIR}/lib${LIB}.so ${LIBDIR}/libtermlib.so
|
|
|
|
.endif
|
1993-11-05 08:01:56 +03:00
|
|
|
.endif
|
1998-04-18 19:26:20 +04:00
|
|
|
|
1999-02-12 14:32:32 +03:00
|
|
|
.endif # ${MKPIC} != "no"
|
1998-05-08 07:11:02 +04:00
|
|
|
|
1998-04-18 19:26:20 +04:00
|
|
|
.include <bsd.lib.mk>
|