1 5cdb1798 2005-10-29 devnull LIB=/usr/lib/upas
2 5cdb1798 2005-10-29 devnull CFLAGS=${UNIX} -g -I. -I../libc -I../common -I/usr/include -I/usr/include/sys
4 5cdb1798 2005-10-29 devnull HOSTNAME=cat /etc/whoami
6 5cdb1798 2005-10-29 devnull .c.o: ; $(CC) -c $(CFLAGS) $*.c
10 5cdb1798 2005-10-29 devnull echo 's+LIBDIR+$(LIB)+g' >sed.file
11 5cdb1798 2005-10-29 devnull echo 's+HOSTNAME+$(HOSTNAME)+g' >>sed.file
13 5cdb1798 2005-10-29 devnull install: sedfile install.fish install.mail.sh
15 5cdb1798 2005-10-29 devnull install.fish:
16 5cdb1798 2005-10-29 devnull cp gone.msg $(LIB)
17 5cdb1798 2005-10-29 devnull sed -f sed.file gone.fishing >$(LIB)/gone.fishing
18 5cdb1798 2005-10-29 devnull -chmod 775 $(LIB)/gone.fishing
19 5cdb1798 2005-10-29 devnull -chown bin $(LIB)/gone.fishing $(LIB)/gone.msg
21 5cdb1798 2005-10-29 devnull install.mail.sh:
22 5cdb1798 2005-10-29 devnull sed -f sed.file mail.sh >/bin/mail
23 5cdb1798 2005-10-29 devnull -chown bin /bin/mail
24 5cdb1798 2005-10-29 devnull -chmod 775 /bin/mail
26 5cdb1798 2005-10-29 devnull install.notify: notify
27 5cdb1798 2005-10-29 devnull cp notify $(LIB)/notify
28 5cdb1798 2005-10-29 devnull -chmod 775 $(LIB)/notify
29 5cdb1798 2005-10-29 devnull -chown bin $(LIB)/notify
31 5cdb1798 2005-10-29 devnull install.mail: mail
32 5cdb1798 2005-10-29 devnull cp mail /bin
33 5cdb1798 2005-10-29 devnull strip /bin/mail
35 5cdb1798 2005-10-29 devnull notify: notify.o
36 5cdb1798 2005-10-29 devnull cc $(LFLAGS) notify.o -o notify
38 5cdb1798 2005-10-29 devnull mail: mail.o ../config/config.o
39 5cdb1798 2005-10-29 devnull cc $(LFLAGS) mail.o ../config/config.o -o mail
42 5cdb1798 2005-10-29 devnull -rm -f *.[oOa] core a.out *.sL notify
43 5cdb1798 2005-10-29 devnull -rm -f sed.file mail