From 63b24fce2129b01e4401edf80700b9a462fc9677 Mon Sep 17 00:00:00 2001 From: "rginda%netscape.com" Date: Thu, 8 Feb 2001 06:01:54 +0000 Subject: [PATCH] changes to get js2_shell to build --- js2/tests/cpp/Makefile.am | 14 +++++++++----- js2/tests/cpp/js2_shell.cpp | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/js2/tests/cpp/Makefile.am b/js2/tests/cpp/Makefile.am index 06b223848e96..9bae5f0f4fdb 100644 --- a/js2/tests/cpp/Makefile.am +++ b/js2/tests/cpp/Makefile.am @@ -1,10 +1,14 @@ include $(top_srcdir)/common.mk -INCLUDES = -I$(top_srcdir)/src/ -LIBS = -L$(top_srcdir)/src/ -ljs2 +INCLUDES = -I$(JS2_DIR) +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_SOURCES = parser_test.cpp \ No newline at end of file +parser_test_DEPENDENCIES = $(LIBJS2) +parser_test_SOURCES = parser_test.cpp + +js2_shell_DEPENDENCIES = $(LIBJS2) $(LIBBOEHM) +js2_shell_LDADD = $(LIBBOEHM) +js2_shell_SOURCES = js2_shell.cpp \ No newline at end of file diff --git a/js2/tests/cpp/js2_shell.cpp b/js2/tests/cpp/js2_shell.cpp index 99edbe051d15..f7a632d643bb 100644 --- a/js2/tests/cpp/js2_shell.cpp +++ b/js2/tests/cpp/js2_shell.cpp @@ -30,6 +30,7 @@ #undef INTERPRET_INPUT #endif +#include #include #include "world.h"