Annotation of 3BSD/cmd/ucbmail/makefile.cory, revision 1.1

1.1     ! root        1: #
        !             2: # Cory Hall Unix 11/70.
        !             3: CFLAGS=-O -DCORY -I/usr/include/retrofit -Dsignal=Signal
        !             4: XSTR=/usr/new/xstr
        !             5: DESTDIR=/usr/src
        !             6: CTAGS=/usr/new/ctags
        !             7: ED=-ed
        !             8: AS=-as
        !             9: RM=-rm
        !            10: OBJS=aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o \
        !            11:        head.o c.local.o lex.o list.o main.o names.o optim.o \
        !            12:        quit.o send.o strings.o temp.o tty.o vars.o version.o \
        !            13:        Signal.o errlst.o str.o
        !            14: 
        !            15: SRCS=aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c \
        !            16:        head.c c.local.c lex.c list.c main.c names.c optim.c \
        !            17:        quit.c send.c strings.c temp.c tty.c vars.c version.c \
        !            18:        Signal.c errlst.c str.c
        !            19: 
        !            20: #
        !            21: # Special massaging of C files for sharing of strings
        !            22: #
        !            23: .c.o:
        !            24:        ${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
        !            25:        ${CC} -c ${CFLAGS} x.c 
        !            26:        mv x.o $*.o
        !            27: 
        !            28: all:   Mail fmt
        !            29: 
        !            30: install:       all
        !            31:        cp Mail $(DESTDIR)
        !            32:        cp fmt $(DESTDIR)
        !            33: 
        !            34: Mail:  $(OBJS) tags
        !            35:        $(CC) -n -o Mail $(OBJS) -lretro -lS
        !            36:        @size Mail
        !            37: 
        !            38: tags:
        !            39:        ${CTAGS} *.c;
        !            40: 
        !            41: clean:
        !            42:        $(RM) -f *.o
        !            43:        rm -f Mail a.out fmt x.c xs.c tags
        !            44:        cp /dev/null strings
        !            45:        cp /dev/null version.c
        !            46: 
        !            47: Signal.o:      Signal.c
        !            48:        $(CC) -c -O Signal.c
        !            49: 
        !            50: lint:
        !            51:        lint $(CFLAGS) $(SRCS)
        !            52: 
        !            53: fmt:   fmt.c head.c
        !            54:        $(CC) $(CFLAGS) fmt.c head.c -o fmt -lretro -lS
        !            55:        $(RM) fmt.o head.o
        !            56:        size fmt
        !            57: 
        !            58: str.o: strings
        !            59:        $(XSTR)
        !            60:        $(CC) -S xs.c
        !            61:        $(ED) - <:rofix xs.s
        !            62:        $(AS) -o str.o xs.s
        !            63:        $(RM) xs.s
        !            64: 
        !            65: cmdtab.o: cmdtab.c
        !            66:        $(CC) -S $(CFLAGS) cmdtab.c
        !            67:        $(ED) - <:rofix cmdtab.s
        !            68:        $(AS) - -o cmdtab.o cmdtab.s
        !            69:        $(RM) cmdtab.s
        !            70: 
        !            71: errlst.o: errlst.c
        !            72:        ${CC} -E ${CFLAGS} errlst.c | ${XSTR} -c -
        !            73:        ${CC} ${CFLAGS} -S x.c
        !            74:        ${ED} - <:rofix x.s
        !            75:        ${AS} -o errlst.o x.s
        !            76:        ${RM} x.s
        !            77: 
        !            78: #
        !            79: # Make the version file.  /tmp is always changing.
        !            80: #
        !            81: version.c:     /tmp
        !            82:        /bin/sh version > version.c
        !            83: 
        !            84: print:
        !            85:        @pr rcv.h def.h glob.h local.h c.local.h $(SRCS)
        !            86:        @pr fmt.c

unix.superglobalmegacorp.com

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