freebsd-nq/lib/libtermcap/Makefile

28 lines
868 B
Makefile
Raw Normal View History

1994-05-27 05:00:24 +00:00
# @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB= termcap
1995-05-03 22:14:01 +00:00
SHLIB_MAJOR= 2
SHLIB_MINOR= 1
CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D -I${.CURDIR}
SRCS= termcap.c tgoto.c tputs.c tparm.c tospeed.c
1994-05-27 05:00:24 +00:00
MAN3= termcap.3
1994-05-27 05:00:24 +00:00
MLINKS= termcap.3 tgetent.3 termcap.3 tgetflag.3 termcap.3 tgetnum.3 \
1994-12-04 02:41:41 +00:00
termcap.3 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3 \
termcap.3 tparm.3 termcap.3 _set_ospeed.3
LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a
1994-11-08 17:31:52 +00:00
.if !defined(NOPIC)
LINKS+= ${SHLIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
${SHLIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
1994-11-08 17:31:52 +00:00
.endif
.if !defined(NOPROFILE)
LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a
.endif
1994-05-27 05:00:24 +00:00
1994-12-04 02:41:41 +00:00
beforeinstall:
-cd ${.CURDIR}; cmp -s termcap.h ${DESTDIR}/usr/include/termcap.h || \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 termcap.h \
1994-12-04 02:41:41 +00:00
${DESTDIR}/usr/include
1994-05-27 05:00:24 +00:00
.include <bsd.lib.mk>