bug fix: use WWT_TERM to set the environment variable
[unix-history] / usr / src / usr.bin / telnet / Makefile
CommitLineData
7c8b73a9
GM
1#
2# Copyright (c) 1987 Regents of the University of California.
897ce52e 3# All rights reserved.
7c8b73a9 4#
897ce52e
KB
5# Redistribution and use in source and binary forms are permitted
6# provided that this notice is preserved and that due credit is given
7# to the University of California at Berkeley. The name of the University
8# may not be used to endorse or promote products derived from this
9# software without specific prior written permission. This software
10# is provided ``as is'' without express or implied warranty.
11#
12# @(#)Makefile 1.7 (Berkeley) %G%
7c8b73a9
GM
13#
14CFLAGS= -O
15LIBC= /lib/libc.a
16SRCS= commands.c main.c network.c ring.c sys_bsd.c sys_dos.c \
17 telnet.c terminal.c tn3270.c utilities.c
18OBJS= commands.o main.o network.o ring.o sys_bsd.o sys_dos.o \
19 telnet.o terminal.o tn3270.o utilities.o
20
21all: telnet
22
23telnet: ${OBJS} ${LIBC}
24 ${CC} -o $@ ${CFLAGS} ${OBJS}
25
26clean: FRC
27 rm -f ${OBJS} core telnet
28
29depend: FRC
30 mkdep ${CFLAGS} ${SRCS}
31
32install: FRC
33 install -s -o bin -g bin -m 755 telnet ${DESTDIR}/usr/ucb/telnet
34
35lint: FRC
36 lint ${CFLAGS} ${SRCS}
37
38tags: FRC
39 ctags ${SRCS}
40
41FRC:
42
43# DO NOT DELETE THIS LINE -- mkdep uses it.
44# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
45
46commands.o: commands.c /usr/include/sys/types.h /usr/include/sys/socket.h
47commands.o: /usr/include/netinet/in.h /usr/include/signal.h
48commands.o: /usr/include/machine/trap.h /usr/include/netdb.h
49commands.o: /usr/include/ctype.h /usr/include/arpa/telnet.h externs.h
50commands.o: /usr/include/stdio.h /usr/include/setjmp.h defines.h types.h
51main.o: main.c externs.h /usr/include/stdio.h /usr/include/setjmp.h defines.h
52network.o: network.c /usr/include/sys/types.h /usr/include/sys/socket.h
53network.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/errno.h
54network.o: /usr/include/arpa/telnet.h defines.h externs.h /usr/include/stdio.h
55network.o: /usr/include/setjmp.h
56sys_bsd.o: sys_bsd.c /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
57sys_bsd.o: /usr/include/sys/ttydev.h /usr/include/sys/time.h
58sys_bsd.o: /usr/include/time.h /usr/include/signal.h
59sys_bsd.o: /usr/include/machine/trap.h defines.h externs.h /usr/include/stdio.h
60sys_bsd.o: /usr/include/setjmp.h types.h
61sys_dos.o: sys_dos.c
62telnet.o: telnet.c /usr/include/sys/types.h /usr/include/sys/time.h
63telnet.o: /usr/include/time.h /usr/include/sys/socket.h
64telnet.o: /usr/include/netinet/in.h /usr/include/curses.h /usr/include/stdio.h
65telnet.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
66telnet.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
67telnet.o: /usr/include/arpa/telnet.h /usr/include/arpa/inet.h
68telnet.o: /usr/include/ctype.h /usr/include/errno.h /usr/include/netdb.h
69telnet.o: /usr/include/strings.h defines.h externs.h /usr/include/stdio.h
70telnet.o: /usr/include/setjmp.h types.h general.h
71terminal.o: terminal.c /usr/include/arpa/telnet.h externs.h
72terminal.o: /usr/include/stdio.h /usr/include/setjmp.h types.h
73tn3270.o: tn3270.c
74utilities.o: utilities.c /usr/include/arpa/telnet.h /usr/include/ctype.h
75utilities.o: externs.h /usr/include/stdio.h /usr/include/setjmp.h
76
77# IF YOU PUT ANYTHING HERE IT WILL GO AWAY