Annotation of 40BSD/cmd/ucbmail/makefile.v7, revision 1.1

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

unix.superglobalmegacorp.com

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