|
|
1.1 root 1: CFLAGS=${UNIX} -g -I. -I../libc -I../common -I/usr/include -I/usr/include/sys
2: LFLAGS=-g
3: HOSTNAME=cat /etc/whoami
4:
5: .c.o: ; $(CC) -c $(CFLAGS) $*.c
6: all: mail
7:
8: sedfile:
9: echo 's+LIBDIR+$(LIB)+g' >sed.file
10: echo 's+HOSTNAME+$(HOSTNAME)+g' >>sed.file
11:
12: install: sedfile install.fish install.mail.sh
13:
14: install.fish:
15: cp gone.msg $(LIB)
16: sed -f sed.file gone.fishing >$(LIB)/gone.fishing
17: -chmod 775 $(LIB)/gone.fishing
18: -chown bin $(LIB)/gone.fishing $(LIB)/gone.msg
19:
20: install.mail.sh:
21: sed -f sed.file mail.sh >/bin/mail
22: -chown bin /bin/mail
23: -chmod 775 /bin/mail
24:
25: install.notify: notify
26: cp notify $(LIB)/notify
27: -chmod 775 $(LIB)/notify
28: -chown bin $(LIB)/notify
29:
30: install.mail: mail
31: cp mail /bin
32: strip /bin/mail
33:
34: notify: notify.o
35: cc $(LFLAGS) notify.o -o notify
36:
37: mail: mail.o ../config/config.o
38: cc $(LFLAGS) mail.o ../config/config.o -o mail
39:
40: clean:
41: -rm -f *.[oOa] core a.out *.sL notify
42: -rm -f sed.file mail
43:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.