Annotation of 41BSD/cmd/delivermail/makefile, revision 1.1

1.1     ! root        1: #
        !             2: #  VAX Version
        !             3: #
        !             4: #      @(#)makefile    1.10    10/28/80
        !             5: #
        !             6: #      Compilation Flags (in CFLAGS):
        !             7: #              -DDEBUG -- compile in debug stuff.  This is not enabled
        !             8: #                      unless the debug flag is given, so the only
        !             9: #                      advantage in not including this is that the
        !            10: #                      binaries will be smaller.
        !            11: #              -DLOG -- include log information.  This is probably
        !            12: #                      only useful on systems that include the logger.
        !            13: #              -DVFORK -- use 'vfork' instead of 'fork'.
        !            14: #              -DDBM -- use the dbm package instead of scanning the
        !            15: #                      ALIASFILE sequentially.  LIBS must include
        !            16: #                      -ldbm for this to work.
        !            17: #
        !            18: 
        !            19: LIBS=  -ldbm
        !            20: TARG=  $(DESTDIR)/etc
        !            21: 
        !            22: OBJS1= conf.o main.o maketemp.o parse.o alias.o deliver.o \
        !            23:        savemail.o addr.o err.o
        !            24: OBJS2= matchhdr.o sysexits.o util.o bmove.o
        !            25: SRCS=  useful.h dlvrmail.h \
        !            26:        conf.c deliver.c main.c parse.c err.c alias.c savemail.c addr.c \
        !            27:        matchhdr.c sysexits.c util.c bmove.c bmove.11.s bmove.vax.s \
        !            28:        arpa.c arpadate.c version.c maketemp.c \
        !            29:        newaliases.c
        !            30: ALL=   delivermail newaliases
        !            31: 
        !            32: CHOWN= -echo chown
        !            33: CHMOD= chmod
        !            34: CFLAGS=        -O -DDBM -DVFORK -DDEBUG
        !            35: LDFLAGS=
        !            36: AR=    -ar
        !            37: ARFLAGS=rvu
        !            38: LINT=  lint
        !            39: LINTFLAGS=-bxa
        !            40: XREF=  csh /usr/bin/xref
        !            41: CP=    cp
        !            42: 
        !            43: GET=   sccs get
        !            44: DELTA= sccs delta
        !            45: REL=
        !            46: 
        !            47: ROOT=  root
        !            48: OBJMODE=755
        !            49: 
        !            50: all: $(ALL)
        !            51: 
        !            52: delivermail: $(OBJS1) $(OBJS2) version.o
        !            53:        $(CC) $(LDFLAGS) -o delivermail version.o $(OBJS1) $(OBJS2) $(LIBS)
        !            54:        $(CHMOD) $(OBJMODE) delivermail
        !            55:        size delivermail; ls -l delivermail
        !            56: 
        !            57: install: $(OBJS1) $(OBJS2) all
        !            58:        $(CP) delivermail $(TARG)/delivermail
        !            59:        install -s newaliases $(DESTDIR)/usr/ucb
        !            60: 
        !            61: 
        !            62: $(OBJS1): dlvrmail.h
        !            63: 
        !            64: dlvrmail.h util.o: useful.h
        !            65: 
        !            66: #
        !            67: #  Auxiliary stuff
        !            68: #
        !            69: 
        !            70: clean:
        !            71:        rm -f core delivermail arpa uucp a.out xref newaliases
        !            72:        rm -f *.o
        !            73: 
        !            74: archive:
        !            75:        ${AR} ${ARFLAGS} delivermail.a READ_ME TO_BE_DONE makefile makefl.* *.h *.c *.s makeversion *.[123456789u]
        !            76: 
        !            77: print: xref
        !            78:        @ls -l | pr -h "delivermail directory"
        !            79:        @pr -h "cross reference listing" xref
        !            80:        @size *.o | pr -h "object code sizes"
        !            81:        @pr *.h *.[cs]
        !            82: 
        !            83: lint:
        !            84:        $(LINT) $(LINTFLAGS) $(SRCS)
        !            85: 
        !            86: xref: *.c
        !            87:        ${XREF} *.c > xref
        !            88: 
        !            89: #
        !            90: #  Data base maintenance routines
        !            91: #
        !            92: AOBJS= newaliases.o parse.o conf.o util.o
        !            93: 
        !            94: newaliases: $(AOBJS)
        !            95:        $(CC) $(LDFLAGS) $(AOBJS) -o newaliases $(LIBS)
        !            96: 
        !            97: praliases: praliases.c
        !            98:        $(CC) $(CFLAGS) praliases.c -o praliases $(LIBS)
        !            99: 
        !           100: $(AOBJS): dlvrmail.h
        !           101: 
        !           102: #
        !           103: #  Auxiliary mailers
        !           104: #
        !           105: 
        !           106: arpa: arpa.o matchhdr.o arpadate.o
        !           107:        $(CC) $(LDFLAGS) -o arpa arpa.o matchhdr.o arpadate.o $(LIBS)
        !           108:        ${CHMOD} ${OBJMODE} arpa
        !           109:        size arpa; ls -l arpa
        !           110: 
        !           111: uucp: uucp.o
        !           112:        ${CC} ${LDFLAGS} -o uucp uucp.o ${LIBS}
        !           113:        ${CHMOD} ${OBJMODE} uucp
        !           114:        size uucp; ls -l uucp
        !           115: 
        !           116: mail:  mail.o getname.o
        !           117:        $(CC) $(LDFLAGS) -o mail mail.o getname.o
        !           118:        size mail; ls -l mail

unix.superglobalmegacorp.com

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