#include <errno.h>
#include <dlfcn.h> /* dlopen(), dlsym() */
-#include <events.h>
-#include <dns.h>
-#include <net.h>
-#include <file.h>
-#include <http.h>
-#include <signal_handler.h>
-#include <timer.h>
-#include <child_process.h>
-#include <constants.h>
+#include <node_events.h>
+#include <node_dns.h>
+#include <node_net.h>
+#include <node_file.h>
+#include <node_http.h>
+#include <node_signal_handler.h>
+#include <node_timer.h>
+#include <node_child_process.h>
+#include <node_constants.h>
#include <node_stdio.h>
#include <node_natives.h>
-#include <v8-debug.h>
#include <node_version.h>
+#include <v8-debug.h>
+
using namespace v8;
extern char **environ;
#include <v8.h>
#include <evcom.h>
-#include <object_wrap.h>
+#include <node_object_wrap.h>
namespace node {
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
-#include <child_process.h>
+#include <node_child_process.h>
#include <assert.h>
#include <string.h>
#define SRC_CHILD_PROCESS_H_
#include <node.h>
-#include <events.h>
+#include <node_events.h>
#include <v8.h>
#include <ev.h>
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
-#include <constants.h>
+#include <node_constants.h>
#include <errno.h>
#include <unistd.h>
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
-#include <dns.h>
+#include <node_dns.h>
#include <stdlib.h> /* exit() */
#include <sys/types.h>
#include <arpa/inet.h>
#include <assert.h>
-#include <events.h>
+#include <node_events.h>
#include <v8.h>
#include <ev.h>
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
-#include <events.h>
+#include <node_events.h>
#include <assert.h>
#include <stdlib.h>
#ifndef SRC_EVENTS_H_
#define SRC_EVENTS_H_
-#include <object_wrap.h>
+#include <node_object_wrap.h>
#include <v8.h>
namespace node {
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
-#include <file.h>
+#include <node_file.h>
#include <sys/types.h>
#include <sys/stat.h>
#define SRC_FILE_H_
#include <node.h>
-#include <events.h>
+#include <node_events.h>
#include <v8.h>
namespace node {
-#include "node.h"
-#include "http.h"
-#include <http_parser.h>
+#include <node_http.h>
#include <assert.h>
#include <stdio.h>
#ifndef node_http_h
#define node_http_h
+#include <node_net.h>
#include <v8.h>
-#include "net.h"
#include <http_parser.h>
namespace node {
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
-#include <net.h>
+#include <node_net.h>
#include <assert.h>
#include <stdlib.h>
#define SRC_NET_H_
#include <node.h>
-#include <events.h>
+#include <node_events.h>
#include <v8.h>
#include <evcom.h>
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
-#include <signal_handler.h>
+#include <node_signal_handler.h>
#include <assert.h>
namespace node {
#define SRC_SIGNAL_HANDLER_H_
#include <node.h>
-#include <events.h>
+#include <node_events.h>
#include <v8.h>
#include <ev.h>
-#include "node_stdio.h"
-#include "events.h"
-#include "coupling.h"
+#include <node_stdio.h>
+#include <node_events.h>
+#include <coupling.h>
#include <unistd.h>
#include <fcntl.h>
#ifndef node_stdio_h
#define node_stdio_h
-#include "node.h"
+#include <node.h>
#include <v8.h>
#include <evcom.h>
-#include "node.h"
-#include "timer.h"
+#include <node.h>
+#include <node_timer.h>
#include <assert.h>
using namespace v8;
#ifndef node_timer_h
#define node_timer_h
-#include "node.h"
-#include "events.h"
+#include <node.h>
+#include <node_events.h>
#include <v8.h>
#include <ev.h>
node.target = "node"
node.source = """
src/node.cc
- src/events.cc
- src/http.cc
- src/net.cc
+ src/node_child_process.cc
+ src/node_constants.cc
+ src/node_dns.cc
+ src/node_events.cc
+ src/node_file.cc
+ src/node_http.cc
+ src/node_net.cc
+ src/node_signal_handler.cc
src/node_stdio.cc
- src/dns.cc
- src/file.cc
- src/signal_handler.cc
- src/timer.cc
- src/child_process.cc
- src/constants.cc
+ src/node_timer.cc
"""
node.includes = """
src/