diff options
Diffstat (limited to 'Makefile.sources')
-rw-r--r-- | Makefile.sources | 9 |
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 |