diff options
author | Paul Querna <paul@querna.org> | 2010-10-25 21:27:39 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-25 21:28:14 +0400 |
commit | 9977831078bff3b9d09872c115e34ee8d00b215c (patch) | |
tree | 3242414150f20450fa571c1442039ea2053422b7 /Makefile | |
parent | 7eed71f8bb8d623a0768e8a99cd48527b839fef1 (diff) |
Add HAVE_OPENSSL flag to makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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) \ |