Remove extra tokens after #else and #endif.
[dragonfly.git] / secure / lib / libtelnet / Makefile
1 #       $FreeBSD: src/secure/lib/libtelnet/Makefile,v 1.17.2.7 2002/07/22 14:21:51 ru Exp $
2 #       $DragonFly: src/secure/lib/libtelnet/Makefile,v 1.2 2003/06/17 04:27:48 dillon Exp $
3
4 LIB=            telnet
5
6 INTERNALLIB=    yes
7
8 SRCS=           genget.c getent.c misc.c encrypt.c auth.c \
9                 enc_des.c sra.c pk.c
10
11 CFLAGS+=        -DENCRYPTION -DAUTHENTICATION -DSRA \
12                 -I${TELNETDIR} -I${TELNETDIR}/libtelnet
13
14 WARNS?=         2
15
16 INCS=           ${TELNETDIR}/arpa/telnet.h
17 INCSDIR=        ${INCLUDEDIR}/arpa
18
19 .include <bsd.lib.mk>
20
21 .PATH:  ${TELNETDIR}/libtelnet
22
23 #
24 # Remove obsolete shared libraries, if any.  We don't bother moving them
25 # to /usr/lib/compat, since they were only used by telnet, telnetd and
26 # tn3270.
27 #
28 beforeinstall: __remove-stale-libs
29 __remove-stale-libs: .PHONY
30 .if exists(${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0)
31         -chflags noschg ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
32         rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
33 .endif