summaryrefslogtreecommitdiffstats
path: root/lib/libtermcap/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-04 02:41:41 +0000
committerache <ache@FreeBSD.org>1994-12-04 02:41:41 +0000
commit7749e26c04356474ef84ba9ce582587bfd5caacf (patch)
treeaf6b69f6fad639697d85c70fe0583e1e7de8fd08 /lib/libtermcap/Makefile
parent117476758a3528e93982b9dfb4473aa8515ac5b0 (diff)
downloadFreeBSD-src-7749e26c04356474ef84ba9ce582587bfd5caacf.zip
FreeBSD-src-7749e26c04356474ef84ba9ce582587bfd5caacf.tar.gz
Add termcap.h & tparm
Diffstat (limited to 'lib/libtermcap/Makefile')
-rw-r--r--lib/libtermcap/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libtermcap/Makefile b/lib/libtermcap/Makefile
index fbfa7f5..cd0ba38 100644
--- a/lib/libtermcap/Makefile
+++ b/lib/libtermcap/Makefile
@@ -2,11 +2,12 @@
LIB= termcap
CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
-SRCS= termcap.c tgoto.c tputs.c
+SRCS= termcap.c tgoto.c tputs.c tparm.c
MAN3= termcap.3
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 tgetstr.3 termcap.3 tgoto.3 termcap.3 tputs.3 \
+ termcap.3 tparm.3
LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a
.if !defined(NOPIC)
LINKS+= ${SHLIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
@@ -16,4 +17,9 @@ LINKS+= ${SHLIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
LINKS+= ${LIBDIR}/libtermcap_p.a ${LIBDIR}/libtermlib_p.a
.endif
+beforeinstall:
+ -cd ${.CURDIR}; cmp -s termcap.h ${DESTDIR}/usr/include/termcap.h || \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 termcap.h \
+ ${DESTDIR}/usr/include
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud