mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-03 03:56:32 -04:00
9a3be156a7
Note, that if you pass both: --with-spidermonkey \ --with-quickjs you'll get compilation error
24 lines
641 B
Makefile
24 lines
641 B
Makefile
top_builddir=../..
|
|
include $(top_builddir)/Makefile.config
|
|
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
|
|
|
SUBDIRS-$(CONFIG_ECMASCRIPT_SMJS) += spidermonkey
|
|
|
|
SUBDIRS-$(CONFIG_QUICKJS) += quickjs
|
|
|
|
OBJS-$(CONFIG_ECMASCRIPT_SMJS) += css2xpath.o ecmascript.o localstorage-db.o spidermonkey.o
|
|
|
|
OBJS-$(CONFIG_QUICKJS) += css2xpath.o ecmascript.o localstorage-db.o quickjs.o
|
|
|
|
ifeq ($(CONFIG_ECMASCRIPT_SMJS), yes)
|
|
CONFIG_ANY_SPIDERMONKEY = yes
|
|
else ifeq ($(CONFIG_SCRIPTING_SPIDERMONKEY), yes)
|
|
CONFIG_ANY_SPIDERMONKEY = yes
|
|
else
|
|
CONFIG_ANY_SPIDERMONKEY = no
|
|
endif
|
|
|
|
OBJS-$(CONFIG_ANY_SPIDERMONKEY) += spidermonkey-shared.o
|
|
|
|
include $(top_srcdir)/Makefile.lib
|