blob: 36f123b642c66fcb1df5608c42b7e476d83c7151 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#
# NetSurf javascript source file inclusion
#
# Included by Makefile
#
# Check if jsapi is required
ifeq ($(NETSURF_USE_JS),YES)
WANT_JS_SOURCE := YES
else
ifeq ($(NETSURF_USE_MOZJS),YES)
WANT_JS_SOURCE := YES
endif
endif
S_JAVASCRIPT_BINDING:=
ifeq ($(WANT_JS_SOURCE),YES)
# JSAPI (spidemonkey)
include javascript/jsapi/Makefile
else
ifeq ($(NETSURF_USE_DUKTAPE),YES)
# Duktape
include javascript/duktape/Makefile
else
# None
include javascript/none/Makefile
endif
endif
# Fetcher for javascript scheme is always required
S_JAVASCRIPT += fetcher.c
S_JAVASCRIPT := $(addprefix javascript/,$(S_JAVASCRIPT)) $(S_JAVASCRIPT_BINDING)
|