Annotation of researchv10no/cmd/upas/mips/graceland.mk, revision 1.1.1.1

1.1       root        1: From graceland.ih.att.com!hastings Wed Nov  4 13:48:34 CST 1992
                      2: Received: by research.att.com; Wed Nov  4 14:48 EST 1992
                      3: Date: Wed, 4 Nov 92 13:48:34 CST
                      4: From: [email protected] (Alan Hastings)
                      5: To: ches
                      6: Subject: sgi upas makefile
                      7: Content-Length: 1816
                      8: 
                      9: Bill -
                     10:        I had to make some changes to the upas sgi/makefile to get it to
                     11:        work with NIS here (basically so SLFLAGS can be set on the command
                     12:        line):
                     13: 
                     14: # cetus is an SGI box.  Directories are in slightly unusual places.
                     15: # also for hydra and pyxis.
                     16: #
                     17: #      Needs SGI_CC=-cckr
                     18: 
                     19: LIB=/v/lib/upas
                     20: MAIL=/usr/mail
                     21: SMTPQ=/v/spool/smtpq
                     22: SYSALIAS=namefiles
                     23: USERALIAS=/lib/names
                     24: MBOXMODE=0600
                     25: SLFLAGS=-lbsd
                     26: 
                     27: 
                     28: LIBC=sgilibc.a
                     29: all: config.o ../common/sys.h
                     30:        rm -f ../config/config.o;
                     31:        ln config.o ../config/config.o
                     32:        rm -f ../libc/libc.a;
                     33:        (cd ../libc;    make $(LIBC);   ln $(LIBC) libc.a)
                     34:        (cd ../common;  SCFLAGS="-I/usr/include/bsd" make)
                     35:        (cd ../send;    SLFLAGS="$(SLFLAGS)" make)
                     36:        (cd ../print;   SCFLAGS="-I/usr/include/bsd" SLFLAGS= make)
                     37:        (cd ../ns;      make)
                     38:        (cd ../ipc;     SCFLAGS="-I/usr/include/bsd" ERR=mips_err.o \
                     39:                                make init tcp lib)
                     40:        (cd ../smtp;    SCFLAGS='-I/usr/include/bsd' SLFLAGS="$(SLFLAGS)" make)
                     41: 
                     42: config.c: makefile
                     43:        rm -f config.c
                     44:        echo 'char *UPASROOT = "$(LIB)/";' >> config.c
                     45:        echo 'char *MAILROOT = "$(MAIL)/";' >> config.c
                     46:        echo 'char *SMTPQROOT = "$(SMTPQ)/";' >> config.c
                     47:        echo 'char *SYSALIAS = "$(SYSALIAS)";' >> config.c
                     48:        echo 'char *USERALIAS = "$(USERALIAS)";' >> config.c
                     49:        echo 'int MBOXMODE = $(MBOXMODE);' >> config.c
                     50: 
                     51: ../common/sys.h:       sys.h
                     52:        cp sys.h ../common/sys.h
                     53:        touch ../common/mail.h
                     54: 
                     55: install:
                     56:        -mkdir $(LIB)
                     57:        -mkdir $(MAIL)
                     58:        (cd ../send;    make install LIB=$(LIB))
                     59:        (cd ../ns;      make install LIB=$(LIB))
                     60:        (cd ../print;   make install LIB=$(LIB))
                     61:        (cd ../misc;    make install LIB=$(LIB))
                     62:        (cd ../smtp;    make install LIB=$(LIB))
                     63: 
                     64: clean:
                     65:        rm -f ../common/sys.h
                     66:        (cd ../libc;    make clean)
                     67:        (cd ../misc;    make clean)
                     68:        (cd ../common;  make clean)
                     69:        (cd ../send;    make clean)
                     70:        (cd ../ns;      make clean)
                     71:        (cd ../print;   make clean)
                     72:        (cd ../ipc;     make clean)
                     73:        (cd ../smtp;    make clean)
                     74:        rm -f config.o
                     75:        rm -f ../config/config.o
                     76: 

unix.superglobalmegacorp.com

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