Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added needed node_modules to the repo.

  • Loading branch information...
commit 7785847a56466c0072d2514cc5dd3e9d336f7999 1 parent a6fd061
@rogeriopvl authored
Showing with 217,645 additions and 1 deletion.
  1. +1 −1  .gitignore
  2. +1 −0  .npmignore
  3. +1 −0  node_modules/.bin/nodeunit
  4. +22 −0 node_modules/colors/MIT-LICENSE.txt
  5. +77 −0 node_modules/colors/ReadMe.md
  6. +269 −0 node_modules/colors/colors.js
  7. +74 −0 node_modules/colors/example.html
  8. +65 −0 node_modules/colors/example.js
  9. +25 −0 node_modules/colors/package.json
  10. +65 −0 node_modules/colors/test.js
  11. +18 −0 node_modules/sqlite3/.npmignore
  12. +24 −0 node_modules/sqlite3/LICENSE
  13. +24 −0 node_modules/sqlite3/Makefile
  14. +105 −0 node_modules/sqlite3/README.md
  15. +10,003 −0 node_modules/sqlite3/benchmark/insert-transaction.sql
  16. +68 −0 node_modules/sqlite3/benchmark/insert.js
  17. +15 −0 node_modules/sqlite3/binding.gyp
  18. +379 −0 node_modules/sqlite3/build/Makefile
  19. +1 −0  node_modules/sqlite3/build/Release/.deps/Release/node_sqlite3.node.d
  20. +33 −0 node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/database.o.d
  21. +35 −0 node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/node_sqlite3.o.d
  22. +35 −0 node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/statement.o.d
  23. +4 −0 node_modules/sqlite3/build/Release/.deps/Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o.d
  24. +1 −0  node_modules/sqlite3/build/Release/.deps/Release/sqlite3.node.d
  25. 0  node_modules/sqlite3/build/Release/linker.lock
  26. BIN  node_modules/sqlite3/build/Release/node_sqlite3.node
  27. BIN  node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/database.o
  28. BIN  node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/node_sqlite3.o
  29. BIN  node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/statement.o
  30. BIN  node_modules/sqlite3/build/Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o
  31. BIN  node_modules/sqlite3/build/Release/sqlite3.node
  32. +6 −0 node_modules/sqlite3/build/binding.Makefile
  33. +13 −0 node_modules/sqlite3/build/config.gypi
  34. +6 −0 node_modules/sqlite3/build/deps/sqlite3/binding.Makefile
  35. +136 −0 node_modules/sqlite3/build/deps/sqlite3/shell.target.mk
  36. +132 −0 node_modules/sqlite3/build/deps/sqlite3/sqlite3.target.mk
  37. +205 −0 node_modules/sqlite3/build/gyp-mac-tool
  38. +140 −0 node_modules/sqlite3/build/node_sqlite3.target.mk
  39. +3 −0  node_modules/sqlite3/configure
  40. +236 −0 node_modules/sqlite3/deps/sqlite3/INSTALL
  41. +19 −0 node_modules/sqlite3/deps/sqlite3/Makefile.am
  42. +836 −0 node_modules/sqlite3/deps/sqlite3/Makefile.in
  43. +32 −0 node_modules/sqlite3/deps/sqlite3/README
  44. +7,227 −0 node_modules/sqlite3/deps/sqlite3/aclocal.m4
  45. +69 −0 node_modules/sqlite3/deps/sqlite3/binding.gyp
  46. +1,463 −0 node_modules/sqlite3/deps/sqlite3/config.guess
  47. +1,579 −0 node_modules/sqlite3/deps/sqlite3/config.sub
  48. +21,169 −0 node_modules/sqlite3/deps/sqlite3/configure
  49. +108 −0 node_modules/sqlite3/deps/sqlite3/configure.ac
  50. +530 −0 node_modules/sqlite3/deps/sqlite3/depcomp
  51. +323 −0 node_modules/sqlite3/deps/sqlite3/install-sh
  52. +6,930 −0 node_modules/sqlite3/deps/sqlite3/ltmain.sh
  53. +360 −0 node_modules/sqlite3/deps/sqlite3/missing
  54. +2,934 −0 node_modules/sqlite3/deps/sqlite3/shell.c
  55. +229 −0 node_modules/sqlite3/deps/sqlite3/sqlite3.1
  56. +131,068 −0 node_modules/sqlite3/deps/sqlite3/sqlite3.c
  57. +6,757 −0 node_modules/sqlite3/deps/sqlite3/sqlite3.h
  58. +13 −0 node_modules/sqlite3/deps/sqlite3/sqlite3.pc
  59. +13 −0 node_modules/sqlite3/deps/sqlite3/sqlite3.pc.in
  60. +426 −0 node_modules/sqlite3/deps/sqlite3/sqlite3ext.h
  61. +439 −0 node_modules/sqlite3/deps/sqlite3/tea/Makefile.in
  62. +36 −0 node_modules/sqlite3/deps/sqlite3/tea/README
  63. +9 −0 node_modules/sqlite3/deps/sqlite3/tea/aclocal.m4
  64. +8,923 −0 node_modules/sqlite3/deps/sqlite3/tea/configure
  65. +198 −0 node_modules/sqlite3/deps/sqlite3/tea/configure.in
  66. +15 −0 node_modules/sqlite3/deps/sqlite3/tea/doc/sqlite3.n
  67. +3,796 −0 node_modules/sqlite3/deps/sqlite3/tea/generic/tclsqlite3.c
  68. +6 −0 node_modules/sqlite3/deps/sqlite3/tea/license.terms
  69. +7 −0 node_modules/sqlite3/deps/sqlite3/tea/pkgIndex.tcl.in
  70. +119 −0 node_modules/sqlite3/deps/sqlite3/tea/tclconfig/install-sh
  71. +3,997 −0 node_modules/sqlite3/deps/sqlite3/tea/tclconfig/tcl.m4
  72. +420 −0 node_modules/sqlite3/deps/sqlite3/tea/win/makefile.vc
  73. +355 −0 node_modules/sqlite3/deps/sqlite3/tea/win/nmakehlp.c
  74. +436 −0 node_modules/sqlite3/deps/sqlite3/tea/win/rules.vc
  75. +50 −0 node_modules/sqlite3/examples/simple-chaining.js
  76. +1 −0  node_modules/sqlite3/lib/index.js
  77. +185 −0 node_modules/sqlite3/lib/sqlite3.js
  78. +42 −0 node_modules/sqlite3/lib/trace.js
  79. +97 −0 node_modules/sqlite3/package.json
  80. +1 −0  node_modules/sqlite3/sqlite3.js
  81. +81 −0 node_modules/sqlite3/src/async.h
  82. +633 −0 node_modules/sqlite3/src/database.cc
  83. +185 −0 node_modules/sqlite3/src/database.h
  84. +167 −0 node_modules/sqlite3/src/macros.h
  85. +106 −0 node_modules/sqlite3/src/node_sqlite3.cc
  86. +888 −0 node_modules/sqlite3/src/statement.cc
  87. +245 −0 node_modules/sqlite3/src/statement.h
  88. +48 −0 node_modules/sqlite3/src/threading.h
  89. +34 −0 node_modules/sqlite3/test/affected.test.js
  90. +50 −0 node_modules/sqlite3/test/blob.test.js
  91. +47 −0 node_modules/sqlite3/test/cache.test.js
  92. +38 −0 node_modules/sqlite3/test/constants.test.js
  93. +212 −0 node_modules/sqlite3/test/database_fail.test.js
  94. +42 −0 node_modules/sqlite3/test/each.test.js
  95. +43 −0 node_modules/sqlite3/test/exec.test.js
  96. +25 −0 node_modules/sqlite3/test/extension.test.js
  97. +74 −0 node_modules/sqlite3/test/map.test.js
  98. +33 −0 node_modules/sqlite3/test/named_columns.test.js
  99. +60 −0 node_modules/sqlite3/test/named_params.test.js
  100. +35 −0 node_modules/sqlite3/test/null_error.test.js
  101. +129 −0 node_modules/sqlite3/test/open_close.test.js
  102. +112 −0 node_modules/sqlite3/test/other_objects.test.js
  103. +38 −0 node_modules/sqlite3/test/parallel_insert.test.js
  104. +406 −0 node_modules/sqlite3/test/prepare.test.js
  105. +40 −0 node_modules/sqlite3/test/profile.test.js
  106. +43 −0 node_modules/sqlite3/test/rerun.test.js
  107. +60 −0 node_modules/sqlite3/test/scheduling.test.js
  108. +87 −0 node_modules/sqlite3/test/serialization.test.js
  109. +26 −0 node_modules/sqlite3/test/support/createdb.js
  110. BIN  node_modules/sqlite3/test/support/elmo.png
  111. +30 −0 node_modules/sqlite3/test/support/helper.js
  112. BIN  node_modules/sqlite3/test/support/prepare.db
  113. +70 −0 node_modules/sqlite3/test/support/script.sql
  114. +66 −0 node_modules/sqlite3/test/trace.test.js
  115. +53 −0 node_modules/sqlite3/test/unicode.test.js
