Commit 2ae8c75e authored by rswindell's avatar rswindell
Browse files

Path macros (e.g. XPDEV and SBBS_SRC) do not end in slash.

parent 8a8c5102
...@@ -5,23 +5,23 @@ ...@@ -5,23 +5,23 @@
# Available options: # Available options:
# NEED_JAVASCRIPT = Set flags for use with JS # NEED_JAVASCRIPT = Set flags for use with JS
SBBS_SRC ?= $(XPDEV)../sbbs3/ SBBS_SRC ?= $(XPDEV)/../sbbs3
CFLAGS += -I$(SBBS_SRC) CFLAGS += -I$(SBBS_SRC)
JS_CFLAGS += -DJAVASCRIPT JS_CFLAGS += -DJAVASCRIPT
ifdef JSINCLUDE ifdef JSINCLUDE
JS_CFLAGS += -I$(JSINCLUDE) JS_CFLAGS += -I$(JSINCLUDE)
else else
JS_CFLAGS += -I$(XPDEV)../../include/mozilla/js JS_CFLAGS += -I$(XPDEV)/../../include/mozilla/js
endif endif
ifndef JSLIBDIR ifndef JSLIBDIR
JSLIBDIR := $(XPDEV)../../lib/mozilla/js/$(machine).$(BUILD) JSLIBDIR := $(XPDEV)/../../lib/mozilla/js/$(machine).$(BUILD)
endif endif
ifndef JSLIB ifndef JSLIB
JSLIB := js JSLIB := js
endif endif
ifndef NSPRDIR ifndef NSPRDIR
NSPRDIR := $(XPDEV)../../lib/mozilla/nspr/$(machine).$(BUILD) NSPRDIR := $(XPDEV)/../../lib/mozilla/nspr/$(machine).$(BUILD)
endif endif
JS_LDFLAGS += -L$(JSLIBDIR) -l$(JSLIB) JS_LDFLAGS += -L$(JSLIBDIR) -l$(JSLIB)
#The following is needed for nspr support on Linux #The following is needed for nspr support on Linux
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment