Annotation of 43BSD/contrib/mh/config/Makefile, revision 1.1.1.1

1.1       root        1: ##############################################################################
                      2: #    Instructions to Make, for compilation of MH modules
                      3: #
                      4: #      This file is automatically generated.  Do not edit!
                      5: ##############################################################################
                      6: 
                      7: OPTIONS        =       -DBSD42 -DBSD43 -DBERK -DTTYD -DDUMB -DMHE -DNETWORK -DBIND -DRPATHS -DATZ -DSBACKUP='"\043"' -DSENDMTS -DSMTP
                      8: LDOPTIONS=     
                      9: 
                     10: CC     =       cc
                     11: CFLAGS =       -O   $(OPTIONS)
                     12: LDFLAGS        =       $(LDOPTIONS)
                     13: LIBES  =
                     14: LINT   =       lint
                     15: LFLAGS =       -bhu $(OPTIONS)
                     16: LLIBS  =
                     17: 
                     18: 
                     19: ##############################################################################
                     20: #      Generate object file for MH configuration
                     21: ##############################################################################
                     22: 
                     23: CFILES =       config.c
                     24: OFILES =       config.o
                     25: 
                     26: all:           $(OFILES)
                     27: 
                     28: lint:;         $(LINT) $(LFLAGS) $(CFILES) $(LLIBS)
                     29: 
                     30: 
                     31: ##############################################################################
                     32: #      Miscellaneous tasks
                     33: ##############################################################################
                     34: 
                     35: distribution:   clean
                     36:                -rm -f config.c
                     37: 
                     38: clean:         unclean
                     39:                -rm -f *.o
                     40: 
                     41: unclean:;      -rm -f _* :* core eddep makedep
                     42: 
                     43: 
                     44: ##############################################################################
                     45: #      Dependencies
                     46: ##############################################################################
                     47: 
                     48: MODULES        =       $(CFILES)
                     49: 
                     50: depend:;       for m in $(MODULES); do ( \
                     51:                    i=`basename $$m .c`; \
                     52:                    echo $$i.o: $$i.c >> makedep; \
                     53:                    grep '^#[   ]*include' $$i.c | \
                     54:                        sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \
                     55:                            -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \
                     56:                            -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \
                     57:                        >> makedep \
                     58:                ); done
                     59:                echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
                     60:                echo '$$r makedep' >> eddep
                     61:                echo 'w' >> eddep
                     62:                cp Makefile _Makefile
                     63:                ed - Makefile < eddep
                     64:                rm eddep makedep
                     65:                echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                     66:                echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                     67: 
                     68: # DO NOT DELETE THIS LINE
                     69: # DEPENDENCIES START HERE
                     70: config.o: config.c
                     71: config.o: ../h/mh.h
                     72: #config.o: /usr/include/pwd.h
                     73: #config.o: /usr/include/stdio.h
                     74: # DEPENDENCIES MUST END AT END OF FILE
                     75: # IF YOU PUT STUFF HERE IT WILL GO AWAY

unix.superglobalmegacorp.com

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