From 638e135c60f9a773b3a95bb9cbd0b50e105f6668 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 26 Jun 2012 18:55:57 +0000 Subject: correctly setup window object as global svn path=/trunk/netsurf/; revision=13987 --- Makefile.sources | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.sources') diff --git a/Makefile.sources b/Makefile.sources index 96bbdb6fa..0d7eb865f 100644 --- a/Makefile.sources +++ b/Makefile.sources @@ -29,7 +29,8 @@ S_DESKTOP := cookies.c history_global_core.c hotlist.c knockout.c \ # Javascript sources ifeq ($(NETSURF_USE_JS),YES) -S_JAVASCRIPT += jsapi.c jsapi/global.c content.c +S_JSAPI = window.c document.c console.c +S_JAVASCRIPT += content.c jsapi.c $(addprefix jsapi/,$(S_JSAPI)) else S_JAVASCRIPT += none.c endif -- cgit v1.2.3