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