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

1.1       root        1: ##############################################################################
                      2: ## 1.  Add this after the definition of the other MMDF libraries           ##
                      3: ##     Tailor them (of course)                                             ##
                      4: ##############################################################################
                      5: 
                      6: #    ZOTnet libraries
                      7: 
                      8: BBLIB  =    ../../zotnet/bboards
                      9: MTSLIB =    ../../zotnet/mts
                     10: TWSLIB =    ../../zotnet/tws
                     11: 
                     12: 
                     13: ##############################################################################
                     14: ## 2.  Add "bboards" to your default compilation line                      ##
                     15: ##     Add "inst-bboards" to your default installation line                ##
                     16: ##############################################################################
                     17: 
                     18: 
                     19: ##############################################################################
                     20: ## 3.  Add this with the rest of your channel compilation intructions      ##
                     21: ##############################################################################
                     22: 
                     23: # ch_bboards:  bboard delivery channel transmission
                     24: 
                     25: inst-bboards:  $(CHNDFLDIR)/ch_bboards
                     26: 
                     27: $(CHNDFLDIR)/ch_bboards:       xbboards
                     28:                -cp $(CHNDFLDIR)/ch_bboards zxch_bboards
                     29:                -chmod 0$(PGMPROT) zxch_bboards
                     30:                cp xbboards $(CHNDFLDIR)/ch_bboards
                     31:                -$(CHOWN) root $(CHNDFLDIR)/ch_bboards
                     32:                -chmod 04$(PGMPROT) $(CHNDFLDIR)/ch_bboards
                     33:                -@ls -gls $(CHNDFLDIR)/ch_bboards
                     34:                -@echo "*** run setuid to root"
                     35:                -@echo "*** make sure conf_chan.c has this filename"
                     36:                -@echo ""
                     37: 
                     38: bboards:       xbboards
                     39: xbboards:\
                     40:                bboards/ch_bboards.o bboards/qu2bb_send.o \
                     41:                        bboards/bb_wtmail.o $(MTSLIB)/mts.o \
                     42:                        $(BBLIB)/getbbent.o $(TWSLIB)/dtime.o \
                     43:                        $(LIBES)
                     44:                $(CC) $(LDFLAGS) -o $@ \
                     45:                        bboards/ch_bboards.o bboards/qu2bb_send.o \
                     46:                        bboards/bb_wtmail.o $(MTSLIB)/mts.o \
                     47:                        $(BBLIB)/getbbent.o $(TWSLIB)/dtime.o $(LIBES)
                     48: 
                     49: bboards/ch_bboards.o:  bboards/ch_bboards.c h/mmdf.h h/conf.h
                     50:                cd bboards; $(CC) $(CFLAGS) -c ch_bboards.c
                     51:                -$(LINT) $(LFLAGS) bboards/ch_bboards.c $(LLIBES)
                     52: 
                     53: bboards/qu2bb_send.o:  bboards/qu2bb_send.c h/mmdf.h h/conf.h
                     54:                cd bboards; $(CC) $(CFLAGS) -c qu2bb_send.c
                     55:                -$(LINT) $(LFLAGS) bboards/qu2bb_send.c $(LLIBES)
                     56: 
                     57: bboards/bb_wtmail.o:   bboards/bb_wtmail.c h/mmdf.h h/conf.h \
                     58:                        $(BBLIB)/bboards.h $(TWSLIB)/tws.h
                     59:                cd bboards; $(CC) $(CFLAGS) -I$(BBLIB) -I$(TWSLIB) \
                     60:                        -c bb_wtmail.c
                     61:                -$(LINT) $(LFLAGS) bboards/bb_wtmail.c $(LLIBES)
                     62: 
                     63: l-bboards:     ; $(LINT) $(LFLAGS) bboards/ch_bboards.c \
                     64:                        bboards/qu2bb_send.c bboards/bb_wtmail.c $(LLIBS)

unix.superglobalmegacorp.com

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