Commit | Line | Data |
---|---|---|
d0aeaf5a | 1 | # |
51a16129 | 2 | # Copyright (c) 1987 Regents of the University of California. |
d0aeaf5a DF |
3 | # All rights reserved. The Berkeley software License Agreement |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
51a16129 | 6 | # @(#)Makefile 5.5 (Berkeley) %G% |
771a3d9d | 7 | # |
51a16129 KB |
8 | CFLAGS= -O |
9 | LIBC= /lib/libc.a | |
4fa2ac2d | 10 | SRCS= talk.c get_names.c display.c io.c ctl.c init_disp.c \ |
771a3d9d | 11 | msgs.c get_addrs.c ctl_transact.c invite.c look_up.c |
51a16129 KB |
12 | OBJS= talk.o get_names.o display.o io.o ctl.o init_disp.o \ |
13 | msgs.o get_addrs.o ctl_transact.o invite.o look_up.o | |
14 | ||
15 | all: talk | |
16 | ||
17 | talk: ${OBJS} ${LIBC} | |
18 | ${CC} -o $@ ${CFLAGS} ${OBJS} -lcurses -ltermlib | |
f82cf5c1 | 19 | |
51a16129 KB |
20 | clean: FRC |
21 | rm -f ${OBJS} core talk | |
f82cf5c1 | 22 | |
51a16129 KB |
23 | depend: FRC |
24 | mkdep ${CFLAGS} ${SRCS} | |
f82cf5c1 | 25 | |
51a16129 KB |
26 | install: FRC |
27 | install -s -o bin -g tty -m 2755 talk ${DESTDIR}/usr/ucb/talk | |
f82cf5c1 | 28 | |
51a16129 KB |
29 | lint: FRC |
30 | lint ${CFLAGS} ${SRCS} | |
f82cf5c1 | 31 | |
51a16129 KB |
32 | tags: FRC |
33 | ctags ${SRCS} | |
4fa2ac2d | 34 | |
51a16129 | 35 | FRC: |
4fa2ac2d | 36 | |
51a16129 KB |
37 | # DO NOT DELETE THIS LINE -- mkdep uses it. |
38 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
4fa2ac2d | 39 | |
51a16129 KB |
40 | talk.o: talk.c |
41 | talk.o:talk.h | |
42 | talk.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
43 | talk.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
44 | talk.o: /usr/include/sys/ttydev.h /usr/include/utmp.h | |
45 | get_names.o: get_names.c | |
46 | get_names.o:talk.h | |
47 | get_names.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
48 | get_names.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
49 | get_names.o: /usr/include/sys/ttydev.h /usr/include/utmp.h | |
50 | get_names.o: /usr/include/sys/param.h /usr/include/sys/types.h | |
51 | get_names.o: /usr/include/signal.h /usr/include/machine/machparam.h | |
52 | get_names.o: /usr/include/protocols/talkd.h /usr/include/sys/types.h | |
53 | get_names.o: /usr/include/sys/socket.h | |
54 | display.o: display.c | |
55 | display.o:talk.h | |
56 | display.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
57 | display.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
58 | display.o: /usr/include/sys/ttydev.h /usr/include/utmp.h | |
59 | io.o: io.c | |
60 | io.o:talk.h | |
61 | io.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
62 | io.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
63 | io.o: /usr/include/sys/ttydev.h /usr/include/utmp.h /usr/include/stdio.h | |
64 | io.o: /usr/include/errno.h /usr/include/sys/time.h /usr/include/time.h | |
65 | ctl.o: ctl.c | |
66 | ctl.o:talk_ctl.h | |
67 | ctl.o: /usr/include/sys/types.h /usr/include/protocols/talkd.h | |
68 | ctl.o: /usr/include/sys/types.h /usr/include/sys/socket.h | |
69 | ctl.o: /usr/include/netinet/in.h | |
70 | ctl.o:talk.h | |
71 | ctl.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
72 | ctl.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
73 | ctl.o: /usr/include/sys/ttydev.h /usr/include/utmp.h /usr/include/errno.h | |
74 | init_disp.o: init_disp.c | |
75 | init_disp.o:talk.h | |
76 | init_disp.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
77 | init_disp.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
78 | init_disp.o: /usr/include/sys/ttydev.h /usr/include/utmp.h | |
79 | init_disp.o: /usr/include/signal.h | |
80 | msgs.o: msgs.c /usr/include/signal.h /usr/include/stdio.h | |
81 | msgs.o: /usr/include/sys/time.h /usr/include/time.h | |
82 | msgs.o:talk.h | |
83 | msgs.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
84 | msgs.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
85 | msgs.o: /usr/include/sys/ttydev.h /usr/include/utmp.h | |
86 | get_addrs.o: get_addrs.c | |
87 | get_addrs.o:talk_ctl.h | |
88 | get_addrs.o: /usr/include/sys/types.h /usr/include/protocols/talkd.h | |
89 | get_addrs.o: /usr/include/sys/types.h /usr/include/sys/socket.h | |
90 | get_addrs.o: /usr/include/netinet/in.h | |
91 | get_addrs.o:talk.h | |
92 | get_addrs.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
93 | get_addrs.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
94 | get_addrs.o: /usr/include/sys/ttydev.h /usr/include/utmp.h /usr/include/errno.h | |
95 | get_addrs.o: /usr/include/netdb.h | |
96 | ctl_transact.o: ctl_transact.c | |
97 | ctl_transact.o:talk_ctl.h | |
98 | ctl_transact.o: /usr/include/sys/types.h /usr/include/protocols/talkd.h | |
99 | ctl_transact.o: /usr/include/sys/types.h /usr/include/sys/socket.h | |
100 | ctl_transact.o: /usr/include/netinet/in.h | |
101 | ctl_transact.o:talk.h | |
102 | ctl_transact.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
103 | ctl_transact.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
104 | ctl_transact.o: /usr/include/sys/ttydev.h /usr/include/utmp.h | |
105 | ctl_transact.o: /usr/include/errno.h /usr/include/sys/time.h | |
106 | ctl_transact.o: /usr/include/time.h | |
107 | invite.o: invite.c | |
108 | invite.o:talk_ctl.h | |
109 | invite.o: /usr/include/sys/types.h /usr/include/protocols/talkd.h | |
110 | invite.o: /usr/include/sys/types.h /usr/include/sys/socket.h | |
111 | invite.o: /usr/include/netinet/in.h | |
112 | invite.o:talk.h | |
113 | invite.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
114 | invite.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
115 | invite.o: /usr/include/sys/ttydev.h /usr/include/utmp.h /usr/include/errno.h | |
116 | invite.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/signal.h | |
117 | invite.o: /usr/include/setjmp.h | |
118 | look_up.o: look_up.c | |
119 | look_up.o:talk_ctl.h | |
120 | look_up.o: /usr/include/sys/types.h /usr/include/protocols/talkd.h | |
121 | look_up.o: /usr/include/sys/types.h /usr/include/sys/socket.h | |
122 | look_up.o: /usr/include/netinet/in.h | |
123 | look_up.o:talk.h | |
124 | look_up.o: /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h | |
125 | look_up.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h | |
126 | look_up.o: /usr/include/sys/ttydev.h /usr/include/utmp.h /usr/include/errno.h | |
f82cf5c1 | 127 | |
51a16129 | 128 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |