|
|
1.1 ! root 1: # Copyright (c) 1987 Regents of the University of California. ! 2: # All rights reserved. ! 3: # ! 4: # Redistribution and use in source and binary forms are permitted ! 5: # provided that this notice is preserved and that due credit is given ! 6: # to the University of California at Berkeley. The name of the University ! 7: # may not be used to endorse or promote products derived from this ! 8: # software without specific prior written permission. This software ! 9: # is provided ``as is'' without express or implied warranty. ! 10: # ! 11: # %W% (Berkeley) %G% ! 12: # ! 13: ! 14: # The following is the telnet makefile for tn3270, using the shared telnet ! 15: # sources. ! 16: ! 17: VPATH = ../../telnet/Source ! 18: INCLUDES= -I../../telnet/Source -I. ! 19: DEFINES = -DTN3270 ! 20: CFLAGS = -O ${INCLUDES} ${DEFINES} ! 21: LD = ld ! 22: LDFLAGS = -r ! 23: LIBC= /lib/libc.a ! 24: SRCS= commands.c main.c network.c ring.c \ ! 25: sys_bsd.c sys_dos.c telnet.c terminal.c \ ! 26: tn3270.c utilities.c ! 27: OBJS= commands.o main.o network.o ring.o sys_bsd.o sys_dos.o \ ! 28: telnet.o terminal.o tn3270.o utilities.o ! 29: ! 30: all: telnet ! 31: ! 32: telnet: ${OBJS} ${LIBC} ! 33: ${LD} ${LDFLAGS} -o $@ ${OBJS} ! 34: ! 35: clean: FRC ! 36: rm -f ${OBJS} core telnet ! 37: ! 38: depend: FRC ${SRCS} ! 39: mkdep ${CFLAGS} ${SRCS} ! 40: ! 41: install: FRC ! 42: install -s -o bin -g bin -m 755 telnet ${DESTDIR}/usr/ucb/telnet ! 43: ! 44: lint: FRC ! 45: lint ${CFLAGS} ${SRCS} ! 46: ! 47: tags: FRC ! 48: ctags ${SRCS} ! 49: ! 50: FRC: ! 51: ! 52: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 53: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 54: ! 55: commands.o: ../../telnet/Source/commands.c /usr/include/sys/types.h ! 56: commands.o: /usr/include/sys/socket.h /usr/include/netinet/in.h ! 57: commands.o: /usr/include/signal.h /usr/include/machine/trap.h ! 58: commands.o: /usr/include/netdb.h /usr/include/ctype.h ! 59: commands.o: /usr/include/arpa/telnet.h ../../telnet/Source/ring.h ! 60: commands.o: ../../telnet/Source/externs.h /usr/include/stdio.h ! 61: commands.o: /usr/include/setjmp.h ../../telnet/Source/defines.h ! 62: commands.o: ../../telnet/Source/types.h ! 63: main.o: ../../telnet/Source/main.c /usr/include/sys/types.h ! 64: main.o: ../../telnet/Source/ring.h ../../telnet/Source/externs.h ! 65: main.o: /usr/include/stdio.h /usr/include/setjmp.h ! 66: main.o: ../../telnet/Source/defines.h ! 67: network.o: ../../telnet/Source/network.c /usr/include/sys/types.h ! 68: network.o: /usr/include/sys/socket.h /usr/include/sys/time.h ! 69: network.o: /usr/include/time.h /usr/include/errno.h /usr/include/arpa/telnet.h ! 70: network.o: ../../telnet/Source/ring.h ../../telnet/Source/defines.h ! 71: network.o: ../../telnet/Source/externs.h /usr/include/stdio.h ! 72: network.o: /usr/include/setjmp.h ../../telnet/Source/fdset.h ! 73: ring.o: ../../telnet/Source/ring.c /usr/include/stdio.h /usr/include/errno.h ! 74: ring.o: /usr/include/sys/types.h /usr/include/sys/ioctl.h ! 75: ring.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 76: ring.o: /usr/include/sys/socket.h ../../telnet/Source/ring.h ! 77: ring.o: ../../telnet/Source/general.h ! 78: sys_bsd.o: ../../telnet/Source/sys_bsd.c /usr/include/sys/ioctl.h ! 79: sys_bsd.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 80: sys_bsd.o: /usr/include/sys/types.h /usr/include/sys/time.h /usr/include/time.h ! 81: sys_bsd.o: /usr/include/sys/socket.h /usr/include/signal.h ! 82: sys_bsd.o: /usr/include/machine/trap.h /usr/include/errno.h ! 83: sys_bsd.o: ../../telnet/Source/ring.h ../../telnet/Source/fdset.h ! 84: sys_bsd.o: ../../telnet/Source/defines.h ../../telnet/Source/externs.h ! 85: sys_bsd.o: /usr/include/stdio.h /usr/include/setjmp.h ! 86: sys_bsd.o: ../../telnet/Source/types.h ! 87: sys_dos.o: ../../telnet/Source/sys_dos.c ! 88: telnet.o: ../../telnet/Source/telnet.c /usr/include/sys/types.h ! 89: telnet.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h ! 90: telnet.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h ! 91: telnet.o: /usr/include/sys/ttydev.h /usr/include/arpa/telnet.h ! 92: telnet.o: /usr/include/strings.h ../../telnet/Source/ring.h ! 93: telnet.o: ../../telnet/Source/defines.h ../../telnet/Source/externs.h ! 94: telnet.o: /usr/include/stdio.h /usr/include/setjmp.h ! 95: telnet.o: ../../telnet/Source/types.h ../../telnet/Source/general.h ! 96: telnet.o: /usr/include/varargs.h ! 97: terminal.o: ../../telnet/Source/terminal.c /usr/include/arpa/telnet.h ! 98: terminal.o: /usr/include/sys/types.h ../../telnet/Source/ring.h ! 99: terminal.o: ../../telnet/Source/externs.h /usr/include/stdio.h ! 100: terminal.o: /usr/include/setjmp.h ../../telnet/Source/types.h ! 101: tn3270.o: ../../telnet/Source/tn3270.c ../../telnet/Source/fdset.h ! 102: utilities.o: ../../telnet/Source/utilities.c /usr/include/arpa/telnet.h ! 103: utilities.o: /usr/include/sys/types.h /usr/include/ctype.h ! 104: utilities.o: ../../telnet/Source/ring.h ../../telnet/Source/externs.h ! 105: utilities.o: /usr/include/stdio.h /usr/include/setjmp.h ! 106: ! 107: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.