Annotation of 43BSDReno/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: @BEGIN: RANLIB
                     51:                ar r $@ $(OFILES); ranlib $@
                     52: @END: RANLIB
                     53: @BEGIN: LORDER
                     54:                ar r $@ `lorder $(OFILES) | tsort`
                     55: @END: LORDER
                     56:                -rm -f ../libmts.a
                     57:                ln $@ ../libmts.a
                     58:                -rm -f ../llib-lmts
                     59:                ln llib-lsendmail ../llib-lmts
                     60:                -@ls -l $@
                     61:                -@echo "SendMail/SMTP-MTS library built normally"
                     62: 
                     63: l-sendmts:;    lint $(LFLAGS) $(CFILES) $(LLIBS)
                     64: 
                     65: hosts.o:       Makefile
                     66: smail.o:       Makefile smail.h
                     67: 
                     68: 
                     69: ##############################################################################
                     70: #      Miscellaneous tasks
                     71: ##############################################################################
                     72: 
                     73: distribution:   clean
                     74:                -rm -f bboardsMH.m4 popMH.m4
                     75: 
                     76: clean:         unclean
                     77:                rm -f *.o $(LIB) ../libmts.a ../llib-lmts
                     78: 
                     79: 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.