opnsense-src/secure/lib/libtelnet/Makefile
Ruslan Ermilov 47f3c9a746 Merged src/lib/libtelnet rev.1.9 (fixed removing of obsolete shared
library: wrong library directory, wrong library extension and wrong
comment).  This is mainly of historical interest, if any.  The library
that gets removed is aout.

Also, backout the beforeinstall -> afterinstall change in rev.1.20
that was required to install proper telnet.h into /usr/include/arpa.
The actual problem is in <bsd.lib.mk>, and I am going to fix it.
2001-03-28 12:15:22 +00:00

28 lines
594 B
Makefile

# $FreeBSD$
LIB= telnet
INTERNALLIB= yes
INTERNALSTATICLIB=yes
NOPIC= yes
SRCS= genget.c getent.c misc.c encrypt.c auth.c \
enc_des.c pk.c
CFLAGS+= -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \
-I${TELNETDIR}
INCS= ${TELNETDIR}/arpa/telnet.h
INCDIR= /usr/include/arpa
#
# 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:
rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
.include <bsd.lib.mk>
.PATH: ${TELNETDIR}/libtelnet