From a89901d81e690962dc889976d911d0a3c3334bfc Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 30 Nov 2001 21:12:31 +0000 Subject: Style clean-up, and diff-reduce WRT src/secure/*/telnet/Makefile --- kerberosIV/lib/libtelnet/Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'kerberosIV/lib/libtelnet/Makefile') diff --git a/kerberosIV/lib/libtelnet/Makefile b/kerberosIV/lib/libtelnet/Makefile index 2899187..068622f 100644 --- a/kerberosIV/lib/libtelnet/Makefile +++ b/kerberosIV/lib/libtelnet/Makefile @@ -10,21 +10,26 @@ SRCS= genget.c getent.c misc.c encrypt.c auth.c \ enc_des.c sra.c pk.c SRCS+= kerberos.c -CFLAGS+= -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \ - -DSRA -I${TELNETDIR} +CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA -I${TELNETDIR} CFLAGS+= -DKRB4 -I${KRB4DIR}/lib/krb +WARNS?= 2 + INCS= ${TELNETDIR}/arpa/telnet.h INCDIR= /usr/include/arpa +.include + +.PATH: ${TELNETDIR}/libtelnet + # # 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: +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 - -.include - -.PATH: ${TELNETDIR}/libtelnet +.endif -- cgit v1.1