1 ##############################################################################
2 ## 1. Add this after the definition of the other MMDF libraries ##
3 ## Tailor them (of course) ##
4 ##############################################################################
8 BBLIB = ../../zotnet/bboards
9 MTSLIB = ../../zotnet/mts
10 TWSLIB = ../../zotnet/tws
13 ##############################################################################
14 ## 2. Add "bboards" to your default compilation line ##
15 ## Add "inst-bboards" to your default installation line ##
16 ##############################################################################
19 ##############################################################################
20 ## 3. Add this with the rest of your channel compilation intructions ##
21 ##############################################################################
23 # ch_bboards: bboard delivery channel transmission
25 inst-bboards: $(CHNDFLDIR)/ch_bboards
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"
40 bboards/ch_bboards.o bboards/qu2bb_send.o \
41 bboards/bb_wtmail.o $(MTSLIB)/mts.o \
42 $(BBLIB)/getbbent.o $(TWSLIB)/dtime.o \
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)
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)
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)
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) \
61 -$(LINT) $(LFLAGS) bboards/bb_wtmail.c $(LLIBES)
63 l-bboards: ; $(LINT) $(LFLAGS) bboards/ch_bboards.c \
64 bboards/qu2bb_send.c bboards/bb_wtmail.c $(LLIBS)