1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/lib/libtelnet/Makefile

34 lines
735 B
Makefile
Raw Normal View History

# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
1999-08-28 00:22:10 +00:00
# $FreeBSD$
1994-05-27 05:00:24 +00:00
LIB= telnet
INTERNALLIB= yes
SRCS= genget.c getent.c misc.c
WARNS?= 2
unifdef:
-cd ${.CURDIR} ; \
( for i in *.[ch] ; do \
unifdef -UAUTHENTICATION -UENCRYPTION \
${.CURDIR}/../../crypto/telnet/libtelnet/$$i \
> ${.CURDIR}/$$i ; \
echo $$i ; \
done )
.include <bsd.lib.mk>
1994-05-27 05:00:24 +00:00
#
# Remove obsolete shared libraries, if any. We don't bother moving them
# to /usr/lib/compat, since they were only used by telnet, telnetd and
# tn3270.
#
beforeinstall: __remove-stale-libs
__remove-stale-libs: .PHONY
.if exists(${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0)
-chflags noschg ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
.endif