|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. ! 4: # ! 5: # Redistribution and use in source and binary forms are permitted ! 6: # provided that the above copyright notice and this paragraph are ! 7: # duplicated in all such forms and that any documentation, ! 8: # advertising materials, and other materials related to such ! 9: # distribution and use acknowledge that the software was developed ! 10: # by the University of California, Berkeley. The name of the ! 11: # University may not be used to endorse or promote products derived ! 12: # from this software without specific prior written permission. ! 13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 16: # ! 17: # @(#)Makefile 1.11 (Berkeley) 7/9/88 ! 18: # ! 19: ! 20: # The following is the telnet makefile. The sources are down one level ! 21: # in directory "Source" because the sources are shared between telnet ! 22: # and tn3270. ! 23: ! 24: VPATH = Source ! 25: INCLUDES= -ISource ! 26: CFLAGS= -O ${INCLUDES} ! 27: LIBC= /lib/libc.a ! 28: SRCS= commands.c main.c network.c ring.c \ ! 29: sys_bsd.c sys_dos.c telnet.c terminal.c \ ! 30: tn3270.c utilities.c ! 31: ! 32: ALLHC= ${SRCS} \ ! 33: Source/defines.h Source/externs.h Source/fdset.h Source/general.h \ ! 34: Source/ring.h Source/types.h ! 35: ! 36: OBJS= commands.o main.o network.o ring.o sys_bsd.o sys_dos.o \ ! 37: telnet.o terminal.o tn3270.o utilities.o ! 38: ! 39: all: telnet ! 40: ! 41: telnet: ${OBJS} ${LIBC} ! 42: ${CC} -o $@ ${CFLAGS} ${OBJS} ! 43: ! 44: clean: FRC ! 45: rm -f ${OBJS} core errs l.errs tags telnet ! 46: ! 47: clist: FRC ${SRCS} ! 48: @for i in ${SRCS} ; \ ! 49: do (echo ${DIRPATH}$$i); done ! 50: ! 51: hclist: FRC ${ALLHC} ! 52: @for i in ${ALLHC} ; \ ! 53: do (echo ${DIRPATH}$$i); done ! 54: ! 55: depend: FRC ${SRCS} ! 56: mkdep ${CFLAGS} `make clist` ! 57: ! 58: install: FRC ! 59: install -s -o bin -g bin -m 755 telnet ${DESTDIR}/usr/ucb/telnet ! 60: ! 61: lint: FRC ${SRCS} ! 62: lint ${CFLAGS} `make clist` ! 63: ! 64: tags: FRC ${SRCS} ! 65: ctags `make hclist` ! 66: ! 67: FRC: ! 68: ! 69: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 70: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 71: ! 72: commands.o: Source/commands.c /usr/include/sys/types.h ! 73: commands.o: /usr/include/sys/socket.h /usr/include/netinet/in.h ! 74: commands.o: /usr/include/signal.h /usr/include/machine/trap.h ! 75: commands.o: /usr/include/netdb.h /usr/include/ctype.h ! 76: commands.o: /usr/include/arpa/telnet.h Source/general.h Source/ring.h ! 77: commands.o: Source/externs.h /usr/include/stdio.h /usr/include/setjmp.h ! 78: commands.o: Source/defines.h Source/types.h ! 79: main.o: Source/main.c /usr/include/sys/types.h Source/ring.h Source/externs.h ! 80: main.o: /usr/include/stdio.h /usr/include/setjmp.h Source/defines.h ! 81: network.o: Source/network.c /usr/include/sys/types.h /usr/include/sys/socket.h ! 82: network.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/errno.h ! 83: network.o: /usr/include/arpa/telnet.h Source/ring.h Source/defines.h ! 84: network.o: Source/externs.h /usr/include/stdio.h /usr/include/setjmp.h ! 85: network.o: Source/fdset.h ! 86: ring.o: Source/ring.c /usr/include/stdio.h /usr/include/errno.h ! 87: ring.o: /usr/include/sys/types.h /usr/include/sys/ioctl.h ! 88: ring.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 89: ring.o: /usr/include/sys/socket.h Source/ring.h Source/general.h ! 90: sys_bsd.o: Source/sys_bsd.c /usr/include/sys/ioctl.h ! 91: sys_bsd.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 92: sys_bsd.o: /usr/include/sys/types.h /usr/include/sys/time.h /usr/include/time.h ! 93: sys_bsd.o: /usr/include/sys/socket.h /usr/include/signal.h ! 94: sys_bsd.o: /usr/include/machine/trap.h /usr/include/errno.h Source/ring.h ! 95: sys_bsd.o: Source/fdset.h Source/defines.h Source/externs.h ! 96: sys_bsd.o: /usr/include/stdio.h /usr/include/setjmp.h Source/types.h ! 97: sys_dos.o: Source/sys_dos.c ! 98: telnet.o: Source/telnet.c /usr/include/sys/types.h /usr/include/signal.h ! 99: telnet.o: /usr/include/machine/trap.h /usr/include/curses.h ! 100: telnet.o: /usr/include/stdio.h /usr/include/sgtty.h /usr/include/sys/ioctl.h ! 101: telnet.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 102: telnet.o: /usr/include/arpa/telnet.h /usr/include/strings.h Source/ring.h ! 103: telnet.o: Source/defines.h Source/externs.h /usr/include/stdio.h ! 104: telnet.o: /usr/include/setjmp.h Source/types.h Source/general.h ! 105: telnet.o: /usr/include/varargs.h ! 106: terminal.o: Source/terminal.c /usr/include/arpa/telnet.h ! 107: terminal.o: /usr/include/sys/types.h Source/ring.h Source/externs.h ! 108: terminal.o: /usr/include/stdio.h /usr/include/setjmp.h Source/types.h ! 109: tn3270.o: Source/tn3270.c /usr/include/sys/types.h /usr/include/arpa/telnet.h ! 110: tn3270.o: Source/general.h Source/defines.h Source/ring.h Source/externs.h ! 111: tn3270.o: /usr/include/stdio.h /usr/include/setjmp.h Source/fdset.h ! 112: utilities.o: Source/utilities.c /usr/include/arpa/telnet.h ! 113: utilities.o: /usr/include/sys/types.h /usr/include/ctype.h Source/general.h ! 114: utilities.o: Source/ring.h Source/externs.h /usr/include/stdio.h ! 115: utilities.o: /usr/include/setjmp.h ! 116: ! 117: # 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.