Annotation of 43BSD/usr.lib/sendmail/src/Makefile.ns, revision 1.1.1.1

1.1       root        1: #
                      2: #  Sendmail
                      3: #  Copyright (c) 1983  Eric P. Allman
                      4: #  Berkeley, California
                      5: #
                      6: #  Copyright (c) 1983 Regents of the University of California.
                      7: #  All rights reserved.  The Berkeley software License Agreement
                      8: #  specifies the terms and conditions for redistribution.
                      9: #
                     10: #      @(#)Makefile.m4 5.9 (Berkeley) 10/24/85
                     11: #
                     12: #
                     13: #  SENDMAIL Makefile.
                     14: #
                     15: #
                     16: 
                     17: LIBS=  -ldbm -lresolve
                     18: DESTDIR=
                     19: 
                     20: OBJS1= conf.o main.o collect.o parseaddr.o alias.o deliver.o \
                     21:        savemail.o err.o readcf.o stab.o headers.o recipient.o \
                     22:        stats.o daemon.o usersmtp.o srvrsmtp.o queue.o \
                     23:        macro.o util.o clock.o trace.o envelope.o
                     24: OBJS2= sysexits.o arpadate.o convtime.o
                     25: OBJS=  $(OBJS1) $(OBJS2)
                     26: SRCS1= conf.h sendmail.h \
                     27:        conf.c deliver.c main.c parseaddr.c err.c alias.c savemail.c \
                     28:        sysexits.c util.c arpadate.c version.c collect.c \
                     29:        macro.c headers.c readcf.c stab.c recipient.c stats.c daemon.c \
                     30:        usersmtp.c srvrsmtp.c queue.c clock.c trace.c envelope.c
                     31: SRCS2= TODO convtime.c
                     32: SRCS=  Version.c $(SRCS1) $(SRCS2)
                     33: ALL=   sendmail
                     34: 
                     35: CHOWN= -echo chown
                     36: CHMOD= chmod
                     37: O=     -O
                     38: COPTS=
                     39: CCONFIG=-I../include -DVMUNIX
                     40: CFLAGS=        $O $(COPTS) $(CCONFIG)
                     41: ASMSED=        ../include/asm.sed
                     42: AR=    -ar
                     43: ARFLAGS=rvu
                     44: LINT=  lint
                     45: XREF=  ctags -x
                     46: CP=    cp
                     47: MV=    mv
                     48: INSTALL=install -c -s -o root
                     49: M4=    m4
                     50: TOUCH= touch
                     51: ABORT= false
                     52: 
                     53: GET=   sccs get
                     54: DELTA= sccs delta
                     55: WHAT=  what
                     56: PRT=   sccs prt
                     57: REL=
                     58: 
                     59: ROOT=  root
                     60: OBJMODE=755
                     61: 
                     62: .c.o:
                     63:        cc -S ${CFLAGS} $*.c
                     64:        sed -f $(ASMSED) $*.s | as -o $*.o
                     65:        rm -f $*.s
                     66: 
                     67: sendmail: $(OBJS1) $(OBJS2) Version.o
                     68:        $(CC) $(COPTS) -o sendmail Version.o $(OBJS1) $(OBJS2) $(LIBS)
                     69:        $(CHMOD) $(OBJMODE) sendmail
                     70:        size sendmail; ls -l sendmail; 
                     71: 
                     72: install: all
                     73:        $(INSTALL) -m 4755 sendmail $(DESTDIR)/usr/lib
                     74:        chgrp kmem $(DESTDIR)/usr/lib/sendmail
                     75:        $(CP) /dev/null $(DESTDIR)/usr/lib/sendmail.fc
                     76: 
                     77: version: newversion $(OBJS) Version.c
                     78: 
                     79: newversion:
                     80:        @rm -f SCCS/p.version.c version.c
                     81:        @$(GET) $(REL) -e SCCS/s.version.c
                     82:        @$(DELTA) -s SCCS/s.version.c
                     83:        @$(GET) -t -s SCCS/s.version.c
                     84: 
                     85: fullversion: $(OBJS) dumpVersion Version.o
                     86: 
                     87: dumpVersion:
                     88:        rm -f Version.c
                     89: 
                     90: 
                     91: $(OBJS1): sendmail.h
                     92: $(OBJS): conf.h
                     93: 
                     94: sendmail.h util.o: ../include/useful.h
                     95: 
                     96: all: $(ALL)
                     97: 
                     98: #
                     99: #  Auxiliary support entries
                    100: #
                    101: 
                    102: clean:
                    103:        rm -f core sendmail rmail usersmtp uucp a.out XREF sendmail.cf
                    104:        rm -f *.o
                    105: 
                    106: sources: $(SRCS)
                    107: 
                    108: 
                    109: print: $(SRCS)
                    110:        @ls -l | pr -h "sendmail directory"
                    111:        @$(XREF) *.c | pr -h "cross reference listing"
                    112:        @size *.o | pr -h "object code sizes"
                    113:        @pr Makefile *.m4 *.h *.[cs]
                    114: 
                    115: lint:
                    116:        $(LINT) $(CCONFIG) $(SRCS1)

unix.superglobalmegacorp.com

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