mirror of
https://github.com/rkd77/elinks.git
synced 2025-04-18 00:47:36 -04:00
Not finished yet, but I added to motivate myself and others. The goal is to get a few seconds faster builds. autotools still will be available.
20 lines
451 B
Meson
20 lines
451 B
Meson
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
|
subdir('spidermonkey')
|
|
srcs += files('spidermonkey.c')
|
|
endif
|
|
|
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
|
CONFIG_ANY_SPIDERMONKEY = true
|
|
elif conf_data.get('CONFIG_SCRIPTING_SPIDERMONKEY')
|
|
CONFIG_ANY_SPIDERMONKEY = true
|
|
else
|
|
CONFIG_ANY_SPIDERMONKEY = false
|
|
endif
|
|
|
|
if CONFIG_ANY_SPIDERMONKEY
|
|
srcs += files('spidermonkey-shared.c')
|
|
endif
|
|
|
|
srcs += files('ecmascript.c')
|