summaryrefslogtreecommitdiff
path: root/net/ztelnet/files/patch-af
blob: d2f74a27ae25d8e3e3142cf43d00da3668c8e887 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -uNr ../ztelnet/libtelnet/Makefile.generic ./libtelnet/Makefile.generic
--- ../ztelnet/libtelnet/Makefile.generic	Wed Sep 20 19:52:44 1995
+++ ./libtelnet/Makefile.generic	Wed Dec  3 05:00:37 1997
@@ -19,32 +19,24 @@
 #	@(#)Makefile.generic	5.5 (Berkeley) 3/1/91
 #
 
-LIB=	libtelnet.a
-SRCS=	auth.c encrypt.c genget.c \
+LIB=    libtelnet.a
+SRCS=   auth.c encrypt.c genget.c \
 	misc.c enc_des.c \
 	setenv.c getent.c strdup.c strcasecmp.c \
 	strchr.c strrchr.c strftime.c strerror.c \
 	${LIB_SRC}
 
-OBJS=	auth.o encrypt.o genget.o \
+OBJS=   auth.o encrypt.o genget.o \
 	misc.o enc_des.o \
 	${LIB_OBJ}
 
-ifeq (linux,${LINUX})
-TELNET_H=	../arpa/tel-lnx.h
-CFLAGS=	${LCCFLAGS} ${INCLUDES} ${DEFINES}
-else
-TELNET_H=	../arpa/telnet.h
-CFLAGS=	-O ${DEFINES} ${INCLUDES}
-endif
+TELNET_H= ../arpa/telnet.h
+
+CFLAGS= -O2 ${DEFINES} ${INCLUDES}
 
 ${LIB}: ${OBJS}
 	rm -f ${LIB}
-ifeq (linux,${LINUX})
-	${AR} ${ARFLAGS} ${LIB} ${OBJS}
-else
 	${AR} ${ARFLAGS} ${LIB} `lorder ${OBJS} | tsort`
-endif
 	@if [ ${RANLIB} != NONE ]; \
 		then echo ${RANLIB} ${LIB}; ${RANLIB} ${LIB}; fi