Annotation of sbbs/sbbs3/common.gmake, revision 1.1

1.1     ! root        1: ##########
        !             2: #
        !             3: # You really should set SBBS_SRC before calling this.
        !             4: #
        !             5: # Available options:
        !             6: # NEED_JAVASCRIPT   = Set flags for use with JS
        !             7: 
        !             8: SBBS_SRC       ?=      $(XPDEV)/../sbbs3
        !             9: CFLAGS +=      -I$(SBBS_SRC)
        !            10: 
        !            11: JS_CFLAGS += -DJAVASCRIPT
        !            12: ifdef JSINCLUDE
        !            13:  JS_CFLAGS += -I$(JSINCLUDE)
        !            14: else
        !            15:  JS_CFLAGS += -I$(SBBS_SRC)/../../include/mozilla/js
        !            16: endif
        !            17: ifndef JSLIBDIR
        !            18:  JSLIBDIR := $(SBBS_SRC)/../../lib/mozilla/js/$(machine).$(BUILD)
        !            19: endif
        !            20: ifndef JSLIB
        !            21:  JSLIB :=      js
        !            22: endif
        !            23: ifndef NSPRDIR
        !            24:  NSPRDIR := $(SBBS_SRC)/../../lib/mozilla/nspr/$(machine).$(BUILD)
        !            25: endif
        !            26: JS_LDFLAGS += -L$(JSLIBDIR) -l$(JSLIB)
        !            27: #The following is needed for nspr support on Linux
        !            28: ifeq ($(os),linux)
        !            29:  JS_LDFLAGS    +=      -ldl
        !            30: endif
        !            31: JS_LDFLAGS     +=      -L$(NSPRDIR) -lnspr4
        !            32: 
        !            33: ifdef NEED_JAVASCRIPT
        !            34:  CFLAGS        +=      $(JS_CFLAGS)
        !            35:  LDFLAGS       +=      $(JS_LDFLAGS)
        !            36: endif
        !            37: 
        !            38: vpath %.c $(SBBS_SRC)
        !            39: vpath %.cpp $(SBBS_SRC)
        !            40: 
        !            41: SBBSDEFS       :=
        !            42: -include sbbsdefs.mk           # defines $(SBBSDEFS)
        !            43: MT_CFLAGS      +=      $(SBBSDEFS)

unix.superglobalmegacorp.com

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