summaryrefslogtreecommitdiffstats
path: root/usr.bin/tn3270/telnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tn3270/telnet/Makefile')
-rw-r--r--usr.bin/tn3270/telnet/Makefile87
1 files changed, 87 insertions, 0 deletions
diff --git a/usr.bin/tn3270/telnet/Makefile b/usr.bin/tn3270/telnet/Makefile
new file mode 100644
index 0000000..b4095e2
--- /dev/null
+++ b/usr.bin/tn3270/telnet/Makefile
@@ -0,0 +1,87 @@
+# @(#)Makefile 8.1 (Berkeley) 6/6/93
+
+# The following is the telnet makefile for tn3270, using the shared telnet
+# sources.
+
+#
+# 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.
+# Format is:
+# [!]@hop1@hop2...[@|:]dst
+# Leading ! means strict source route.
+#
+# NOSTRNCASECMP Define this if you do not have strncasecmp() in
+# your C libarary.
+#
+# 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}
+INCLUDES=
+XDEFINES = -DTN3270
+OPTIMIZE= -O
+CFLAGS = ${OPTIMIZE} ${INCLUDES} ${DEFINES}
+XCFLAGS= ${XINCLUDES} ${XDEFINES}
+LD = ld
+LDFLAGS = -r
+PRINT = print
+ACTION = sccs tell
+LIBC= /usr/lib/libc.a
+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 \
+ tn3270.c utilities.c
+ALLHC= ${ALLH} ${SRCS}
+ALLPRINT = ${ALLHC}
+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
+
+.c.o:
+ ${CC} -c ${CFLAGS} ${XCFLAGS} $<
+
+telprog.o: ${OBJS} ${LIBC}
+ ${LD} ${LDFLAGS} -o $@ ${OBJS}
+
+clean: FRC
+ rm -f telprog.o ${OBJS} core telnet
+
+depend: FRC ${SRCS}
+ mkdep ${CFLAGS} ${SRCS}
+
+lint: FRC ${SRCS}
+ lint ${CFLAGS} ${SRCS}
+
+tags: FRC ${ALLHC}
+ ctags ${ALLHC}
+
+print: FRC ${ALLPRINT}
+ ${PRINT} ${ALLPRINT}
+
+action: FRC
+ ${ACTION}
+
+clist: FRC ${SRCS}
+ @for i in ${SRCS} ; \
+ do (echo ${DIRPATH}$$i); done
+
+hclist: FRC ${ALLHC}
+ @for i in ${ALLHC} ; \
+ do (echo ${DIRPATH}$$i); done
+
+sourcelist: FRC ${ALLSOURCE}
+ @for i in ${ALLSOURCE} ../../telnet/Makefile ; \
+ do (echo ${DIRPATH}$$i); done
+
+FRC:
OpenPOWER on IntegriCloud