1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00
elinks/src/ecmascript/Makefile

24 lines
641 B
Makefile
Raw Normal View History

2005-10-20 02:00:35 +00:00
top_builddir=../..
include $(top_builddir)/Makefile.config
INCLUDES += $(SPIDERMONKEY_CFLAGS)
2006-01-14 09:41:58 +00:00
SUBDIRS-$(CONFIG_ECMASCRIPT_SMJS) += spidermonkey
2006-01-11 12:45:09 +00:00
SUBDIRS-$(CONFIG_QUICKJS) += quickjs
2021-10-25 15:43:07 +00:00
OBJS-$(CONFIG_ECMASCRIPT_SMJS) += css2xpath.o ecmascript.o localstorage-db.o spidermonkey.o
2006-01-11 12:45:09 +00:00
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