|
|
1.1 root 1: #
2: # Copyright (c) 1983 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 5.1 (Berkeley) 6/6/85
7: #
8: DESTDIR=
9: DOBJECT=talkd.o announce.o process.o table.o print.o
10: TOBJECT=talk.o get_names.o display.o io.o ctl.o init_disp.o \
11: msgs.o get_addrs.o ctl_transact.o invite.o look_up.o
12: DSOURCE=talkd.c announce.c process.c table.c print.c
13: TSOURCE=talk.c get_names.c display.c io.c ctl.c init_disp.c \
14: msgs.c get_addrs.c ctl_transact.c invite.c look_up.c
15: INCLUDE=talk.h ctl.h talk_ctl.h
16: SOURCE= ${DSOURCE} ${TSOURCE}
17: CFLAGS= -O
18:
19: all: talk talkd
20:
21: talkd: ${DOBJECT}
22: cc ${CFLAGS} -o talkd ${DOBJECT}
23:
24: talk: ${TOBJECT}
25: cc -o talk ${TOBJECT} -lcurses -ltermlib
26:
27: ${DOBJECT}: ctl.h
28: ${TOBJECT}: talk.h ctl.h talk_ctl.h
29:
30: install: talk talkd
31: install -g tty -m 2755 -s talk ${DESTDIR}/usr/old/talk
32: install -s talkd ${DESTDIR}/etc/talkd
33:
34: lint:
35: lint ${DSOURCE}
36:
37: clean:
38: rm -f *.o talk talkd
39:
40: tags: ${SOURCE} ${INCLUDE}
41: ctags ${SOURCE} ${INCLUDE}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.