|
|
3.14a
########## # # You really should set SBBS_SRC before calling this. # # Available options: # NEED_JAVASCRIPT = Set flags for use with JS SBBS_SRC ?= $(XPDEV)/../sbbs3 CFLAGS += -I$(SBBS_SRC) JS_CFLAGS += -DJAVASCRIPT ifdef JSINCLUDE JS_CFLAGS += -I$(JSINCLUDE) else JS_CFLAGS += -I$(SBBS_SRC)/../../include/mozilla/js endif ifndef JSLIBDIR JSLIBDIR := $(SBBS_SRC)/../../lib/mozilla/js/$(machine).$(BUILD) endif ifndef JSLIB JSLIB := js endif ifndef NSPRDIR NSPRDIR := $(SBBS_SRC)/../../lib/mozilla/nspr/$(machine).$(BUILD) endif JS_LDFLAGS += -L$(JSLIBDIR) -l$(JSLIB) #The following is needed for nspr support on Linux ifeq ($(os),linux) JS_LDFLAGS += -ldl endif JS_LDFLAGS += -L$(NSPRDIR) -lnspr4 ifdef NEED_JAVASCRIPT CFLAGS += $(JS_CFLAGS) LDFLAGS += $(JS_LDFLAGS) endif vpath %.c $(SBBS_SRC) vpath %.cpp $(SBBS_SRC) SBBSDEFS := -include sbbsdefs.mk # defines $(SBBSDEFS) MT_CFLAGS += $(SBBSDEFS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.