2000-06-20 14:27:33 +00:00
|
|
|
diff -uNr --exclude=*.orig work.old/ztelnet/libtelnet/Makefile.generic work/ztelnet/libtelnet/Makefile.generic
|
|
|
|
--- work.old/ztelnet/libtelnet/Makefile.generic Thu Sep 21 04:52:44 1995
|
|
|
|
+++ work/ztelnet/libtelnet/Makefile.generic Tue Jun 20 22:58:31 2000
|
|
|
|
@@ -19,32 +19,24 @@
|
1998-03-18 18:53:00 +00:00
|
|
|
# @(#)Makefile.generic 5.5 (Berkeley) 3/1/91
|
|
|
|
#
|
|
|
|
|
2000-06-20 14:27:33 +00:00
|
|
|
-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}
|
|
|
|
|
1998-03-18 18:53:00 +00:00
|
|
|
-ifeq (linux,${LINUX})
|
2000-06-20 14:27:33 +00:00
|
|
|
-TELNET_H= ../arpa/tel-lnx.h
|
1998-03-18 18:53:00 +00:00
|
|
|
-CFLAGS= ${LCCFLAGS} ${INCLUDES} ${DEFINES}
|
|
|
|
-else
|
2000-06-20 14:27:33 +00:00
|
|
|
-TELNET_H= ../arpa/telnet.h
|
|
|
|
-CFLAGS= -O ${DEFINES} ${INCLUDES}
|
1998-03-18 18:53:00 +00:00
|
|
|
-endif
|
2000-06-20 14:27:33 +00:00
|
|
|
+TELNET_H= ../arpa/telnet.h
|
1998-03-18 18:53:00 +00:00
|
|
|
+
|
2000-06-20 14:27:33 +00:00
|
|
|
+CFLAGS= -O2 ${DEFINES} ${INCLUDES}
|
1998-03-18 18:53:00 +00:00
|
|
|
|
2000-06-20 14:27:33 +00:00
|
|
|
${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
|
1998-03-18 18:53:00 +00:00
|
|
|
|