2005-10-19 22:00:35 -04:00
|
|
|
top_builddir=../..
|
|
|
|
include $(top_builddir)/Makefile.config
|
2011-05-11 05:31:15 -04:00
|
|
|
INCLUDES += $(SPIDERMONKEY_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
|
|
|
|
2006-01-14 04:41:58 -05:00
|
|
|
OBJS-$(CONFIG_ECMASCRIPT_SMJS) += spidermonkey.o
|
2006-01-11 07:45:09 -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
|
|
|
|
|
|
|
|
OBJS-$(CONFIG_ANY_SPIDERMONKEY) += spidermonkey-shared.o
|
|
|
|
|
2006-01-10 13:17:29 -05:00
|
|
|
OBJS = ecmascript.o
|
2005-09-15 15:03:56 -04:00
|
|
|
|
2005-10-19 19:11:47 -04:00
|
|
|
include $(top_srcdir)/Makefile.lib
|