summaryrefslogtreecommitdiffstats
path: root/lib/libtermcap/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-08-05 21:22:07 +0000
committerache <ache@FreeBSD.org>1995-08-05 21:22:07 +0000
commit100e6f311c5d20fdb09afe48750d3d733c8b8e45 (patch)
tree84255860ff0aa7fd3bacde0ab4494a6ab882406e /lib/libtermcap/Makefile
parentc426abc4240ef56049117a4cc11d9db6a62c0db1 (diff)
downloadFreeBSD-src-100e6f311c5d20fdb09afe48750d3d733c8b8e45.zip
FreeBSD-src-100e6f311c5d20fdb09afe48750d3d733c8b8e45.tar.gz
Do a little trick which covers 99% cases: initialize ospeed
variable directly in tgetent by stderr or stdout output speed. It helps hide in non-standard __set_ospeed function and remove it from other sources (coming soon). Do prototype cleanup too.
Diffstat (limited to 'lib/libtermcap/Makefile')
-rw-r--r--lib/libtermcap/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtermcap/Makefile b/lib/libtermcap/Makefile
index 0ed230c..cab35af 100644
--- a/lib/libtermcap/Makefile
+++ b/lib/libtermcap/Makefile
@@ -3,13 +3,13 @@
LIB= termcap
SHLIB_MAJOR= 2
SHLIB_MINOR= 1
-CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
+CFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D -I${.CURDIR}
SRCS= termcap.c tgoto.c tputs.c tparm.c tospeed.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 tparm.3 termcap.3 _set_ospeed.3
+ termcap.3 tparm.3
LINKS= ${LIBDIR}/libtermcap.a ${LIBDIR}/libtermlib.a
.if !defined(NOPIC)
LINKS+= ${SHLIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
OpenPOWER on IntegriCloud