Annotation of 43BSDReno/contrib/mh/support/bboards/Makefile, revision 1.1.1.1

1.1       root        1: ##############################################################################
                      2: #    Instructions to Make, for BBoards support processes
                      3: #
                      4: #      This file is automatically generated.  Do not edit!
                      5: ##############################################################################
                      6: 
                      7: # The following entries were inserted during MH configuration
                      8: BINDIR =       $(DESTDIR)/usr/contrib/mh/bin
                      9: ETCDIR =       $(DESTDIR)/usr/contrib/mh/lib
                     10: OPTIONS        =       -DBSD42 -DBSD43 -DBSD44 -DBERK -DTTYD -DDUMB -DMHE -DNETWORK -DBIND -DRPATHS -DATZ -DSBACKUP='".\043"' -DDBM -DSENDMTS -DSMTP -I..
                     11: LDOPTIONS=     
                     12: LDOPTLIB=      
                     13: BBDIR  =       /usr/spool/bboards
                     14: BBETC  =       $(BBDIR)/etc
                     15: CHOWN  =       /usr/sbin/chown
                     16: REMOVE =       mv -f
                     17: BBUID  =       bboards
                     18: 
                     19: CC     =       /usr/bin/cc
                     20: CFLAGS  =      -O  $(OPTIONS)
                     21: LDFLAGS        =       $(LDOPTIONS)
                     22: LIBES1 =       ../../zotnet/libzot.a
                     23: LIBES2 =       ../../config/config.o ../../sbr/libmh.a $(LIBES1)
                     24: LDLIBS1        =       $(LIBES1) $(LDOPTLIB)
                     25: LDLIBS2        =       $(LIBES2) $(LDOPTLIB)
                     26: 
                     27: LINT   =       lint
                     28: LFLAGS =       -bhu $(OPTIONS)
                     29: LLIBS1 =       ../../zotnet/llib-lzotnet
                     30: LLIBS2 =       ../../sbr/llib-lmh $(LLIBS1)
                     31: 
                     32: 
                     33: ######################################################################
                     34: #      Here it is...
                     35: ######################################################################
                     36: 
                     37: all:           $(ALL)
                     38: 
                     39: lint:          l-bbaka l-bbexp l-bbtar
                     40: 
                     41: install:       inst-all clean
                     42: 
                     43: inst-all:      $(INST-ALL)
                     44: 
                     45: tar:           $(ALL)
                     46: 
                     47: uninstall:;
                     48: 
                     49: 
                     50: ######################################################################
                     51: #      Generate BBoards Support files and processes
                     52: ######################################################################
                     53: 
                     54: inst-bboards:  $(BBDIR)/BBoards
                     55: 
                     56: $(BBDIR)/BBoards: BBoards
                     57:                -$(REMOVE) $@ zBBoards
                     58:                cp BBoards $@
                     59:                -$(CHOWN) $(BBUID) $@
                     60:                -@ls -l $@
                     61:                -@echo ""
                     62: 
                     63: 
                     64: ######################################################################
                     65: # bbaka
                     66: ######################################################################
                     67: 
                     68: inst-bbaka:    $(BBETC)/bbaka
                     69: 
                     70: $(BBETC)/bbaka: xbbaka
                     71:                -$(REMOVE) $@ zbbaka
                     72:                cp xbbaka $@
                     73:                -$(CHOWN) $(BBUID) $@
                     74:                -@ls -l $@
                     75:                -@echo ""
                     76: 
                     77: bbaka:         xbbaka
                     78: 
                     79: xbbaka:                bbaka.o $(LIBES1)
                     80:                $(CC) $(LDFLAGS) -o $@ bbaka.o $(LDLIBS1)
                     81: 
                     82: l-bbaka:;      $(LINT) $(LFLAGS) bbaka.c $(LLIBS1)
                     83: 
                     84: 
                     85: ######################################################################
                     86: # bbexp
                     87: ######################################################################
                     88: 
                     89: inst-bbexp:    $(BBETC)/bbexp
                     90: 
                     91: $(BBETC)/bbexp: xbbexp
                     92:                -$(REMOVE) $@ zbbexp
                     93:                cp xbbexp $@
                     94:                -$(CHOWN) $(BBUID) $@
                     95:                -@ls -l $@
                     96:                -@echo ""
                     97: 
                     98: bbexp:         xbbexp
                     99: 
                    100: xbbexp:                bbexp.o ../../uip/dropsbr.o $(LIBES2)
                    101:                $(CC) $(LDFLAGS) -o $@ bbexp.o ../../uip/dropsbr.o $(LDLIBS2)
                    102: 
                    103: l-bbexp:;      $(LINT) $(LFLAGS) bbexp.c ../../uip/dropsbr.c $(LLIBS2)
                    104: 
                    105: 
                    106: ######################################################################
                    107: # bbtar
                    108: ######################################################################
                    109: 
                    110: inst-bbtar:    $(BBETC)/bbtar
                    111: 
                    112: $(BBETC)/bbtar: xbbtar
                    113:                -$(REMOVE) $@ zbbtar
                    114:                cp xbbtar $@
                    115:                -$(CHOWN) $(BBUID) $@
                    116:                -@ls -l $@
                    117:                -@echo ""
                    118: 
                    119: bbtar:         xbbtar
                    120: 
                    121: xbbtar:                bbtar.o $(LIBES1)
                    122:                $(CC) $(LDFLAGS) -o $@ bbtar.o $(LDLIBS1)
                    123: 
                    124: l-bbtar:;      $(LINT) $(LFLAGS) bbtar.c $(LLIBS1)
                    125: 
                    126: 
                    127: ######################################################################
                    128: # bboards.daily
                    129: ######################################################################
                    130: 
                    131: inst-daily:    $(BBETC)/bboards.daily
                    132: 
                    133: $(BBETC)/bboards.daily: bboards.daily
                    134:                -$(REMOVE) $@ zbboards.daily
                    135:                cp bboards.daily $@
                    136:                -$(CHOWN) $(BBUID) $@
                    137:                -@chmod +x $@
                    138:                -@ls -l $@
                    139:                -@echo ""
                    140: 
                    141: 
                    142: ######################################################################
                    143: # bboards.weekly
                    144: ######################################################################
                    145: 
                    146: inst-weekly:   $(BBETC)/bboards.weekly
                    147: 
                    148: $(BBETC)/bboards.weekly: bboards.weekly
                    149:                -$(REMOVE) $@ zbboards.weekly
                    150:                cp bboards.weekly $@
                    151:                -$(CHOWN) $(BBUID) $@
                    152:                -@chmod +x $@
                    153:                -@ls -l $@
                    154:                -@echo ""
                    155: 
                    156: 
                    157: ######################################################################
                    158: # MakeBBoards
                    159: ######################################################################
                    160: 
                    161: inst-makebboards:      $(BBETC)/Makefile
                    162: 
                    163: $(BBETC)/Makefile: MakeBBoards
                    164:                -$(REMOVE) $@ zMakeBBoards
                    165:                cp MakeBBoards $@
                    166:                -$(CHOWN) $(BBUID) $@
                    167:                -@ls -l $@
                    168:                -@echo ""
                    169: 
                    170: 
                    171: ######################################################################
                    172: # .cshrc
                    173: ######################################################################
                    174: 
                    175: inst-cshell:   $(BBDIR)/.cshrc
                    176: 
                    177: $(BBDIR)/.cshrc: cshrc
                    178:                -$(REMOVE) $@ z.cshrc
                    179:                cp cshrc $@
                    180:                -$(CHOWN) $(BBUID) $@
                    181:                -@ls -l $@
                    182:                -@echo ""
                    183: 
                    184: 
                    185: ######################################################################
                    186: # .mh_profile
                    187: ######################################################################
                    188: 
                    189: inst-profile:  $(BBDIR)/.mh_profile
                    190: 
                    191: $(BBDIR)/.mh_profile: mh_profile
                    192:                -$(REMOVE) $@ z.mh_profile
                    193:                cp mh_profile $@
                    194:                -$(CHOWN) $(BBUID) $@
                    195:                -@ls -l $@
                    196:                -@touch $(BBETC)/context
                    197:                -$(CHOWN) $(BBUID) $(BBETC)/context
                    198:                -@echo ""
                    199: 
                    200: 
                    201: ##############################################################################
                    202: #      Miscellaneous tasks
                    203: ##############################################################################
                    204: 
                    205: distribution:  clean
                    206:                -rm -f bboards.daily bboards.weekly crontab MakeBBoards
                    207: 
                    208: clean:         unclean
                    209:                -rm -f x* *.o
                    210: 
                    211: unclean:;      -rm -f z* _* :* core eddep makedep MAKEBB
                    212: 
                    213: 
                    214: ##############################################################################
                    215: #      Dependencies
                    216: ##############################################################################
                    217: 
                    218: MODULES        =       bbaka bbexp bbtar
                    219: 
                    220: depend:;       for m in $(MODULES); do ( \
                    221:                    i=`basename $$m .c`; \
                    222:                    echo $$i.o: $$i.c >> makedep; \
                    223:                    grep '^#[   ]*include' $$i.c | \
                    224:                        sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \
                    225:                            -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \
                    226:                            -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \
                    227:                        >> makedep \
                    228:                ); done
                    229:                echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
                    230:                echo '$$r makedep' >> eddep
                    231:                echo 'w' >> eddep
                    232:                cp Makefile _Makefile
                    233:                ed - Makefile < eddep
                    234:                rm eddep makedep
                    235:                echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                    236:                echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                    237: 
                    238: # DO NOT DELETE THIS LINE
                    239: # DEPENDENCIES START HERE
                    240: bbaka.o: bbaka.c
                    241: bbaka.o: ../../h/strings.h
                    242: bbaka.o: ../../zotnet/bboards.h
                    243: #bbaka.o: /usr/include/stdio.h
                    244: bbaka.o: ../../zotnet/mts.h
                    245: bbexp.o: bbexp.c
                    246: bbexp.o: ../../h/mh.h
                    247: bbexp.o: ../../h/dropsbr.h
                    248: bbexp.o: ../../zotnet/bboards.h
                    249: #bbexp.o: /usr/include/pwd.h
                    250: #bbexp.o: /usr/include/signal.h
                    251: #bbexp.o: /usr/include/stdio.h
                    252: #bbexp.o: /usr/include/sys/types.h
                    253: #bbexp.o: /usr/include/sys/stat.h
                    254: #bbexp.o: /usr/include/stdio.h
                    255: bbexp.o: ../../zotnet/bboards.h
                    256: bbtar.o: bbtar.c
                    257: #bbtar.o: /usr/include/pwd.h
                    258: #bbtar.o: /usr/include/stdio.h
                    259: #bbtar.o: /usr/include/sys/types.h
                    260: #bbtar.o: /usr/include/sys/stat.h
                    261: bbtar.o: ../../zotnet/bboards.h
                    262: # DEPENDENCIES MUST END AT END OF FILE
                    263: # 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.