|
|
1.1 root 1: # This is the makefile for an Ultrix system. The current Ultrix make(1) doesn't
2: # support VPATH, so we expand everything out.
3:
4: #
5: # Copyright (c) 1987 Regents of the University of California.
6: # All rights reserved.
7: #
8: # Redistribution and use in source and binary forms are permitted
9: # provided that the above copyright notice and this paragraph are
10: # duplicated in all such forms and that any documentation,
11: # advertising materials, and other materials related to such
12: # distribution and use acknowledge that the software was developed
13: # by the University of California, Berkeley. The name of the
14: # University may not be used to endorse or promote products derived
15: # from this software without specific prior written permission.
16: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19: #
20: # @(#)Makefile 1.4 (Berkeley) 5/15/88
21: #
22:
23: # The following is the telnet makefile for tn3270, using the shared telnet
24: # sources.
25:
26: #
27: # TERMCAP Define this if your system is termcap based,
28: # otherwise a terminfo based system is assumed.
29: #
30: # SRCRT Includes code to allow you to specify source routes.
31: # Format is:
32: # [!]@hop1@hop2...[@|:]dst
33: # Leading ! means strict source route.
34: #
35: # NOSTRNCASECMP Define this if you do not have strncasecmp() in
36: # your C libarary.
37: #
38: # USE_TERMIO Define this if you have System V termio structures.
39: # What is here is how things are on Cray computers.
40: #
41: # KLUDGELINEMODE Define this to get the kludged up version of linemode
42: # that was in 4.3BSD. This is a good thing to have
43: # around for talking to older systems.
44: #
45:
46: DEFINES= -DTERMCAP -DSRCRT -DKLUDGELINEMODE
47:
48:
49: VPATH = ../../telnet/Source
50: XINCLUDES= -I../../telnet/Source
51: INCLUDES= -I.
52: XDEFINES = -DTN3270
53: OPTIMIZE= -O
54: CFLAGS = ${OPTIMIZE} ${INCLUDES} ${DEFINES}
55: XCFLAGS= ${XINCLUDES} ${XDEFINES}
56: LD = ld
57: LDFLAGS = -r
58: PRINT = print
59: ACTION = sccs tell
60: LIBC= /lib/libc.a
61: SD= ../../telnet/Source/
62: ALLH= ${SD}defines.h ${SD}externs.h ${SD}fdset.h ${SD}general.h ${SD}ring.h ${SD}types.h
63: SRCS= ${SD}commands.c ${SD}main.c ${SD}network.c ${SD}ring.c \
64: ${SD}sys_bsd.c ${SD}sys_dos.c ${SD}telnet.c ${SD}terminal.c \
65: ${SD}tn3270.c ${SD}utilities.c
66: ALLHC= ${ALLH} ${SRCS}
67: ALLPRINT = ${ALLHC}
68: ALLSOURCE= ${ALLHC} Makefile Makefile_ultrix
69: OBJS= commands.o main.o network.o ring.o sys_bsd.o sys_dos.o \
70: telnet.o terminal.o tn3270.o utilities.o
71:
72: .c.o:
73: ${CC} -c ${CFLAGS} ${XCFLAGS} $<
74:
75: telprog.o: ${OBJS} ${LIBC}
76: ${LD} ${LDFLAGS} -o $@ ${OBJS}
77:
78: clean: FRC
79: rm -f ${OBJS} core telnet
80:
81: depend: FRC ${SRCS}
82: mkdep ${CFLAGS} ${SRCS}
83:
84: lint: FRC ${SRCS}
85: lint ${CFLAGS} ${SRCS}
86:
87: tags: FRC ${ALLHC}
88: ctags ${ALLHC}
89:
90: print: FRC ${ALLPRINT}
91: ${PRINT} ${ALLPRINT}
92:
93: commands.o: ${SD}commands.c
94: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}commands.c
95:
96: main.o: ${SD}main.c
97: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}main.c
98:
99: network.o: ${SD}network.c
100: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}network.c
101:
102: ring.o: ${SD}ring.c
103: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}ring.c
104:
105: sys_bsd.o: ${SD}sys_bsd.c
106: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}sys_bsd.c
107:
108: sys_dos.o: ${SD}sys_dos.c
109: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}sys_dos.c
110:
111: telnet.o: ${SD}telnet.c
112: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}telnet.c
113:
114: terminal.o: ${SD}terminal.c
115: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}terminal.c
116:
117: tn3270.o: ${SD}tn3270.c
118: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}tn3270.c
119:
120: utilities.o: ${SD}utilities.c
121: ${CC} -c ${CFLAGS} ${XCFLAGS} ${SD}utilities.c
122:
123:
124: action: FRC
125: ${ACTION}
126:
127: clist: FRC ${SRCS}
128: @for i in ${SRCS} ; \
129: do (echo ${DIRPATH}$$i); done
130:
131: hclist: FRC ${ALLHC}
132: @for i in ${ALLHC} ; \
133: do (echo ${DIRPATH}$$i); done
134:
135: sourcelist: FRC ${ALLSOURCE}
136: @for i in ${ALLSOURCE} ../../telnet/Makefile ; \
137: do (echo ${DIRPATH}$$i); done
138:
139: FRC:
140:
141: # DO NOT DELETE THIS LINE -- mkdep uses it.
142: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
143:
144: commands.o: ../../telnet/Source/commands.c /usr/include/sys/types.h
145: commands.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
146: commands.o: /usr/include/signal.h /usr/include/machine/trap.h
147: commands.o: /usr/include/netdb.h /usr/include/ctype.h
148: commands.o: /usr/include/arpa/telnet.h ../../telnet/Source/ring.h
149: commands.o: ../../telnet/Source/externs.h /usr/include/stdio.h
150: commands.o: /usr/include/setjmp.h ../../telnet/Source/defines.h
151: commands.o: ../../telnet/Source/types.h
152: main.o: ../../telnet/Source/main.c /usr/include/sys/types.h
153: main.o: ../../telnet/Source/ring.h ../../telnet/Source/externs.h
154: main.o: /usr/include/stdio.h /usr/include/setjmp.h
155: main.o: ../../telnet/Source/defines.h
156: network.o: ../../telnet/Source/network.c /usr/include/sys/types.h
157: network.o: /usr/include/sys/socket.h /usr/include/sys/time.h
158: network.o: /usr/include/time.h /usr/include/errno.h /usr/include/arpa/telnet.h
159: network.o: ../../telnet/Source/ring.h ../../telnet/Source/defines.h
160: network.o: ../../telnet/Source/externs.h /usr/include/stdio.h
161: network.o: /usr/include/setjmp.h ../../telnet/Source/fdset.h
162: ring.o: ../../telnet/Source/ring.c /usr/include/stdio.h /usr/include/errno.h
163: ring.o: /usr/include/sys/types.h /usr/include/sys/ioctl.h
164: ring.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
165: ring.o: /usr/include/sys/socket.h ../../telnet/Source/ring.h
166: ring.o: ../../telnet/Source/general.h
167: sys_bsd.o: ../../telnet/Source/sys_bsd.c /usr/include/sys/ioctl.h
168: sys_bsd.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
169: sys_bsd.o: /usr/include/sys/types.h /usr/include/sys/time.h /usr/include/time.h
170: sys_bsd.o: /usr/include/sys/socket.h /usr/include/signal.h
171: sys_bsd.o: /usr/include/machine/trap.h /usr/include/errno.h
172: sys_bsd.o: ../../telnet/Source/ring.h ../../telnet/Source/fdset.h
173: sys_bsd.o: ../../telnet/Source/defines.h ../../telnet/Source/externs.h
174: sys_bsd.o: /usr/include/stdio.h /usr/include/setjmp.h
175: sys_bsd.o: ../../telnet/Source/types.h
176: sys_dos.o: ../../telnet/Source/sys_dos.c
177: telnet.o: ../../telnet/Source/telnet.c /usr/include/sys/types.h
178: telnet.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h
179: telnet.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
180: telnet.o: /usr/include/sys/ttydev.h /usr/include/arpa/telnet.h
181: telnet.o: /usr/include/strings.h ../../telnet/Source/ring.h
182: telnet.o: ../../telnet/Source/defines.h ../../telnet/Source/externs.h
183: telnet.o: /usr/include/stdio.h /usr/include/setjmp.h
184: telnet.o: ../../telnet/Source/types.h ../../telnet/Source/general.h
185: telnet.o: /usr/include/varargs.h
186: terminal.o: ../../telnet/Source/terminal.c /usr/include/arpa/telnet.h
187: terminal.o: /usr/include/sys/types.h ../../telnet/Source/ring.h
188: terminal.o: ../../telnet/Source/externs.h /usr/include/stdio.h
189: terminal.o: /usr/include/setjmp.h ../../telnet/Source/types.h
190: tn3270.o: ../../telnet/Source/tn3270.c ../../telnet/Source/fdset.h
191: utilities.o: ../../telnet/Source/utilities.c /usr/include/arpa/telnet.h
192: utilities.o: /usr/include/sys/types.h /usr/include/ctype.h
193: utilities.o: ../../telnet/Source/ring.h ../../telnet/Source/externs.h
194: utilities.o: /usr/include/stdio.h /usr/include/setjmp.h
195:
196: # 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.