b8cba406f2
- TELNETOBJDIR is gone. `buildworld' already installs libtelnet.a in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there. - SSHDIR (formerly SSHSRC) is now shared between all SSH modules. New LIBSSH is introduced for libssh.a (an internal static lib). Previously, build without prior `obj' was broken; SSH modules always looked for libssh.a in ${.OBJDIR}. Also, the dependancies on the libssh.a were missing. - libtelnet/ did not install the crypto version of telnet.h into /usr/include/arpa. - Removed BINOWN, BINMODE, BINDIR and SRCS with default values. Reviewed by: markm - MAN[1-9] -> MAN.
30 lines
790 B
Makefile
30 lines
790 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= telnet
|
|
|
|
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}
|
|
|
|
NOPIC= yes
|
|
|
|
INCS= ${TELNETDIR}/arpa/telnet.h
|
|
INCDIR= /usr/include/arpa
|
|
|
|
#
|
|
# Before complaining about this, please *double-check* that you have
|
|
# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
|
|
# was added in src/etc/rc rev 1.98.
|
|
# This is so that `ld' will not continue to generate binaries linked
|
|
# shared against libtelnet, so that in a future release we can move this
|
|
# off to a compat dist (like compat22).
|
|
#
|
|
afterinstall:
|
|
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${TELNETDIR}/libtelnet
|