Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Querna <paul@querna.org>2010-10-25 21:27:39 +0400
committerRyan Dahl <ry@tinyclouds.org>2010-10-25 21:28:14 +0400
commit9977831078bff3b9d09872c115e34ee8d00b215c (patch)
tree3242414150f20450fa571c1442039ea2053422b7 /Makefile
parent7eed71f8bb8d623a0768e8a99cd48527b839fef1 (diff)
Add HAVE_OPENSSL flag to makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5bdae40cda2..4e6731e750c 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,7 @@ node_release_objects = $(addprefix $(builddir)/release/,$(node_sources:.cc=.o))
node_CPPFLAGS = -Isrc/ -Ideps/libeio/ -Ideps/libev/ -Ideps/http_parser/ \
-Ideps/libev/include/ -Ideps/v8/include -DPLATFORM=\"$(platform)\" \
-DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
+ -DHAVE_OPENSSL=${HAVE_OPENSSL} \
-DHAVE_FDATASYNC=0 -I$(builddir)/release/src $(cares_CPPFLAGS)
node_debug_CPPFLAGS = $(subst release,debug,$(NODE_CPPFLAGS))
@@ -218,6 +219,17 @@ $(builddir)/debug/src/node.o: src/node.cc $(builddir)/debug/src/node_natives.h
$(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
+# node_javascript.o
+
+$(builddir)/release/src/node_javascript.o: src/node_javascript.cc $(builddir)/release/src/node_natives.h
+ $(CXX) -c $(release_CXXFLAGS) $(release_CPPFLAGS) $(node_CFLAGS) \
+ $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
+
+$(builddir)/debug/src/node_javascript.o: src/node_javascript.cc $(builddir)/debug/src/node_natives.h
+ $(CXX) -c $(debug_CXXFLAGS) $(debug_CPPFLAGS) $(node_CFLAGS) \
+ $(node_CPPFLAGS) $(OPENSSL_CPPFLAGS) $< -o $@
+
+
# node executable
$(builddir)/node: $(node_release_objects) $(libev_release_objects) \