summaryrefslogtreecommitdiff
path: root/node_modules/mongodb/external-libs/bson/Makefile
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2012-09-24 16:22:07 -0400
committerJules Laplace <jules@okfoc.us>2012-09-24 16:22:07 -0400
commit686106d544ecc3b6ffd4db2b665d3bc879a58d8c (patch)
treea5b5e50237cef70e12f0745371896e96f5f6d578 /node_modules/mongodb/external-libs/bson/Makefile
ok
Diffstat (limited to 'node_modules/mongodb/external-libs/bson/Makefile')
-rw-r--r--node_modules/mongodb/external-libs/bson/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/node_modules/mongodb/external-libs/bson/Makefile b/node_modules/mongodb/external-libs/bson/Makefile
new file mode 100644
index 0000000..ad877d4
--- /dev/null
+++ b/node_modules/mongodb/external-libs/bson/Makefile
@@ -0,0 +1,45 @@
+NODE = node
+name = all
+JOBS = 1
+
+all:
+ rm -rf build .lock-wscript bson.node
+ node-waf configure build
+ cp -R ./build/Release/bson.node . || true
+ @$(NODE) --expose-gc test/test_bson.js
+ @$(NODE) --expose-gc test/test_full_bson.js
+ # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+all_debug:
+ rm -rf build .lock-wscript bson.node
+ node-waf --debug configure build
+ cp -R ./build/Release/bson.node . || true
+ @$(NODE) --expose-gc test/test_bson.js
+ @$(NODE) --expose-gc test/test_full_bson.js
+ # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+test:
+ @$(NODE) --expose-gc test/test_bson.js
+ @$(NODE) --expose-gc test/test_full_bson.js
+ # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+clang:
+ rm -rf build .lock-wscript bson.node
+ CXX=clang node-waf configure build
+ cp -R ./build/Release/bson.node . || true
+ @$(NODE) --expose-gc test/test_bson.js
+ @$(NODE) --expose-gc test/test_full_bson.js
+ # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+clang_debug:
+ rm -rf build .lock-wscript bson.node
+ CXX=clang node-waf --debug configure build
+ cp -R ./build/Release/bson.node . || true
+ @$(NODE) --expose-gc test/test_bson.js
+ @$(NODE) --expose-gc test/test_full_bson.js
+ # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+clean:
+ rm -rf build .lock-wscript bson.node
+
+.PHONY: all \ No newline at end of file