Annotation of researchv10no/cmd/upas/sgi/makefile, revision 1.1.1.1

1.1       root        1: # cetus is an SGI box.  Directories are in slightly unusual places.
                      2: # also for hydra and pyxis.
                      3: #
                      4: #      Needs SGI_CC=-cckr
                      5: 
                      6: LIB=/v/lib/upas
                      7: LOCKS=/usr/spool/locks
                      8: MAIL=/usr/mail
                      9: SMTPQ=/v/spool/smtpq
                     10: SYSALIAS=namefiles
                     11: USERALIAS=/lib/names
                     12: MBOXMODE=0600
                     13: 
                     14: 
                     15: LIBC=sgilibc.a
                     16: all: config.o ../common/sys.h
                     17:        rm -f ../config/config.o;
                     18:        ln config.o ../config/config.o
                     19:        rm -f ../libc/libc.a;
                     20:        (cd ../libc;    make $(LIBC);   ln $(LIBC) libc.a)
                     21:        (cd ../common;  SCFLAGS="-I/usr/include/bsd" make)
                     22:        (cd ../send;    SLFLAGS=-lbsd make)
                     23:        (cd ../print;   SCFLAGS="-I/usr/include/bsd" SLFLAGS= make)
                     24:        (cd ../ns;      make)
                     25:        (cd ../ipc;     SCFLAGS="-I/usr/include/bsd" ERR=mips_err.o \
                     26:                                make init tcp lib)
                     27:        (cd ../smtp;    SCFLAGS='-I/usr/include/bsd' SLFLAGS=-lbsd make)
                     28: 
                     29: config.c: makefile
                     30:        rm -f config.c
                     31:        echo 'char *UPASROOT = "$(LIB)/";' >> config.c
                     32:        echo 'char *MAILROOT = "$(MAIL)/";' >> config.c
                     33:        echo 'char *SMTPQROOT = "$(SMTPQ)/";' >> config.c
                     34:        echo 'char *SYSALIAS = "$(SYSALIAS)";' >> config.c
                     35:        echo 'char *USERALIAS = "$(USERALIAS)";' >> config.c
                     36:        echo 'int MBOXMODE = $(MBOXMODE);' >> config.c
                     37: 
                     38: ../common/sys.h:       sys.h
                     39:        cp sys.h ../common/sys.h
                     40:        touch ../common/mail.h
                     41: 
                     42: install:
                     43:        -mkdir $(LIB)
                     44:        -mkdir $(LOCKS)
                     45:        chmod 777 $(LOCKS)
                     46:        -mkdir $(MAIL)
                     47:        (cd ../send;    make install LIB=$(LIB))
                     48:        (cd ../ns;      make install LIB=$(LIB))
                     49:        (cd ../print;   make install LIB=$(LIB))
                     50:        (cd ../misc;    make install LIB=$(LIB))
                     51:        (cd ../smtp;    make install LIB=$(LIB))
                     52: 
                     53: ship:
                     54:        ship /bin/mail /bin/rmail /v/lib/upas/edmail /v/lib/upas/gone.fishing /v/lib/upas/gone.msg /v/lib/upas/send /v/lib/upas/smtp /v/lib/upas/smtpd /v/lib/upas/smtpsched /v/lib/upas/translate
                     55:        dest='blue1 blue2 blue3 blue4 fiber1 fiber2' ship /bin/mail /bin/rmail
                     56: 
                     57: clean:
                     58:        rm -f ../common/sys.h
                     59:        (cd ../libc;    make clean)
                     60:        (cd ../misc;    make clean)
                     61:        (cd ../common;  make clean)
                     62:        (cd ../send;    make clean)
                     63:        (cd ../ns;      make clean)
                     64:        (cd ../print;   make clean)
                     65:        (cd ../ipc;     make clean)
                     66:        (cd ../smtp;    make clean)
                     67:        rm -f config.o
                     68:        rm -f ../config/config.o

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.