From 6ebaecccafbca464ee366d45fd15a0df13509849 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 1 Jan 2012 21:42:38 +0000 Subject: Totaly prefunctry binding to spidermonkey svn path=/trunk/netsurf/; revision=13360 --- Makefile.sources | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile.sources') 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 -- cgit v1.2.3