Change to work with Kerboers Imake structure
authorTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 12:18:48 +0000 (12:18 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 3 Jun 1993 12:18:48 +0000 (12:18 +0000)
Changed to include Kerberos libraries.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2603 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/Config.generic

index e5e6d60ef82ca271f86993b54057156a00e4fc30..bdd2eca4015d0603cd7ddd8a98ff50bccf4609a9 100644 (file)
 #    Name of "ranlib" program, set it to "NONE" if you don't
 #    have a "ranlib".
 
+ODEFS="-DKRB5 -DAUTHENTICATION"
+KRB_INC= -I../../../include
+KRB_LIBS=" $(KLIB)"
+KRB_LIBPATH=" $(DEPKLIB)"
+
 all:
        @echo "you must specify what type of system you are on,"
        @echo "or modify the makefile for your system."
@@ -244,22 +249,21 @@ all:
                CC="${CC}" LCCFLAGS="-O"
 
 4.3bsd:
-       @echo $@ is untested... it may or may not work..."
        make -f Makefile.generic ${WHAT} \
-               LIBS="-ltermcap ../libtelnet/libtelnet.a" \
+               LIBS="-ltermcap ../libtelnet/libtelnet.a"${KRB_LIBS} \
                LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \
-                               ../libtelnet/libtelnet.a" \
+                               ../libtelnet/libtelnet.a"${KRB_LIBPATH} \
                DEST=${DESTDIR}/usr/bin \
-               DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \
+               DESTDIR=${DESTDIR} \
+               DEFINES=${ODEFS}" -DTERMCAP -DKLUDGELINEMODE \
                    -DDEFAULT_IM='\"\r\n4.3BSD UNIX (%h) (%t)\r\n\r\r\n\r\"' \
                        -DDIAGNOSTICS" \
-               INCLUDES="-I.." \
-               LIB_OBJ="strdup.o setsid.o strftime.o \
+               INCLUDES=${KRB_INC}" -I.." \
+               LIB_OBJ="strdup.o setsid.o strftime.o strerror.o \
                        gettytab.o getopt.o herror.o" \
-               LIB_SRC="strdup.c setsid.c strftime.c \
+               LIB_SRC="strdup.c setsid.c strftime.c strerror.c \
                        gettytab.c getopt.c herror.c" \
                AR=ar ARFLAGS=cq RANLIB=ranlib \
-               VPATH=/usr/src/etc/getty \
                LIBEXEC=${DESTDIR}/etc \
                CC="${CC}" LCCFLAGS="-O"
 
@@ -521,14 +525,15 @@ ultrix3.1:
 
 ultrix4.0:
        make -f Makefile.generic ${WHAT} \
-               LIBS="-ltermcap ../libtelnet/libtelnet.a" \
+               LIBS="-ltermcap ../libtelnet/libtelnet.a"${KRB_LIBS} \
                LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \
-                               ../libtelnet/libtelnet.a" \
+                               ../libtelnet/libtelnet.a"${KRB_LIBPATH} \
                DEST=${DESTDIR}/usr/ucb \
-               DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \
+               DESTDIR=${DESTDIR} \
+               DEFINES=${ODEFS}" -DUSE_TERMIO -DTERMCAP \
                    -DDEFAULT_IM='\"\r\nULTRIX V4.0 (%h) (%t)\r\n\r\r\n\r\"' \
                        -DKLUDGELINEMODE -DDIAGNOSTICS " \
-               INCLUDES="-I.." \
+               INCLUDES=${KRB_INC}" -I.." \
                LIB_OBJ="getent.o strdup.o strerror.o setsid.o \
                        setenv.o strftime.o" \
                LIB_SRC="getent.c strdup.c strerror.c setsid.c \