NetBSD/lib/libterm/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2000/07/03 21:10:57 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
1993-03-21 12:45:37 +03:00
LIB= termcap
CPPFLAGS+=-I${.CURDIR} -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 \
termcap.3 t_getent.3 termcap.3 t_getflag.3 termcap.3 t_getnum.3 \
termcap.3 t_getstr.3 termcap.3 t_goto.3 termcap.3 t_puts.3 \
termcap.3 t_freent.3
INCS= termcap.h
INCSDIR=/usr/include
.include <bsd.own.mk>
.if ${MKLINKLIB} != "no"
LINKS+= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a
.endif
1999-02-12 14:32:32 +03:00
.if ${MKPROFILE} != "no"
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"
1999-02-12 14:32:32 +03:00
.if ${MKPICINSTALL} != "no"
LINKS+= ${LIBDIR}/libtermcap_pic.a ${LIBDIR}/libtermlib_pic.a
.endif
.if exists(${.CURDIR}/shlib_version)
LINKS+= ${LIBDIR}/lib${LIB}.so.${SHLIB_FULLVERSION} \
${LIBDIR}/libtermlib.so.${SHLIB_FULLVERSION}
1999-02-12 14:14:11 +03:00
.if (${OBJECT_FMT} == "ELF")
LINKS+= ${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR} \
${LIBDIR}/libtermlib.so.${SHLIB_MAJOR}
LINKS+= ${LIBDIR}/lib${LIB}.so ${LIBDIR}/libtermlib.so
.endif
.endif
1999-02-12 14:32:32 +03:00
.endif # ${MKPIC} != "no"
.include <bsd.lib.mk>