2005-10-19 22:00:35 -04:00
|
|
|
top_builddir=../..
|
|
|
|
include $(top_builddir)/Makefile.config
|
2022-08-21 15:33:13 -04:00
|
|
|
INCLUDES += $(SPIDERMONKEY_CFLAGS) $(MUJS_CFLAGS)
|
2005-09-15 15:03:56 -04:00
|
|
|
|
2006-01-14 04:41:58 -05:00
|
|
|
SUBDIRS-$(CONFIG_ECMASCRIPT_SMJS) += spidermonkey
|
2006-01-11 07:45:09 -05:00
|
|
|
|
2022-08-21 15:33:13 -04:00
|
|
|
SUBDIRS-$(CONFIG_MUJS) += mujs
|
|
|
|
|
2021-11-24 11:15:56 -05:00
|
|
|
SUBDIRS-$(CONFIG_QUICKJS) += quickjs
|
|
|
|
|
2022-07-31 10:01:26 -04:00
|
|
|
OBJS-$(CONFIG_ECMASCRIPT_SMJS) += css2xpath.obj ecmascript.obj localstorage-db.obj spidermonkey.obj
|
2006-01-11 07:45:09 -05:00
|
|
|
|
2022-08-21 15:33:13 -04:00
|
|
|
OBJS-$(CONFIG_MUJS) += css2xpath.obj ecmascript.obj localstorage-db.obj mujs.obj
|
|
|
|
|
2022-07-31 10:01:26 -04:00
|
|
|
OBJS-$(CONFIG_QUICKJS) += css2xpath.obj ecmascript.obj localstorage-db.obj quickjs.obj
|
2021-11-24 11:15:56 -05:00
|
|
|
|
2008-07-16 05:32:24 -04:00
|
|
|
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
|
|
|
|
|
2022-07-31 10:01:26 -04:00
|
|
|
OBJS-$(CONFIG_ANY_SPIDERMONKEY) += spidermonkey-shared.obj
|
2008-07-16 05:32:24 -04:00
|
|
|
|
2005-10-19 19:11:47 -04:00
|
|
|
include $(top_srcdir)/Makefile.lib
|