зеркало из https://github.com/mozilla/pjs.git
changes to get js2_shell to build
This commit is contained in:
Родитель
f100d87400
Коммит
7c1ad74353
|
@ -1,10 +1,14 @@
|
||||||
|
|
||||||
include $(top_srcdir)/common.mk
|
include $(top_srcdir)/common.mk
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/
|
INCLUDES = -I$(JS2_DIR)
|
||||||
LIBS = -L$(top_srcdir)/src/ -ljs2
|
LIBS = -L$(JS2_DIR) -ljs2 $(LIBBOEHM)
|
||||||
|
|
||||||
bin_PROGRAMS = parser_test
|
bin_PROGRAMS = parser_test js2_shell
|
||||||
|
|
||||||
parser_test_DEPENDENCIES = $(top_srcdir)/src/libjs2.a
|
parser_test_DEPENDENCIES = $(LIBJS2)
|
||||||
parser_test_SOURCES = parser_test.cpp
|
parser_test_SOURCES = parser_test.cpp
|
||||||
|
|
||||||
|
js2_shell_DEPENDENCIES = $(LIBJS2) $(LIBBOEHM)
|
||||||
|
js2_shell_LDADD = $(LIBBOEHM)
|
||||||
|
js2_shell_SOURCES = js2_shell.cpp
|
|
@ -30,6 +30,7 @@
|
||||||
#undef INTERPRET_INPUT
|
#undef INTERPRET_INPUT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "world.h"
|
#include "world.h"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче