THRIFT-550: Added javascript support
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@910158 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am
index fa8d1ca..b1b6b01 100644
--- a/compiler/cpp/Makefile.am
+++ b/compiler/cpp/Makefile.am
@@ -100,6 +100,9 @@
if THRIFT_GEN_html
thrift_SOURCES += src/generate/t_html_generator.cc
endif
+if THRIFT_GEN_js
+thrift_SOURCES += src/generate/t_js_generator.cc
+endif
thrift_CXXFLAGS = -Wall -I$(srcdir)/src $(BOOST_CPPFLAGS)
thrift_LDFLAGS = -Wall $(BOOST_LDFLAGS)