# @(#)Makefile 4.5 (Berkeley) 4/26/91
# The following is the telnet makefile for tn3270, using the shared telnet
# TERMCAP Define this if your system is termcap based,
# otherwise a terminfo based system is assumed.
# SRCRT Includes code to allow you to specify source routes.
# [!]@hop1@hop2...[@|:]dst
# Leading ! means strict source route.
# NOSTRNCASECMP Define this if you do not have strncasecmp() in
# USE_TERMIO Define this if you have System V termio structures.
# What is here is how things are on Cray computers.
# KLUDGELINEMODE Define this to get the kludged up version of linemode
# that was in 4.3BSD. This is a good thing to have
# around for talking to older systems.
DEFINES
= -DTERMCAP
-DSRCRT
-DKLUDGELINEMODE
-DUSE_TERMIO
VPATH
= ${.CURDIR
}/..
/..
/telnet
XINCLUDES
= -I
${.CURDIR
}/..
/..
/telnet
-I
${.CURDIR
}
CFLAGS
= ${OPTIMIZE} ${INCLUDES} ${DEFINES}
XCFLAGS
= ${XINCLUDES} ${XDEFINES}
ALLH
= defines.h externs.h fdset.h general.h ring.h types.h
SRCS
= commands.c main.c network.c ring.c \
sys_bsd.c telnet.c terminal.c \
ALLSOURCE
= ${ALLHC} Makefile Makefile_ultrix
OBJS
= commands.o main.o network.o ring.o sys_bsd.o \
telnet.o terminal.o tn3270.o utilities.o
${CC} -c
${CFLAGS} ${XCFLAGS} $<
telprog.o
: ${OBJS} ${LIBC}
${LD} ${LDFLAGS} -o
$@
${OBJS}
rm -f telprog.o
${OBJS} core telnet
do
(echo
${DIRPATH}$$i); done
do
(echo
${DIRPATH}$$i); done
sourcelist
: FRC
${ALLSOURCE}
@for i in
${ALLSOURCE} ..
/..
/telnet
/Makefile
; \
do
(echo
${DIRPATH}$$i); done