View
2  .gitignore
@@ -1,3 +1,3 @@
.DS_Store
-node_modules/
test/test.db
+node_modules/nodeunit
View
1  .npmignore
@@ -2,3 +2,4 @@
.git*
test/
doc/
+grunt.js
View
1  node_modules/.bin/nodeunit
View
22 node_modules/colors/MIT-LICENSE.txt
@@ -0,0 +1,22 @@
+Copyright (c) 2010
+
+Marak Squires
+Alexis Sellier (cloudhead)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
77 node_modules/colors/ReadMe.md
@@ -0,0 +1,77 @@
+# colors.js - get color and style in your node.js console ( and browser ) like what
+
+<img src="http://i.imgur.com/goJdO.png" border = "0"/>
+
+
+## Installation
+
+ npm install colors
+
+## colors and styles!
+
+- bold
+- italic
+- underline
+- inverse
+- yellow
+- cyan
+- white
+- magenta
+- green
+- red
+- grey
+- blue
+- rainbow
+- zebra
+- random
+
+## Usage
+
+``` js
+var colors = require('./colors');
+
+console.log('hello'.green); // outputs green text
+console.log('i like cake and pies'.underline.red) // outputs red underlined text
+console.log('inverse the color'.inverse); // inverses the color
+console.log('OMG Rainbows!'.rainbow); // rainbow (ignores spaces)
+```
+
+# Creating Custom themes
+
+```js
+
+var require('colors');
+
+colors.setTheme({
+ silly: 'rainbow',
+ input: 'grey',
+ verbose: 'cyan',
+ prompt: 'grey',
+ info: 'green',
+ data: 'grey',
+ help: 'cyan',
+ warn: 'yellow',
+ debug: 'blue',
+ error: 'red'
+});
+
+// outputs red text
+console.log("this is an error".error);
+
+// outputs yellow text
+console.log("this is a warning".warn);
+```
+
+
+### Contributors
+
+Marak (Marak Squires)
+Alexis Sellier (cloudhead)
+mmalecki (Maciej Małecki)
+nicoreed (Nico Reed)
+morganrallen (Morgan Allen)
+JustinCampbell (Justin Campbell)
+ded (Dustin Diaz)
+
+
+#### , Marak Squires , Justin Campbell, Dustin Diaz (@ded)
View
269 node_modules/colors/colors.js
@@ -0,0 +1,269 @@
+/*
+colors.js
+
+Copyright (c) 2010
+
+Marak Squires
+Alexis Sellier (cloudhead)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+*/
+
+var isHeadless = false;
+
+if (typeof module !== 'undefined') {
+ isHeadless = true;
+}
+
+if (!isHeadless) {
+ var exports = {};
+ var module = {};
+ var colors = exports;
+ exports.mode = "browser";
+} else {
+ exports.mode = "console";
+}
+
+//
+// Prototypes the string object to have additional method calls that add terminal colors
+//
+var addProperty = function (color, func) {
+ var allowOverride = ['bold'];
+ exports[color] = function(str) {
+ return func.apply(str);
+ };
+ String.prototype.__defineGetter__(color, func);
+}
+
+//
+// Iterate through all default styles and colors
+//
+
+var x = ['bold', 'underline', 'italic', 'inverse', 'grey', 'black', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta'];
+x.forEach(function (style) {
+
+ // __defineGetter__ at the least works in more browsers
+ // http://robertnyman.com/javascript/javascript-getters-setters.html
+ // Object.defineProperty only works in Chrome
+ addProperty(style, function () {
+ return stylize(this, style);
+ });
+});
+
+function sequencer(map) {
+ return function () {
+ if (!isHeadless) {
+ return this.replace(/( )/, '$1');
+ }
+ var exploded = this.split("");
+ var i = 0;
+ exploded = exploded.map(map);
+ return exploded.join("");
+ }
+}
+
+var rainbowMap = (function () {
+ var rainbowColors = ['red','yellow','green','blue','magenta']; //RoY G BiV
+ return function (letter, i, exploded) {
+ if (letter == " ") {
+ return letter;
+ } else {
+ return stylize(letter, rainbowColors[i++ % rainbowColors.length]);
+ }
+ }
+})();
+
+exports.addSequencer = function (name, map) {
+ addProperty(name, sequencer(map));
+}
+
+exports.addSequencer('rainbow', rainbowMap);
+exports.addSequencer('zebra', function (letter, i, exploded) {
+ return i % 2 === 0 ? letter : letter.inverse;
+});
+
+exports.setTheme = function (theme) {
+ Object.keys(theme).forEach(function(prop){
+ addProperty(prop, function(){
+ return exports[theme[prop]](this);
+ });
+ });
+}
+
+function stylize(str, style) {
+
+ if (exports.mode == 'console') {
+ var styles = {
+ //styles
+ 'bold' : ['\033[1m', '\033[22m'],
+ 'italic' : ['\033[3m', '\033[23m'],
+ 'underline' : ['\033[4m', '\033[24m'],
+ 'inverse' : ['\033[7m', '\033[27m'],
+ //grayscale
+ 'white' : ['\033[37m', '\033[39m'],
+ 'grey' : ['\033[90m', '\033[39m'],
+ 'black' : ['\033[30m', '\033[39m'],
+ //colors
+ 'blue' : ['\033[34m', '\033[39m'],
+ 'cyan' : ['\033[36m', '\033[39m'],
+ 'green' : ['\033[32m', '\033[39m'],
+ 'magenta' : ['\033[35m', '\033[39m'],
+ 'red' : ['\033[31m', '\033[39m'],
+ 'yellow' : ['\033[33m', '\033[39m']
+ };
+ } else if (exports.mode == 'browser') {
+ var styles = {
+ //styles
+ 'bold' : ['<b>', '</b>'],
+ 'italic' : ['<i>', '</i>'],
+ 'underline' : ['<u>', '</u>'],
+ 'inverse' : ['<span style="background-color:black;color:white;">', '</span>'],
+ //grayscale
+ 'white' : ['<span style="color:white;">', '</span>'],
+ 'grey' : ['<span style="color:grey;">', '</span>'],
+ 'black' : ['<span style="color:black;">', '</span>'],
+ //colors
+ 'blue' : ['<span style="color:blue;">', '</span>'],
+ 'cyan' : ['<span style="color:cyan;">', '</span>'],
+ 'green' : ['<span style="color:green;">', '</span>'],
+ 'magenta' : ['<span style="color:magenta;">', '</span>'],
+ 'red' : ['<span style="color:red;">', '</span>'],
+ 'yellow' : ['<span style="color:yellow;">', '</span>']
+ };
+ } else if (exports.mode == 'none') {
+ return str;
+ } else {
+ console.log('unsupported mode, try "browser", "console" or "none"');
+ }
+ return styles[style][0] + str + styles[style][1];
+};
+
+// don't summon zalgo
+addProperty('zalgo', function () {
+ return zalgo(this);
+});
+
+// please no
+function zalgo(text, options) {
+ var soul = {
+ "up" : [
+ '̍','̎','̄','̅',
+ '̿','̑','̆','̐',
+ '͒','͗','͑','̇',
+ '̈','̊','͂','̓',
+ '̈','͊','͋','͌',
+ '̃','̂','̌','͐',
+ '̀','́','̋','̏',
+ '̒','̓','̔','̽',
+ '̉','ͣ','ͤ','ͥ',
+ 'ͦ','ͧ','ͨ','ͩ',
+ 'ͪ','ͫ','ͬ','ͭ',
+ 'ͮ','ͯ','̾','͛',
+ '͆','̚'
+ ],
+ "down" : [
+ '̖','̗','̘','̙',
+ '̜','̝','̞','̟',
+ '̠','̤','̥','̦',
+ '̩','̪','̫','̬',
+ '̭','̮','̯','̰',
+ '̱','̲','̳','̹',
+ '̺','̻','̼','ͅ',
+ '͇','͈','͉','͍',
+ '͎','͓','͔','͕',
+ '͖','͙','͚','̣'
+ ],
+ "mid" : [
+ '̕','̛','̀','́',
+ '͘','̡','̢','̧',
+ '̨','̴','̵','̶',
+ '͜','͝','͞',
+ '͟','͠','͢','̸',
+ '̷','͡',' ҉'
+ ]
+ },
+ all = [].concat(soul.up, soul.down, soul.mid),
+ zalgo = {};
+
+ function randomNumber(range) {
+ r = Math.floor(Math.random()*range);
+ return r;
+ };
+
+ function is_char(character) {
+ var bool = false;
+ all.filter(function(i){
+ bool = (i == character);
+ });
+ return bool;
+ }
+
+ function heComes(text, options){
+ result = '';
+ options = options || {};
+ options["up"] = options["up"] || true;
+ options["mid"] = options["mid"] || true;
+ options["down"] = options["down"] || true;
+ options["size"] = options["size"] || "maxi";
+ var counts;
+ text = text.split('');
+ for(var l in text){
+ if(is_char(l)) { continue; }
+ result = result + text[l];
+
+ counts = {"up" : 0, "down" : 0, "mid" : 0};
+
+ switch(options.size) {
+ case 'mini':
+ counts.up = randomNumber(8);
+ counts.min= randomNumber(2);
+ counts.down = randomNumber(8);
+ break;
+ case 'maxi':
+ counts.up = randomNumber(16) + 3;
+ counts.min = randomNumber(4) + 1;
+ counts.down = randomNumber(64) + 3;
+ break;
+ default:
+ counts.up = randomNumber(8) + 1;
+ counts.mid = randomNumber(6) / 2;
+ counts.down= randomNumber(8) + 1;
+ break;
+ }
+
+ var arr = ["up", "mid", "down"];
+ for(var d in arr){
+ var index = arr[d];
+ for (var i = 0 ; i <= counts[index]; i++)
+ {
+ if(options[index]) {
+ result = result + soul[index][randomNumber(soul[index].length)];
+ }
+ }
+ }
+ }
+ return result;
+ };
+ return heComes(text);
+}
+
+addProperty('stripColors', function() {
+ return ("" + this).replace(/\u001b\[\d+m/g,'');
+});
View
74 node_modules/colors/example.html
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML>
+<html lang="en-us">
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <title>Colors Example</title>
+ <script src="colors.js"></script>
+ </head>
+ <body>
+ <script>
+
+ var test = colors.red("hopefully colorless output");
+
+ document.write('Rainbows are fun!'.rainbow + '<br/>');
+ document.write('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported
+ document.write('Chains are also cool.'.bold.italic.underline.red); // styles not widely supported
+ //document.write('zalgo time!'.zalgo);
+ document.write(test.stripColors);
+ document.write("a".grey + " b".black);
+
+ document.write("Zebras are so fun!".zebra);
+
+ document.write(colors.rainbow('Rainbows are fun!'));
+ document.write(colors.italic('So ') + colors.underline('are') + colors.bold(' styles! ') + colors.inverse('inverse')); // styles not widely supported
+ document.write(colors.bold(colors.italic(colors.underline(colors.red('Chains are also cool.'))))); // styles not widely supported
+ //document.write(colors.zalgo('zalgo time!'));
+ document.write(colors.stripColors(test));
+ document.write(colors.grey("a") + colors.black(" b"));
+
+ colors.addSequencer("america", function(letter, i, exploded) {
+ if(letter === " ") return letter;
+ switch(i%3) {
+ case 0: return letter.red;
+ case 1: return letter.white;
+ case 2: return letter.blue;
+ }
+ });
+
+ colors.addSequencer("random", (function() {
+ var available = ['bold', 'underline', 'italic', 'inverse', 'grey', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta'];
+
+ return function(letter, i, exploded) {
+ return letter === " " ? letter : letter[available[Math.round(Math.random() * (available.length - 1))]];
+ };
+ })());
+
+ document.write("AMERICA! F--K YEAH!".america);
+ document.write("So apparently I've been to Mars, with all the little green men. But you know, I don't recall.".random);
+
+ //
+ // Custom themes
+ //
+
+ colors.setTheme({
+ silly: 'rainbow',
+ input: 'grey',
+ verbose: 'cyan',
+ prompt: 'grey',
+ info: 'green',
+ data: 'grey',
+ help: 'cyan',
+ warn: 'yellow',
+ debug: 'blue',
+ error: 'red'
+ });
+
+ // outputs red text
+ document.write("this is an error".error);
+
+ // outputs yellow text
+ document.write("this is a warning".warn);
+
+ </script>
+ </body>
+</html>
View
65 node_modules/colors/example.js
@@ -0,0 +1,65 @@
+var colors = require('./colors');
+
+//colors.mode = "browser";
+
+var test = colors.red("hopefully colorless output");
+console.log('Rainbows are fun!'.rainbow);
+console.log('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported
+console.log('Chains are also cool.'.bold.italic.underline.red); // styles not widely supported
+//console.log('zalgo time!'.zalgo);
+console.log(test.stripColors);
+console.log("a".grey + " b".black);
+
+console.log("Zebras are so fun!".zebra);
+
+console.log(colors.rainbow('Rainbows are fun!'));
+console.log(colors.italic('So ') + colors.underline('are') + colors.bold(' styles! ') + colors.inverse('inverse')); // styles not widely supported
+console.log(colors.bold(colors.italic(colors.underline(colors.red('Chains are also cool.'))))); // styles not widely supported
+//console.log(colors.zalgo('zalgo time!'));
+console.log(colors.stripColors(test));
+console.log(colors.grey("a") + colors.black(" b"));
+
+colors.addSequencer("america", function(letter, i, exploded) {
+ if(letter === " ") return letter;
+ switch(i%3) {
+ case 0: return letter.red;
+ case 1: return letter.white;
+ case 2: return letter.blue;
+ }
+});
+
+colors.addSequencer("random", (function() {
+ var available = ['bold', 'underline', 'italic', 'inverse', 'grey', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta'];
+
+ return function(letter, i, exploded) {
+ return letter === " " ? letter : letter[available[Math.round(Math.random() * (available.length - 1))]];
+ };
+})());
+
+console.log("AMERICA! F--K YEAH!".america);
+console.log("So apparently I've been to Mars, with all the little green men. But you know, I don't recall.".random);
+
+//
+// Custom themes
+//
+
+colors.setTheme({
+ silly: 'rainbow',
+ input: 'grey',
+ verbose: 'cyan',
+ prompt: 'grey',
+ info: 'green',
+ data: 'grey',
+ help: 'cyan',
+ warn: 'yellow',
+ debug: 'blue',
+ error: 'red'
+});
+
+// outputs red text
+console.log("this is an error".error);
+
+// outputs yellow text
+console.log("this is a warning".warn);
+
+
View
25 node_modules/colors/package.json
@@ -0,0 +1,25 @@
+{
+ "name": "colors",
+ "description": "get colors in your node.js console like what",
+ "version": "0.6.0-1",
+ "author": {
+ "name": "Marak Squires"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/Marak/colors.js.git"
+ },
+ "engines": {
+ "node": ">=0.1.90"
+ },
+ "main": "colors",
+ "_id": "colors@0.6.0-1",
+ "dependencies": {},
+ "devDependencies": {},
+ "optionalDependencies": {},
+ "_engineSupported": true,
+ "_npmVersion": "1.1.15",
+ "_nodeVersion": "v0.6.15",
+ "_defaultsLoaded": true,
+ "_from": "colors"
+}
View
65 node_modules/colors/test.js
@@ -0,0 +1,65 @@
+var assert = require('assert'),
+ colors = require('./colors');
+
+//
+// This is a pretty nice example on how tests shouldn't be written. However,
+// it's more about API stability than about really testing it (although it's
+// a pretty complete test suite).
+//
+
+var s = 'string';
+
+function a(s, code) {
+ return '\033[' + code.toString() + 'm' + s + '\033[39m';
+}
+
+function aE(s, color, code) {
+ assert.equal(s[color], a(s, code));
+ assert.equal(colors[color](s), a(s, code));
+ assert.equal(s[color], colors[color](s));
+ assert.equal(s[color].stripColors, s);
+ assert.equal(s[color].stripColors, colors.stripColors(s));
+}
+
+function h(s, color) {
+ return '<span style="color:' + color + ';">' + s + '</span>';
+ // that's pretty dumb approach to testing it
+}
+
+var stylesColors = ['white', 'grey', 'black', 'blue', 'cyan', 'green', 'magenta', 'red', 'yellow'];
+var stylesAll = stylesColors.concat(['bold', 'italic', 'underline', 'inverse', 'rainbow']);
+
+colors.mode = 'console';
+assert.equal(s.bold, '\033[1m' + s + '\033[22m');
+assert.equal(s.italic, '\033[3m' + s + '\033[23m');
+assert.equal(s.underline, '\033[4m' + s + '\033[24m');
+assert.equal(s.inverse, '\033[7m' + s + '\033[27m');
+assert.ok(s.rainbow);
+aE(s, 'white', 37);
+aE(s, 'grey', 90);
+aE(s, 'black', 30);
+aE(s, 'blue', 34);
+aE(s, 'cyan', 36);
+aE(s, 'green', 32);
+aE(s, 'magenta', 35);
+aE(s, 'red', 31);
+aE(s, 'yellow', 33);
+assert.equal(s, 'string');
+
+colors.mode = 'browser';
+assert.equal(s.bold, '<b>' + s + '</b>');
+assert.equal(s.italic, '<i>' + s + '</i>');
+assert.equal(s.underline, '<u>' + s + '</u>');
+assert.equal(s.inverse, '<span style="background-color:black;color:white;">' + s + '</span>');
+assert.ok(s.rainbow);
+stylesColors.forEach(function (color) {
+ assert.equal(s[color], h(s, color));
+ assert.equal(colors[color](s), h(s, color));
+});
+
+colors.mode = 'none';
+stylesAll.forEach(function (style) {
+ assert.equal(s[style], s);
+ assert.equal(colors[style](s), s);
+});
+
View
18 node_modules/sqlite3/.npmignore
@@ -0,0 +1,18 @@
+.lock-wscript
+*.dylib
+*.so
+*.o
+*.lo
+*.Makefile
+*.target.gyp.mk
+build
+out
+Release
+Debug
+node_modules
+.deps
+Makefile.gyp
+gyp-mac-tool
+.dirstamp
+npm-debug.log
+test/support/big.db
View
24 node_modules/sqlite3/LICENSE
@@ -0,0 +1,24 @@
+Copyright (c) 2011, Konstantin Käfer <kkaefer@gmail.com>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the name of "Development Seed" nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL Konstantin Käfer BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
24 node_modules/sqlite3/Makefile
@@ -0,0 +1,24 @@
+
+build:
+ node-gyp build
+
+clean:
+ node-gyp clean
+
+db:
+ @if ! [ -f test/support/big.db ]; then \
+ echo "Creating test database... This may take several minutes." ; \
+ node test/support/createdb.js ; \
+ fi
+
+ifndef only
+test: build db
+ @rm -rf ./test/tmp && mkdir -p ./test/tmp
+ NODE_PATH=./lib:$NODE_PATH expresso -I lib test/*.test.js
+else
+test: build db
+ @rm -rf ./test/tmp && mkdir -p ./test/tmp
+ NODE_PATH=./lib:$NODE_PATH expresso -I lib test/${only}.test.js
+endif
+
+.PHONY: build clean test
View
105 node_modules/sqlite3/README.md
@@ -0,0 +1,105 @@
+# NAME
+
+node-sqlite3 - Asynchronous, non-blocking [SQLite3](http://sqlite.org/) bindings for [node.js](https://github.com/joyent/node) 0.2-0.4 (versions 2.0.x) and **0.6.x** (versions 2.1.x).
+
+
+
+# USAGE
+
+Install with `npm install sqlite3`.
+
+``` js
+var sqlite3 = require('sqlite3').verbose();
+var db = new sqlite3.Database(':memory:');
+
+db.serialize(function() {
+ db.run("CREATE TABLE lorem (info TEXT)");
+
+ var stmt = db.prepare("INSERT INTO lorem VALUES (?)");
+ for (var i = 0; i < 10; i++) {
+ stmt.run("Ipsum " + i);
+ }
+ stmt.finalize();
+
+ db.each("SELECT rowid AS id, info FROM lorem", function(err, row) {
+ console.log(row.id + ": " + row.info);
+ });
+});
+
+db.close();
+```
+
+
+
+# FEATURES
+
+* Straightforward query and parameter binding interface
+* Full Buffer/Blob support
+* Extensive [debugging support](https://github.com/developmentseed/node-sqlite3/wiki/Debugging)
+* [Query serialization](https://github.com/developmentseed/node-sqlite3/wiki/Control-Flow) API
+* [Extension support](https://github.com/developmentseed/node-sqlite3/wiki/Extensions)
+* Big test suite
+* Written in modern C++ and tested for memory leaks
+
+
+
+# API
+
+See the [API documentation](https://github.com/developmentseed/node-sqlite3/wiki) in the wiki.
+
+
+# BUILDING
+
+Make sure you have the sources for `sqlite3` installed. Mac OS X ships with these by default. If you don't have them installed, install the `-dev` package with your package manager, e.g. `apt-get install libsqlite3-dev` for Debian/Ubuntu. Make sure that you have at least `libsqlite3` >= 3.6.
+
+To obtain and build the bindings:
+
+ git clone git://github.com/developmentseed/node-sqlite3.git
+ cd node-sqlite3
+ ./configure
+ make
+
+You can also use [`npm`](https://github.com/isaacs/npm) to download and install them:
+
+ npm install sqlite3
+
+
+
+# TESTS
+
+[expresso](https://github.com/visionmedia/expresso) is required to run unit tests.
+
+ npm install expresso
+ make test
+
+
+
+# CONTRIBUTORS
+
+* [Konstantin Käfer](https://github.com/kkaefer)
+* [Dane Springmeyer](https://github.com/springmeyer)
+* [Will White](https://github.com/willwhite)
+* [Orlando Vazquez](https://github.com/orlandov)
+* [Artem Kustikov](https://github.com/artiz)
+* [Eric Fredricksen](https://github.com/grumdrig)
+* [John Wright](https://github.com/mrjjwright)
+* [Ryan Dahl](https://github.com/ry)
+* [Tom MacWright](https://github.com/tmcw)
+* [Carter Thaxton](https://github.com/carter-thaxton)
+* [Audrius Kažukauskas](https://github.com/audriusk)
+* [Johannes Schauer](https://github.com/pyneo)
+
+
+
+# ACKNOWLEDGEMENTS
+
+Thanks to [Orlando Vazquez](https://github.com/orlandov),
+[Eric Fredricksen](https://github.com/grumdrig) and
+[Ryan Dahl](https://github.com/ry) for their SQLite bindings for node, and to mraleph on Freenode's #v8 for answering questions.
+
+Development of this module is sponsored by [Development Seed](http://developmentseed.org/).
+
+
+# LICENSE
+
+`node-sqlite3` is [BSD licensed](https://github.com/developmentseed/node-sqlite3/raw/master/LICENSE).
View
10,003 node_modules/sqlite3/benchmark/insert-transaction.sql
10,003 additions, 0 deletions not shown
View
68 node_modules/sqlite3/benchmark/insert.js
@@ -0,0 +1,68 @@
+var sqlite3 = require('../lib/sqlite3');
+var fs = require('fs');
+
+var iterations = 10000;
+
+exports.compare = {
+ 'insert literal file': function(finished) {
+ var db = new sqlite3.Database('');
+ var file = fs.readFileSync('benchmark/insert-transaction.sql', 'utf8');
+ db.exec(file);
+ db.close(finished)
+ },
+
+ 'insert with transaction and two statements': function(finished) {
+ var db = new sqlite3.Database('');
+
+ db.serialize(function() {
+ db.run("CREATE TABLE foo (id INT, txt TEXT)");
+ db.run("BEGIN");
+
+ db.parallelize(function() {
+ var stmt1 = db.prepare("INSERT INTO foo VALUES (?, ?)");
+ var stmt2 = db.prepare("INSERT INTO foo VALUES (?, ?)");
+ for (var i = 0; i < iterations; i++) {
+ stmt1.run(i, 'Row ' + i);
+ i++;
+ stmt2.run(i, 'Row ' + i);
+ }
+ stmt1.finalize();
+ stmt2.finalize();
+ });
+
+ db.run("COMMIT");
+ });
+
+ db.close(finished);
+ },
+ 'insert with transaction': function(finished) {
+ var db = new sqlite3.Database('');
+
+ db.serialize(function() {
+ db.run("CREATE TABLE foo (id INT, txt TEXT)");
+ db.run("BEGIN");
+ var stmt = db.prepare("INSERT INTO foo VALUES (?, ?)");
+ for (var i = 0; i < iterations; i++) {
+ stmt.run(i, 'Row ' + i);
+ }
+ stmt.finalize();
+ db.run("COMMIT");
+ });
+
+ db.close(finished);
+ },
+ 'insert without transaction': function(finished) {
+ var db = new sqlite3.Database('');
+
+ db.serialize(function() {
+ db.run("CREATE TABLE foo (id INT, txt TEXT)");
+ var stmt = db.prepare("INSERT INTO foo VALUES (?, ?)");
+ for (var i = 0; i < iterations; i++) {
+ stmt.run(i, 'Row ' + i);
+ }
+ stmt.finalize();
+ });
+
+ db.close(finished);
+ }
+};
View
15 node_modules/sqlite3/binding.gyp
@@ -0,0 +1,15 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'node_sqlite3',
+ 'sources': [
+ 'src/database.cc',
+ 'src/node_sqlite3.cc',
+ 'src/statement.cc'
+ ],
+ 'dependencies': [
+ 'deps/sqlite3/binding.gyp:sqlite3'
+ ]
+ }
+ ]
+}
View
379 node_modules/sqlite3/build/Makefile
@@ -0,0 +1,379 @@
+# We borrow heavily from the kernel build setup, though we are simpler since
+# we don't have Kconfig tweaking settings on us.
+
+# The implicit make rules have it looking for RCS files, among other things.
+# We instead explicitly write all the rules we care about.
+# It's even quicker (saves ~200ms) to pass -r on the command line.
+MAKEFLAGS=-r
+
+# The source directory tree.
+srcdir := ..
+abs_srcdir := $(abspath $(srcdir))
+
+# The name of the builddir.
+builddir_name ?= .
+
+# The V=1 flag on command line makes us verbosely print command lines.
+ifdef V
+ quiet=
+else
+ quiet=quiet_
+endif
+
+# Specify BUILDTYPE=Release on the command line for a release build.
+BUILDTYPE ?= Release
+
+# Directory all our build output goes into.
+# Note that this must be two directories beneath src/ for unit tests to pass,
+# as they reach into the src/ directory for data with relative paths.
+builddir ?= $(builddir_name)/$(BUILDTYPE)
+abs_builddir := $(abspath $(builddir))
+depsdir := $(builddir)/.deps
+
+# Object output directory.
+obj := $(builddir)/obj
+abs_obj := $(abspath $(obj))
+
+# We build up a list of every single one of the targets so we can slurp in the
+# generated dependency rule Makefiles in one pass.
+all_deps :=
+
+
+
+# C++ apps need to be linked with g++.
+#
+# Note: flock is used to seralize linking. Linking is a memory-intensive
+# process so running parallel links can often lead to thrashing. To disable
+# the serialization, override LINK via an envrionment variable as follows:
+#
+# export LINK=g++
+#
+# This will allow make to invoke N linker processes as specified in -jN.
+LINK ?= ./gyp-mac-tool flock $(builddir)/linker.lock $(CXX)
+
+CC.target ?= $(CC)
+CFLAGS.target ?= $(CFLAGS)
+CXX.target ?= $(CXX)
+CXXFLAGS.target ?= $(CXXFLAGS)
+LINK.target ?= $(LINK)
+LDFLAGS.target ?= $(LDFLAGS)
+AR.target ?= $(AR)
+ARFLAGS.target ?= crs
+
+# N.B.: the logic of which commands to run should match the computation done
+# in gyp's make.py where ARFLAGS.host etc. is computed.
+# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
+# to replicate this environment fallback in make as well.
+CC.host ?= gcc
+CFLAGS.host ?=
+CXX.host ?= g++
+CXXFLAGS.host ?=
+LINK.host ?= g++
+LDFLAGS.host ?=
+AR.host ?= ar
+ARFLAGS.host := crs
+
+# Define a dir function that can handle spaces.
+# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
+# "leading spaces cannot appear in the text of the first argument as written.
+# These characters can be put into the argument value by variable substitution."
+empty :=
+space := $(empty) $(empty)
+
+# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces
+replace_spaces = $(subst $(space),?,$1)
+unreplace_spaces = $(subst ?,$(space),$1)
+dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1)))
+
+# Flags to make gcc output dependency info. Note that you need to be
+# careful here to use the flags that ccache and distcc can understand.
+# We write to a dep file on the side first and then rename at the end
+# so we can't end up with a broken dep file.
+depfile = $(depsdir)/$(call replace_spaces,$@).d
+DEPFLAGS = -MMD -MF $(depfile).raw
+
+# We have to fixup the deps output in a few ways.
+# (1) the file output should mention the proper .o file.
+# ccache or distcc lose the path to the target, so we convert a rule of
+# the form:
+# foobar.o: DEP1 DEP2
+# into
+# path/to/foobar.o: DEP1 DEP2
+# (2) we want missing files not to cause us to fail to build.
+# We want to rewrite
+# foobar.o: DEP1 DEP2 \
+# DEP3
+# to
+# DEP1:
+# DEP2:
+# DEP3:
+# so if the files are missing, they're just considered phony rules.
+# We have to do some pretty insane escaping to get those backslashes
+# and dollar signs past make, the shell, and sed at the same time.
+# Doesn't work with spaces, but that's fine: .d files have spaces in
+# their names replaced with other characters.
+define fixup_dep
+# The depfile may not exist if the input file didn't have any #includes.
+touch $(depfile).raw
+# Fixup path as in (1).
+sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
+# Add extra rules as in (2).
+# We remove slashes and replace spaces with new lines;
+# remove blank lines;
+# delete the first line and append a colon to the remaining lines.
+sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
+ grep -v '^$$' |\
+ sed -e 1d -e 's|$$|:|' \
+ >> $(depfile)
+rm $(depfile).raw
+endef
+
+# Command definitions:
+# - cmd_foo is the actual command to run;
+# - quiet_cmd_foo is the brief-output summary of the command.
+
+quiet_cmd_cc = CC($(TOOLSET)) $@
+cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $<
+
+quiet_cmd_cxx = CXX($(TOOLSET)) $@
+cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
+
+quiet_cmd_objc = CXX($(TOOLSET)) $@
+cmd_objc = $(CC.$(TOOLSET)) $(GYP_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
+
+quiet_cmd_objcxx = CXX($(TOOLSET)) $@
+cmd_objcxx = $(CXX.$(TOOLSET)) $(GYP_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
+
+# Commands for precompiled header files.
+quiet_cmd_pch_c = CXX($(TOOLSET)) $@
+cmd_pch_c = $(CC.$(TOOLSET)) $(GYP_PCH_CFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
+quiet_cmd_pch_cc = CXX($(TOOLSET)) $@
+cmd_pch_cc = $(CC.$(TOOLSET)) $(GYP_PCH_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
+quiet_cmd_pch_m = CXX($(TOOLSET)) $@
+cmd_pch_m = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
+quiet_cmd_pch_mm = CXX($(TOOLSET)) $@
+cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
+
+# gyp-mac-tool is written next to the root Makefile by gyp.
+# Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd
+# already.
+quiet_cmd_mac_tool = MACTOOL $(4) $<
+cmd_mac_tool = ./gyp-mac-tool $(4) $< "$@"
+
+quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@
+cmd_mac_package_framework = ./gyp-mac-tool package-framework "$@" $(4)
+
+quiet_cmd_infoplist = INFOPLIST $@
+cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@"
+
+quiet_cmd_touch = TOUCH $@
+cmd_touch = touch $@
+
+quiet_cmd_copy = COPY $@
+# send stderr to /dev/null to ignore messages when linking directories.
+cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@")
+
+quiet_cmd_alink = LIBTOOL-STATIC $@
+cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool libtool -static -o $@ $(filter %.o,$^)
+
+quiet_cmd_link = LINK($(TOOLSET)) $@
+cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
+
+# TODO(thakis): Find out and document the difference between shared_library and
+# loadable_module on mac.
+quiet_cmd_solink = SOLINK($(TOOLSET)) $@
+cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
+
+# TODO(thakis): The solink_module rule is likely wrong. Xcode seems to pass
+# -bundle -single_module here (for osmesa.so).
+quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
+cmd_solink_module = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS)
+
+
+# Define an escape_quotes function to escape single quotes.
+# This allows us to handle quotes properly as long as we always use
+# use single quotes and escape_quotes.
+escape_quotes = $(subst ','\'',$(1))
+# This comment is here just to include a ' to unconfuse syntax highlighting.
+# Define an escape_vars function to escape '$' variable syntax.
+# This allows us to read/write command lines with shell variables (e.g.
+# $LD_LIBRARY_PATH), without triggering make substitution.
+escape_vars = $(subst $$,$$$$,$(1))
+# Helper that expands to a shell command to echo a string exactly as it is in
+# make. This uses printf instead of echo because printf's behaviour with respect
+# to escape sequences is more portable than echo's across different shells
+# (e.g., dash, bash).
+exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'
+
+# Helper to compare the command we're about to run against the command
+# we logged the last time we ran the command. Produces an empty
+# string (false) when the commands match.
+# Tricky point: Make has no string-equality test function.
+# The kernel uses the following, but it seems like it would have false
+# positives, where one string reordered its arguments.
+# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
+# $(filter-out $(cmd_$@), $(cmd_$(1))))
+# We instead substitute each for the empty string into the other, and
+# say they're equal if both substitutions produce the empty string.
+# .d files contain ? instead of spaces, take that into account.
+command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\
+ $(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1))))
+
+# Helper that is non-empty when a prerequisite changes.
+# Normally make does this implicitly, but we force rules to always run
+# so we can check their command lines.
+# $? -- new prerequisites
+# $| -- order-only dependencies
+prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?))
+
+# Helper that executes all postbuilds, and deletes the output file when done
+# if any of the postbuilds failed.
+define do_postbuilds
+ @E=0;\
+ for p in $(POSTBUILDS); do\
+ eval $$p;\
+ F=$$?;\
+ if [ $$F -ne 0 ]; then\
+ E=$$F;\
+ fi;\
+ done;\
+ if [ $$E -ne 0 ]; then\
+ rm -rf "$@";\
+ exit $$E;\
+ fi
+endef
+
+# do_cmd: run a command via the above cmd_foo names, if necessary.
+# Should always run for a given target to handle command-line changes.
+# Second argument, if non-zero, makes it do asm/C/C++ dependency munging.
+# Third argument, if non-zero, makes it do POSTBUILDS processing.
+# Note: We intentionally do NOT call dirx for depfile, since it contains ? for
+# spaces already and dirx strips the ? characters.
+define do_cmd
+$(if $(or $(command_changed),$(prereq_changed)),
+ @$(call exact_echo, $($(quiet)cmd_$(1)))
+ @mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
+ $(if $(findstring flock,$(word 2,$(cmd_$1))),
+ @$(cmd_$(1))
+ @echo " $(quiet_cmd_$(1)): Finished",
+ @$(cmd_$(1))
+ )
+ @$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile)
+ @$(if $(2),$(fixup_dep))
+ $(if $(and $(3), $(POSTBUILDS)),
+ $(call do_postbuilds)
+ )
+)
+endef
+
+# Declare the "all" target first so it is the default,
+# even though we don't have the deps yet.
+.PHONY: all
+all:
+
+# Use FORCE_DO_CMD to force a target to run. Should be coupled with
+# do_cmd.
+.PHONY: FORCE_DO_CMD
+FORCE_DO_CMD:
+
+TOOLSET := target
+# Suffix rules, putting all outputs into $(obj).
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.m FORCE_DO_CMD
+ @$(call do_cmd,objc,1)
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.mm FORCE_DO_CMD
+ @$(call do_cmd,objcxx,1)
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+# Try building from generated source, too.
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.m FORCE_DO_CMD
+ @$(call do_cmd,objc,1)
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.mm FORCE_DO_CMD
+ @$(call do_cmd,objcxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj)/%.m FORCE_DO_CMD
+ @$(call do_cmd,objc,1)
+$(obj).$(TOOLSET)/%.o: $(obj)/%.mm FORCE_DO_CMD
+ @$(call do_cmd,objcxx,1)
+$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+
+ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
+ $(findstring $(join ^,$(prefix)),\
+ $(join ^,deps/sqlite3/shell.target.mk)))),)
+ include deps/sqlite3/shell.target.mk
+endif
+ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
+ $(findstring $(join ^,$(prefix)),\
+ $(join ^,deps/sqlite3/sqlite3.target.mk)))),)
+ include deps/sqlite3/sqlite3.target.mk
+endif
+ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
+ $(findstring $(join ^,$(prefix)),\
+ $(join ^,node_sqlite3.target.mk)))),)
+ include node_sqlite3.target.mk
+endif
+
+quiet_cmd_regen_makefile = ACTION Regenerating $@
+cmd_regen_makefile = /Users/rogeriopvl/.node-gyp/0.6.16/tools/gyp_addon -fmake --ignore-environment "--toplevel-dir=." -I/Users/rogeriopvl/Documents/projects/nodo/node_modules/sqlite3/build/config.gypi -I/Users/rogeriopvl/.node-gyp/0.6.16/tools/addon.gypi -I/Users/rogeriopvl/.node-gyp/0.6.16/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/rogeriopvl/.node-gyp/0.6.16" "-Dmodule_root_dir=/Users/rogeriopvl/Documents/projects/nodo/node_modules/sqlite3" binding.gyp
+Makefile: $(srcdir)/../../../../../.node-gyp/0.6.16/common.gypi $(srcdir)/binding.gyp $(srcdir)/deps/sqlite3/binding.gyp $(srcdir)/build/config.gypi $(srcdir)/../../../../../.node-gyp/0.6.16/tools/addon.gypi
+ $(call do_cmd,regen_makefile)
+
+# "all" is a concatenation of the "all" targets from all the included
+# sub-makefiles. This is just here to clarify.
+all:
+
+# Add in dependency-tracking rules. $(all_deps) is the list of every single
+# target in our tree. Only consider the ones with .d (dependency) info:
+d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
+ifneq ($(d_files),)
+ # Rather than include each individual .d file, concatenate them into a
+ # single file which make is able to load faster. We split this into
+ # commands that take 1000 files at a time to avoid overflowing the
+ # command line.
+ $(shell cat $(wordlist 1,1000,$(d_files)) > $(depsdir)/all.deps)
+
+ ifneq ($(word 1001,$(d_files)),)
+ $(error Found unprocessed dependency files (gyp didn't generate enough rules!))
+ endif
+
+ # make looks for ways to re-generate included makefiles, but in our case, we
+ # don't have a direct way. Explicitly telling make that it has nothing to do
+ # for them makes it go faster.
+ $(depsdir)/all.deps: ;
+
+ include $(depsdir)/all.deps
+endif
View
1  node_modules/sqlite3/build/Release/.deps/Release/node_sqlite3.node.d
@@ -0,0 +1 @@
+cmd_Release/node_sqlite3.node := ./gyp-mac-tool flock ./Release/linker.lock g++ -shared -Wl,-search_paths_first -arch x86_64 -L./Release -o Release/node_sqlite3.node Release/obj.target/node_sqlite3/src/database.o Release/obj.target/node_sqlite3/src/node_sqlite3.o Release/obj.target/node_sqlite3/src/statement.o Release/sqlite3.node -undefined dynamic_lookup
View
33 node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/database.o.d
@@ -0,0 +1,33 @@
+cmd_Release/obj.target/node_sqlite3/src/database.o := g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DSQLITE_THREADSAFE=1' '-DSQLITE_ENABLE_FTS3' '-DSQLITE_ENABLE_RTREE' -I/Users/rogeriopvl/.node-gyp/0.6.16/src -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include -I../deps/sqlite3 -Os -gdwarf-2 -Wnewline-eof -arch x86_64 -fno-strict-aliasing -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-threadsafe-statics -MMD -MF ./Release/.deps/Release/obj.target/node_sqlite3/src/database.o.d.raw -c -o Release/obj.target/node_sqlite3/src/database.o ../src/database.cc
+Release/obj.target/node_sqlite3/src/database.o: ../src/database.cc \
+ /Users/rogeriopvl/.node-gyp/0.6.16/src/node.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares_version.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/uv-unix.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ngx-queue.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ev.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/eio.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8stdint.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/src/node_object_wrap.h \
+ ../src/macros.h ../src/database.h ../deps/sqlite3/sqlite3.h \
+ ../src/async.h ../src/threading.h ../src/statement.h
+../src/database.cc:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares_version.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/uv-unix.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ngx-queue.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ev.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/eio.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8stdint.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node_object_wrap.h:
+../src/macros.h:
+../src/database.h:
+../deps/sqlite3/sqlite3.h:
+../src/async.h:
+../src/threading.h:
+../src/statement.h:
View
35 node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/node_sqlite3.o.d
@@ -0,0 +1,35 @@
+cmd_Release/obj.target/node_sqlite3/src/node_sqlite3.o := g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DSQLITE_THREADSAFE=1' '-DSQLITE_ENABLE_FTS3' '-DSQLITE_ENABLE_RTREE' -I/Users/rogeriopvl/.node-gyp/0.6.16/src -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include -I../deps/sqlite3 -Os -gdwarf-2 -Wnewline-eof -arch x86_64 -fno-strict-aliasing -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-threadsafe-statics -MMD -MF ./Release/.deps/Release/obj.target/node_sqlite3/src/node_sqlite3.o.d.raw -c -o Release/obj.target/node_sqlite3/src/node_sqlite3.o ../src/node_sqlite3.cc
+Release/obj.target/node_sqlite3/src/node_sqlite3.o: \
+ ../src/node_sqlite3.cc /Users/rogeriopvl/.node-gyp/0.6.16/src/node.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares_version.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/uv-unix.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ngx-queue.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ev.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/eio.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8stdint.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/src/node_object_wrap.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/src/node_buffer.h \
+ ../deps/sqlite3/sqlite3.h ../src/macros.h ../src/database.h \
+ ../src/async.h ../src/threading.h ../src/statement.h
+../src/node_sqlite3.cc:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares_version.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/uv-unix.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ngx-queue.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ev.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/eio.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8stdint.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node_object_wrap.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node_buffer.h:
+../deps/sqlite3/sqlite3.h:
+../src/macros.h:
+../src/database.h:
+../src/async.h:
+../src/threading.h:
+../src/statement.h:
View
35 node_modules/sqlite3/build/Release/.deps/Release/obj.target/node_sqlite3/src/statement.o.d
@@ -0,0 +1,35 @@
+cmd_Release/obj.target/node_sqlite3/src/statement.o := g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DSQLITE_THREADSAFE=1' '-DSQLITE_ENABLE_FTS3' '-DSQLITE_ENABLE_RTREE' -I/Users/rogeriopvl/.node-gyp/0.6.16/src -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include -I../deps/sqlite3 -Os -gdwarf-2 -Wnewline-eof -arch x86_64 -fno-strict-aliasing -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-threadsafe-statics -MMD -MF ./Release/.deps/Release/obj.target/node_sqlite3/src/statement.o.d.raw -c -o Release/obj.target/node_sqlite3/src/statement.o ../src/statement.cc
+Release/obj.target/node_sqlite3/src/statement.o: ../src/statement.cc \
+ /Users/rogeriopvl/.node-gyp/0.6.16/src/node.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares_version.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/uv-unix.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ngx-queue.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ev.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/eio.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8stdint.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/src/node_object_wrap.h \
+ /Users/rogeriopvl/.node-gyp/0.6.16/src/node_buffer.h ../src/macros.h \
+ ../src/database.h ../deps/sqlite3/sqlite3.h ../src/async.h \
+ ../src/threading.h ../src/statement.h
+../src/statement.cc:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/ares_version.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/uv-unix.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ngx-queue.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/ev.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include/uv-private/eio.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include/v8stdint.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node_object_wrap.h:
+/Users/rogeriopvl/.node-gyp/0.6.16/src/node_buffer.h:
+../src/macros.h:
+../src/database.h:
+../deps/sqlite3/sqlite3.h:
+../src/async.h:
+../src/threading.h:
+../src/statement.h:
View
4 node_modules/sqlite3/build/Release/.deps/Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o.d
@@ -0,0 +1,4 @@
+cmd_Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o := cc '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_REENTRANT=1' '-DSQLITE_THREADSAFE=1' '-DSQLITE_ENABLE_FTS3' '-DSQLITE_ENABLE_RTREE' '-DNDEBUG' -I/Users/rogeriopvl/.node-gyp/0.6.16/src -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include -I../deps/sqlite3 -Os -gdwarf-2 -Wnewline-eof -arch x86_64 -fno-strict-aliasing -Wall -Wendif-labels -W -Wno-unused-parameter -MMD -MF ./Release/.deps/Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o.d.raw -c -o Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o ../deps/sqlite3/sqlite3.c
+Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o: \
+ ../deps/sqlite3/sqlite3.c
+../deps/sqlite3/sqlite3.c:
View
1  node_modules/sqlite3/build/Release/.deps/Release/sqlite3.node.d
@@ -0,0 +1 @@
+cmd_Release/sqlite3.node := rm -f Release/sqlite3.node && ./gyp-mac-tool filter-libtool libtool -static -o Release/sqlite3.node Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o
View
0  node_modules/sqlite3/build/Release/linker.lock
No changes.
View
BIN  node_modules/sqlite3/build/Release/node_sqlite3.node
Binary file not shown
View
BIN  node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/database.o
Binary file not shown
View
BIN  node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/node_sqlite3.o
Binary file not shown
View
BIN  node_modules/sqlite3/build/Release/obj.target/node_sqlite3/src/statement.o
Binary file not shown
View
BIN  node_modules/sqlite3/build/Release/obj.target/sqlite3/deps/sqlite3/sqlite3.o
Binary file not shown
View
BIN  node_modules/sqlite3/build/Release/sqlite3.node
Binary file not shown
View
6 node_modules/sqlite3/build/binding.Makefile
@@ -0,0 +1,6 @@
+# This file is generated by gyp; do not edit.
+
+export builddir_name ?= build/./.
+.PHONY: all
+all:
+ $(MAKE) node_sqlite3
View
13 node_modules/sqlite3/build/config.gypi
@@ -0,0 +1,13 @@
+# Do not edit. File was generated by node-gyp's "configure" step
+{
+ "target_defaults": {
+ "cflags": [],
+ "default_configuration": "Release",
+ "defines": [],
+ "include_dirs": [],
+ "libraries": []
+ },
+ "variables": {
+ "target_arch": "x64"
+ }
+}
View
6 node_modules/sqlite3/build/deps/sqlite3/binding.Makefile
@@ -0,0 +1,6 @@
+# This file is generated by gyp; do not edit.
+
+export builddir_name ?= build/./deps/sqlite3/.
+.PHONY: all
+all:
+ $(MAKE) -C ../.. sqlite3
View
136 node_modules/sqlite3/build/deps/sqlite3/shell.target.mk
@@ -0,0 +1,136 @@
+# This file is generated by gyp; do not edit.
+
+TOOLSET := target
+TARGET := shell
+DEFS_Debug := '-D_LARGEFILE_SOURCE' \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-DSQLITE_THREADSAFE=1' \
+ '-DSQLITE_ENABLE_FTS3' \
+ '-DSQLITE_ENABLE_RTREE' \
+ '-DDEBUG' \
+ '-D_DEBUG'
+
+# Flags passed to all source files.
+CFLAGS_Debug := -Os \
+ -gdwarf-2 \
+ -Wnewline-eof \
+ -arch x86_64 \
+ -fno-strict-aliasing \
+ -Wall \
+ -Wendif-labels \
+ -W \
+ -Wno-unused-parameter
+
+# Flags passed to only C files.
+CFLAGS_C_Debug :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Debug := -fno-rtti \
+ -fno-exceptions \
+ -fno-threadsafe-statics
+
+# Flags passed to only ObjC files.
+CFLAGS_OBJC_Debug :=
+
+# Flags passed to only ObjC++ files.
+CFLAGS_OBJCC_Debug :=
+
+INCS_Debug := -I/Users/rogeriopvl/.node-gyp/0.6.16/src \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include \
+ -I$(srcdir)/deps/sqlite3
+
+DEFS_Release := '-D_LARGEFILE_SOURCE' \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-DSQLITE_THREADSAFE=1' \
+ '-DSQLITE_ENABLE_FTS3' \
+ '-DSQLITE_ENABLE_RTREE' \
+ '-DNDEBUG'
+
+# Flags passed to all source files.
+CFLAGS_Release := -Os \
+ -gdwarf-2 \
+ -Wnewline-eof \
+ -arch x86_64 \
+ -fno-strict-aliasing \
+ -Wall \
+ -Wendif-labels \
+ -W \
+ -Wno-unused-parameter
+
+# Flags passed to only C files.
+CFLAGS_C_Release :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Release := -fno-rtti \
+ -fno-exceptions \
+ -fno-threadsafe-statics
+
+# Flags passed to only ObjC files.
+CFLAGS_OBJC_Release :=
+
+# Flags passed to only ObjC++ files.
+CFLAGS_OBJCC_Release :=
+
+INCS_Release := -I/Users/rogeriopvl/.node-gyp/0.6.16/src \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include \
+ -I$(srcdir)/deps/sqlite3
+
+OBJS := $(obj).target/$(TARGET)/deps/sqlite3/shell.o
+
+# Add to the list of files we specially track dependencies for.
+all_deps += $(OBJS)
+
+# Make sure our dependencies are built before any of us.
+$(OBJS): | $(builddir)/sqlite3.node
+
+# CFLAGS et al overrides must be target-local.
+# See "Target-specific Variable Values" in the GNU Make manual.
+$(OBJS): TOOLSET := $(TOOLSET)
+$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
+$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
+$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
+$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
+
+# Suffix rules, putting all outputs into $(obj).
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+# Try building from generated source, too.
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+# End of this set of suffix rules
+### Rules for final target.
+LDFLAGS_Debug := -Wl,-search_paths_first \
+ -arch x86_64 \
+ -L$(builddir)
+
+LDFLAGS_Release := -Wl,-search_paths_first \
+ -arch x86_64 \
+ -L$(builddir)
+
+LIBS := -undefined dynamic_lookup
+
+$(builddir)/shell.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
+$(builddir)/shell.node: LIBS := $(LIBS)
+$(builddir)/shell.node: LD_INPUTS := $(OBJS) $(builddir)/sqlite3.node
+$(builddir)/shell.node: TOOLSET := $(TOOLSET)
+$(builddir)/shell.node: $(OBJS) $(builddir)/sqlite3.node FORCE_DO_CMD
+ $(call do_cmd,link)
+
+all_deps += $(builddir)/shell.node
+# Add target alias
+.PHONY: shell
+shell: $(builddir)/shell.node
+
+# Short alias for building this executable.
+.PHONY: shell.node
+shell.node: $(builddir)/shell.node
+
View
132 node_modules/sqlite3/build/deps/sqlite3/sqlite3.target.mk
@@ -0,0 +1,132 @@
+# This file is generated by gyp; do not edit.
+
+TOOLSET := target
+TARGET := sqlite3
+DEFS_Debug := '-D_LARGEFILE_SOURCE' \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-D_REENTRANT=1' \
+ '-DSQLITE_THREADSAFE=1' \
+ '-DSQLITE_ENABLE_FTS3' \
+ '-DSQLITE_ENABLE_RTREE' \
+ '-DDEBUG' \
+ '-D_DEBUG'
+
+# Flags passed to all source files.
+CFLAGS_Debug := -Os \
+ -gdwarf-2 \
+ -Wnewline-eof \
+ -arch x86_64 \
+ -fno-strict-aliasing \
+ -Wall \
+ -Wendif-labels \
+ -W \
+ -Wno-unused-parameter
+
+# Flags passed to only C files.
+CFLAGS_C_Debug :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Debug := -fno-rtti \
+ -fno-exceptions \
+ -fno-threadsafe-statics
+
+# Flags passed to only ObjC files.
+CFLAGS_OBJC_Debug :=
+
+# Flags passed to only ObjC++ files.
+CFLAGS_OBJCC_Debug :=
+
+INCS_Debug := -I/Users/rogeriopvl/.node-gyp/0.6.16/src \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include \
+ -I$(srcdir)/deps/sqlite3
+
+DEFS_Release := '-D_LARGEFILE_SOURCE' \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-D_REENTRANT=1' \
+ '-DSQLITE_THREADSAFE=1' \
+ '-DSQLITE_ENABLE_FTS3' \
+ '-DSQLITE_ENABLE_RTREE' \
+ '-DNDEBUG'
+
+# Flags passed to all source files.
+CFLAGS_Release := -Os \
+ -gdwarf-2 \
+ -Wnewline-eof \
+ -arch x86_64 \
+ -fno-strict-aliasing \
+ -Wall \
+ -Wendif-labels \
+ -W \
+ -Wno-unused-parameter
+
+# Flags passed to only C files.
+CFLAGS_C_Release :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Release := -fno-rtti \
+ -fno-exceptions \
+ -fno-threadsafe-statics
+
+# Flags passed to only ObjC files.
+CFLAGS_OBJC_Release :=
+
+# Flags passed to only ObjC++ files.
+CFLAGS_OBJCC_Release :=
+
+INCS_Release := -I/Users/rogeriopvl/.node-gyp/0.6.16/src \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include \
+ -I$(srcdir)/deps/sqlite3
+
+OBJS := $(obj).target/$(TARGET)/deps/sqlite3/sqlite3.o
+
+# Add to the list of files we specially track dependencies for.
+all_deps += $(OBJS)
+
+# CFLAGS et al overrides must be target-local.
+# See "Target-specific Variable Values" in the GNU Make manual.
+$(OBJS): TOOLSET := $(TOOLSET)
+$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
+$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
+$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
+$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
+
+# Suffix rules, putting all outputs into $(obj).
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+# Try building from generated source, too.
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
+ @$(call do_cmd,cc,1)
+
+# End of this set of suffix rules
+### Rules for final target.
+LDFLAGS_Debug := -arch x86_64 \
+ -L$(builddir)
+
+LDFLAGS_Release := -arch x86_64 \
+ -L$(builddir)
+
+LIBS := -undefined dynamic_lookup
+
+$(builddir)/sqlite3.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
+$(builddir)/sqlite3.node: LIBS := $(LIBS)
+$(builddir)/sqlite3.node: TOOLSET := $(TOOLSET)
+$(builddir)/sqlite3.node: $(OBJS) FORCE_DO_CMD
+ $(call do_cmd,alink)
+
+all_deps += $(builddir)/sqlite3.node
+# Add target alias
+.PHONY: sqlite3
+sqlite3: $(builddir)/sqlite3.node
+
+# Add target alias to "all" target.
+.PHONY: all
+all: sqlite3
+
View
205 node_modules/sqlite3/build/gyp-mac-tool
@@ -0,0 +1,205 @@
+#!/usr/bin/env python
+# Generated by gyp. Do not edit.
+# Copyright (c) 2012 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Utility functions to perform Xcode-style build steps.
+
+These functions are executed via gyp-mac-tool when using the Makefile generator.
+"""
+
+import fcntl
+import os
+import plistlib
+import re
+import shutil
+import string
+import subprocess
+import sys
+
+
+def main(args):
+ executor = MacTool()
+ exit_code = executor.Dispatch(args)
+ if exit_code is not None:
+ sys.exit(exit_code)
+
+
+class MacTool(object):
+ """This class performs all the Mac tooling steps. The methods can either be
+ executed directly, or dispatched from an argument list."""
+
+ def Dispatch(self, args):
+ """Dispatches a string command to a method."""
+ if len(args) < 1:
+ raise Exception("Not enough arguments")
+
+ method = "Exec%s" % self._CommandifyName(args[0])
+ return getattr(self, method)(*args[1:])
+
+ def _CommandifyName(self, name_string):
+ """Transforms a tool name like copy-info-plist to CopyInfoPlist"""
+ return name_string.title().replace('-', '')
+
+ def ExecCopyBundleResource(self, source, dest):
+ """Copies a resource file to the bundle/Resources directory, performing any
+ necessary compilation on each resource."""
+ extension = os.path.splitext(source)[1].lower()
+ if os.path.isdir(source):
+ # Copy tree.
+ if os.path.exists(dest):
+ shutil.rmtree(dest)
+ shutil.copytree(source, dest)
+ elif extension == '.xib':
+ self._CopyXIBFile(source, dest)
+ elif extension == '.strings':
+ self._CopyStringsFile(source, dest)
+ # TODO: Given that files with arbitrary extensions can be copied to the
+ # bundle, we will want to get rid of this whitelist eventually.
+ elif extension in [
+ '.icns', '.manifest', '.pak', '.pdf', '.png', '.sb', '.sh',
+ '.ttf', '.sdef']:
+ shutil.copyfile(source, dest)
+ else:
+ raise NotImplementedError(
+ "Don't know how to copy bundle resources of type %s while copying "
+ "%s to %s)" % (extension, source, dest))
+
+ def _CopyXIBFile(self, source, dest):
+ """Compiles a XIB file with ibtool into a binary plist in the bundle."""
+ args = ['/Developer/usr/bin/ibtool', '--errors', '--warnings',
+ '--notices', '--output-format', 'human-readable-text', '--compile',
+ dest, source]
+ subprocess.call(args)
+
+ def _CopyStringsFile(self, source, dest):
+ """Copies a .strings file using iconv to reconvert the input into UTF-16."""
+ input_code = self._DetectInputEncoding(source) or "UTF-8"
+ fp = open(dest, 'w')
+ args = ['/usr/bin/iconv', '--from-code', input_code, '--to-code',
+ 'UTF-16', source]
+ subprocess.call(args, stdout=fp)
+ fp.close()
+
+ def _DetectInputEncoding(self, file_name):
+ """Reads the first few bytes from file_name and tries to guess the text
+ encoding. Returns None as a guess if it can't detect it."""
+ fp = open(file_name, 'rb')
+ try:
+ header = fp.read(3)
+ except e:
+ fp.close()
+ return None
+ fp.close()
+ if header.startswith("\xFE\xFF"):
+ return "UTF-16BE"
+ elif header.startswith("\xFF\xFE"):
+ return "UTF-16LE"
+ elif header.startswith("\xEF\xBB\xBF"):
+ return "UTF-8"
+ else:
+ return None
+
+ def ExecCopyInfoPlist(self, source, dest):
+ """Copies the |source| Info.plist to the destination directory |dest|."""
+ # Read the source Info.plist into memory.
+ fd = open(source, 'r')
+ lines = fd.read()
+ fd.close()
+
+ # Go through all the environment variables and replace them as variables in
+ # the file.
+ for key in os.environ:
+ if key.startswith('_'):
+ continue
+ evar = '${%s}' % key
+ lines = string.replace(lines, evar, os.environ[key])
+
+ # Write out the file with variables replaced.
+ fd = open(dest, 'w')
+ fd.write(lines)
+ fd.close()
+
+ # Now write out PkgInfo file now that the Info.plist file has been
+ # "compiled".
+ self._WritePkgInfo(dest)
+
+ def _WritePkgInfo(self, info_plist):
+ """This writes the PkgInfo file from the data stored in Info.plist."""
+ plist = plistlib.readPlist(info_plist)
+ if not plist:
+ return
+
+ # Only create PkgInfo for executable types.
+ package_type = plist['CFBundlePackageType']
+ if package_type != 'APPL':
+ return
+
+ # The format of PkgInfo is eight characters, representing the bundle type
+ # and bundle signature, each four characters. If that is missing, four
+ # '?' characters are used instead.
+ signature_code = plist['CFBundleSignature']
+ if len(signature_code) != 4:
+ signature_code = '?' * 4
+
+ dest = os.path.join(os.path.dirname(info_plist), 'PkgInfo')
+ fp = open(dest, 'w')
+ fp.write('%s%s' % (package_type, signature_code))
+ fp.close()
+
+ def ExecFlock(self, lockfile, *cmd_list):
+ """Emulates the most basic behavior of Linux's flock(1)."""
+ # Rely on exception handling to report errors.
+ fd = os.open(lockfile, os.O_RDONLY|os.O_NOCTTY|os.O_CREAT, 0o666)
+ fcntl.flock(fd, fcntl.LOCK_EX)
+ return subprocess.call(cmd_list)
+
+ def ExecFilterLibtool(self, *cmd_list):
+ """Calls libtool and filters out 'libtool: file: foo.o has no symbols'."""
+ libtool_re = re.compile(r'^libtool: file: .* has no symbols$')
+ libtoolout = subprocess.Popen(cmd_list, stderr=subprocess.PIPE)
+ for line in libtoolout.stderr:
+ if not libtool_re.match(line):
+ sys.stderr.write(line)
+ return libtoolout.returncode
+
+ def ExecPackageFramework(self, framework, version):
+ """Takes a path to Something.framework and the Current version of that and
+ sets up all the symlinks."""
+ # Find the name of the binary based on the part before the ".framework".
+ binary = os.path.basename(framework).split('.')[0]
+
+ CURRENT = 'Current'
+ RESOURCES = 'Resources'
+ VERSIONS = 'Versions'
+
+ if not os.path.exists(os.path.join(framework, VERSIONS, version, binary)):
+ # Binary-less frameworks don't seem to contain symlinks (see e.g.
+ # chromium's out/Debug/org.chromium.Chromium.manifest/ bundle).
+ return
+
+ # Move into the framework directory to set the symlinks correctly.
+ pwd = os.getcwd()
+ os.chdir(framework)
+
+ # Set up the Current version.
+ self._Relink(version, os.path.join(VERSIONS, CURRENT))
+
+ # Set up the root symlinks.
+ self._Relink(os.path.join(VERSIONS, CURRENT, binary), binary)
+ self._Relink(os.path.join(VERSIONS, CURRENT, RESOURCES), RESOURCES)
+
+ # Back to where we were before!
+ os.chdir(pwd)
+
+ def _Relink(self, dest, link):
+ """Creates a symlink to |dest| named |link|. If |link| already exists,
+ it is overwritten."""
+ if os.path.lexists(link):
+ os.remove(link)
+ os.symlink(dest, link)
+
+
+if __name__ == '__main__':
+ sys.exit(main(sys.argv[1:]))
View
140 node_modules/sqlite3/build/node_sqlite3.target.mk
@@ -0,0 +1,140 @@
+# This file is generated by gyp; do not edit.
+
+TOOLSET := target
+TARGET := node_sqlite3
+DEFS_Debug := '-D_LARGEFILE_SOURCE' \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-DSQLITE_THREADSAFE=1' \
+ '-DSQLITE_ENABLE_FTS3' \
+ '-DSQLITE_ENABLE_RTREE' \
+ '-DDEBUG' \
+ '-D_DEBUG'
+
+# Flags passed to all source files.
+CFLAGS_Debug := -Os \
+ -gdwarf-2 \
+ -Wnewline-eof \
+ -arch x86_64 \
+ -fno-strict-aliasing \
+ -Wall \
+ -Wendif-labels \
+ -W \
+ -Wno-unused-parameter
+
+# Flags passed to only C files.
+CFLAGS_C_Debug :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Debug := -fno-rtti \
+ -fno-exceptions \
+ -fno-threadsafe-statics
+
+# Flags passed to only ObjC files.
+CFLAGS_OBJC_Debug :=
+
+# Flags passed to only ObjC++ files.
+CFLAGS_OBJCC_Debug :=
+
+INCS_Debug := -I/Users/rogeriopvl/.node-gyp/0.6.16/src \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include \
+ -I$(srcdir)/deps/sqlite3
+
+DEFS_Release := '-D_LARGEFILE_SOURCE' \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-DSQLITE_THREADSAFE=1' \
+ '-DSQLITE_ENABLE_FTS3' \
+ '-DSQLITE_ENABLE_RTREE'
+
+# Flags passed to all source files.
+CFLAGS_Release := -Os \
+ -gdwarf-2 \
+ -Wnewline-eof \
+ -arch x86_64 \
+ -fno-strict-aliasing \
+ -Wall \
+ -Wendif-labels \
+ -W \
+ -Wno-unused-parameter
+
+# Flags passed to only C files.
+CFLAGS_C_Release :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Release := -fno-rtti \
+ -fno-exceptions \
+ -fno-threadsafe-statics
+
+# Flags passed to only ObjC files.
+CFLAGS_OBJC_Release :=
+
+# Flags passed to only ObjC++ files.
+CFLAGS_OBJCC_Release :=
+
+INCS_Release := -I/Users/rogeriopvl/.node-gyp/0.6.16/src \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/uv/include \
+ -I/Users/rogeriopvl/.node-gyp/0.6.16/deps/v8/include \
+ -I$(srcdir)/deps/sqlite3
+
+OBJS := $(obj).target/$(TARGET)/src/database.o \
+ $(obj).target/$(TARGET)/src/node_sqlite3.o \
+ $(obj).target/$(TARGET)/src/statement.o
+
+# Add to the list of files we specially track dependencies for.
+all_deps += $(OBJS)
+
+# Make sure our dependencies are built before any of us.
+$(OBJS): | $(builddir)/sqlite3.node
+
+# CFLAGS et al overrides must be target-local.
+# See "Target-specific Variable Values" in the GNU Make manual.
+$(OBJS): TOOLSET := $(TOOLSET)
+$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
+$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
+$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
+$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
+
+# Suffix rules, putting all outputs into $(obj).
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+
+# Try building from generated source, too.
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+
+# End of this set of suffix rules
+### Rules for final target.
+LDFLAGS_Debug := -Wl,-search_paths_first \
+ -arch x86_64 \
+ -L$(builddir)
+
+LDFLAGS_Release := -Wl,-search_paths_first \
+ -arch x86_64 \
+ -L$(builddir)
+
+LIBS := -undefined dynamic_lookup
+
+$(builddir)/node_sqlite3.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
+$(builddir)/node_sqlite3.node: LIBS := $(LIBS)
+$(builddir)/node_sqlite3.node: TOOLSET := $(TOOLSET)
+$(builddir)/node_sqlite3.node: $(OBJS) $(builddir)/sqlite3.node FORCE_DO_CMD
+ $(call do_cmd,solink_module)
+
+all_deps += $(builddir)/node_sqlite3.node
+# Add target alias
+.PHONY: node_sqlite3
+node_sqlite3: $(builddir)/node_sqlite3.node
+
+# Short alias for building this executable.
+.PHONY: node_sqlite3.node
+node_sqlite3.node: $(builddir)/node_sqlite3.node
+
+# Add executable to "all" target.
+.PHONY: all
+all: $(builddir)/node_sqlite3.node
+
View
3  node_modules/sqlite3/configure
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+node-gyp configure $@