Annotation of 43BSD/contrib/mh/conf/makefiles/mts/sendmail, revision 1.1.1.1

1.1       root        1: ##############################################################################
                      2: #    Instructions to Make, for compilation of SendMail/SMTP-MTS library
                      3: #
                      4: #      @(MHWARNING)
                      5: ##############################################################################
                      6: 
                      7: # The following entries were inserted during MH configuration
                      8: OPTIONS        =       @(MHOPTIONS) -I..
                      9: 
                     10: CC     =       cc
                     11: @BEGIN: OPTIM
                     12: CFLAGS =       -O    $(OPTIONS)
                     13: @END: OPTIM
                     14: @BEGIN: DEBUG
                     15: CFLAGS =             $(OPTIONS)
                     16: @END: DEBUG
                     17: LFLAGS =       -bhu $(OPTIONS)
                     18: 
                     19: LIB    =       sendmts.a
                     20: 
                     21: CFILES =       hosts.c smail.c
                     22: OFILES =       hosts.o smail.o
                     23: 
                     24: 
                     25: @BEGIN: OPTIM
                     26: ##############################################################################
                     27: #      Generation Rules
                     28: ##############################################################################
                     29: 
                     30: .c.o:;         $(CC) $(CFLAGS) -c $*.c
                     31: @BEGIN: NEWLOAD
                     32:                -ld -x -r $@
                     33:                mv a.out $@
                     34: @END: NEWLOAD
                     35: @BEGIN: OLDLOAD
                     36:                cc -s -o $@
                     37: @END: OLDLOAD
                     38: 
                     39: 
                     40: @END: OPTIM
                     41: ##############################################################################
                     42: #      Here it is...
                     43: ##############################################################################
                     44: 
                     45: all:           $(LIB)
                     46: depend:;
                     47: lint:          l-sendmts
                     48: 
                     49: $(LIB):                $(OFILES)
                     50:                -mv $@ z$@
                     51: @BEGIN: RANLIB
                     52:                ar r $@ $(OFILES); ranlib $@
                     53: @END: RANLIB
                     54: @BEGIN: LORDER
                     55:                ar r $@ `lorder $(OFILES) | tsort`
                     56: @END: LORDER
                     57:                -rm -f ../libmts.a
                     58:                ln $@ ../libmts.a
                     59:                -rm -f ../llib-lmts
                     60:                ln llib-lsendmail ../llib-lmts
                     61:                -@ls -l $@
                     62:                -@echo "SendMail/SMTP-MTS library built normally"
                     63: 
                     64: l-sendmts:;    lint $(LFLAGS) $(CFILES) $(LLIBS)
                     65: 
                     66: hosts.o:       Makefile
                     67: smail.o:       Makefile smail.h
                     68: 
                     69: 
                     70: ##############################################################################
                     71: #      Miscellaneous tasks
                     72: ##############################################################################
                     73: 
                     74: distribution:   clean
                     75:                -rm -f bboardsMH.m4 popMH.m4
                     76: 
                     77: clean:         unclean
                     78:                -rm -f *.o $(LIB) z$(LIB) ../libmts.a ../llib-lmts
                     79: 
                     80: unclean:;      -rm -f _* :* core

unix.superglobalmegacorp.com

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