Annotation of 42BSD/ucb/Mail/Makefile.11, revision 1.1

1.1     ! root        1: #
        !             2: # Unix version 7.
        !             3: #
        !             4: # Sccs Id = "@(#)Makefile.11   1.3 10/27/82";
        !             5: #
        !             6: # If you are compiling this for a nonseparate I/D machine,
        !             7: # you must:
        !             8: #      change the definitions of LDFLAGS, CFLAGS, LIBES,
        !             9: #      SIGRETROSRC, and SIGRETROOBJ
        !            10: #      make Mail40 rather than Mail
        !            11: #
        !            12: # Mail is too large to fit on a nonseparate I/D machine without
        !            13: # text overlays.
        !            14: #
        !            15: # If you do not have a vfork system call or do not support
        !            16: # job control, you must change the definition of OPTIONS.
        !            17: #
        !            18: 
        !            19: OPTIONS=       -DV7 -DVMUNIX                   # vfork and job control
        !            20: #OPTIONS=      -DV7                            # no vfork or no job control
        !            21: 
        !            22: LDFLAGS=       -i                              # for separate I/D machines
        !            23: #LDFLAGS=      -n                              # for nonseparate I/D machines
        !            24: 
        !            25: CFLAGS=                -O ${OPTIONS} ${INCLUDES}       # for separate I/D machines
        !            26: #CFLAGS=       -O -V ${OPTIONS} ${INCLUDES}    # for nonseparate I/D machines
        !            27: 
        !            28: LIBES=         -ljobs -lc                      # for separate I/D machines
        !            29: #LIBES=                -lovjobs -lovc                  # for nonseparate I/D machines
        !            30: 
        !            31: SIGRETROSRC=                                   # for those with job control
        !            32: SIGRETROOBJ=                                   # for those with job control
        !            33: #SIGRETROSRC=  sigretro.c                      # for those without job control
        !            34: #SIGRETROOBJ=  sigretro.o                      # for those without job control
        !            35: 
        !            36: XSTR=          /usr/ucb/xstr
        !            37: DESTDIR=       /
        !            38: CTAGS=         /usr/ucb/ctags -w
        !            39: ED=            -ed
        !            40: AS=            -as
        !            41: RM=            -rm
        !            42: OBJS=aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o config.o edit.o fio.o \
        !            43:        getname.o head.o v7.local.o lock.o lex.o list.o main.o \
        !            44:        names.o optim.o popen.o quit.o send.o strings.o temp.o tty.o \
        !            45:        vars.o version.o errlst.o str.o ${SIGRETROOBJ}
        !            46: 
        !            47: SRCS=aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c config.c edit.c fio.c \
        !            48:        getname.c head.c v7.local.c lock.c lex.c list.c main.c \
        !            49:        names.c optim.c popen.c quit.c send.c strings.c temp.c tty.c vars.c \
        !            50:        errlst.c version.c ${SIGRETROSRC}
        !            51: 
        !            52: HDRS=rcv.h configdefs.h def.h glob.h v7.local.h local.h
        !            53: 
        !            54: S = $(SRCS) $(HDRS)
        !            55: 
        !            56: #
        !            57: # Special massaging of C files for sharing of strings
        !            58: #
        !            59: .c.o:
        !            60:        ${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
        !            61:        ${CC} -c ${CFLAGS} x.c 
        !            62:        mv x.o $*.o
        !            63:        @$(RM) -f x.c
        !            64: 
        !            65: Mail:  $S $(OBJS)
        !            66:        $(RM) -f Mail
        !            67:        @echo Loading ...
        !            68:        @${CC} ${LDFLAGS} -o Mail ${OBJS} ${LIBES}
        !            69:        @size Mail
        !            70: 
        !            71: Mail40:        $S $(OBJS)
        !            72:        $(RM) -f Mail
        !            73:        @echo Loading ...
        !            74:        @ld -X /lib/crt0.o ${LDFLAGS} -o Mail \
        !            75:        -Z      getname.o names.o optim.o popen.o send.o strings.o temp.o \
        !            76:                v7.local.o vars.o \
        !            77:        -Z      edit.o head.o lex.o list.o lock.o main.o quit.o tty.o \
        !            78:        -Z      cmd1.o cmd2.o cmd3.o collect.o ${SIGRETROOBJ} \
        !            79:        -L      aux.o cmdtab.o config.o errlst.o fio.o \
        !            80:                str.o version.o ${LIBES}
        !            81:        @size Mail
        !            82: 
        !            83: install:
        !            84:        install -s Mail ${DESTDIR}/usr/ucb
        !            85:        cp misc/Mail.help* ${DESTDIR}/usr/lib
        !            86:        cd ${DESTDIR}/usr/ucb; rm -f mail; ln Mail mail
        !            87: 
        !            88: $S:
        !            89:        sccs get $@;
        !            90: 
        !            91: srcs:  $S
        !            92: 
        !            93: tags:  $(SRCS)
        !            94:        ${CTAGS} $(SRCS);
        !            95: 
        !            96: clean:
        !            97:        $(RM) -f *.o
        !            98:        rm -f Mail a.out fmt x.c xs.c core
        !            99:        cp /dev/null strings
        !           100: 
        !           101: lint:
        !           102:        lint $(CFLAGS) $(SRCS)
        !           103: 
        !           104: fmt:   fmt.c head.c
        !           105:        $(CC) fmt.c head.c -O -o fmt
        !           106:        $(RM) fmt.o head.o
        !           107:        size fmt
        !           108: 
        !           109: str.o: strings
        !           110:        $(XSTR)
        !           111:        $(CC) -c $(CFLAGS) xs.c
        !           112:        mv xs.o str.o
        !           113:        $(RM) xs.c
        !           114: 
        !           115: config.o:      config.c
        !           116:        $(CC) -c $(CFLAGS) config.c
        !           117: 
        !           118: cmdtab.o: cmdtab.c
        !           119:        $(CC) -c $(CFLAGS) cmdtab.c
        !           120: 
        !           121: errlst.o: errlst.c
        !           122:        ${CC} -E ${CFLAGS} errlst.c | ${XSTR} -c -
        !           123:        ${CC} ${CFLAGS} -c x.c
        !           124:        mv x.o errlst.o
        !           125: 
        !           126: wc:
        !           127:        @wc rcv.h def.h glob.h local.h v7.local.h $(SRCS)
        !           128: 
        !           129: sc:
        !           130:        @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.