summaryrefslogtreecommitdiff
path: root/Makefile.sources
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-01-01 21:42:38 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-01-01 21:42:38 +0000
commit6ebaecccafbca464ee366d45fd15a0df13509849 (patch)
treec5aa49a34ab8412a04a1099b7b2740166225806b /Makefile.sources
parenta195728c51a34e68b4361cb685d3e20acbbecbe0 (diff)
downloadnetsurf-6ebaecccafbca464ee366d45fd15a0df13509849.tar.gz
netsurf-6ebaecccafbca464ee366d45fd15a0df13509849.tar.bz2
Totaly prefunctry binding to spidermonkey
svn path=/trunk/netsurf/; revision=13360
Diffstat (limited to 'Makefile.sources')
-rw-r--r--Makefile.sources9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.sources b/Makefile.sources
index 5b2764eda..e0f8c3335 100644
--- a/Makefile.sources
+++ b/Makefile.sources
@@ -58,8 +58,15 @@ S_PDF := $(addprefix desktop/save_pdf/,$(S_PDF))
# S_BROWSER are sources related to full browsers but are common
# between RISC OS, GTK, BeOS and AmigaOS builds
-S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
+S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
save_complete.c save_text.c selection.c textinput.c
+
+ifeq ($(NETSURF_USE_JS),YES)
+S_BROWSER += js.c
+else
+S_BROWSER += nojs.c
+endif
+
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
# The following files depend on the testament