Permalink
Browse files

Remove http_old tcp_old

  • Loading branch information...
1 parent caa828a commit c72967d3351c4a28c3f2434748598017aa0126d5 @ry ry committed Apr 24, 2010
Showing with 8 additions and 5,703 deletions.
  1. +0 −75 deps/evcom/Makefile
  2. +0 −1,589 deps/evcom/evcom.c
  3. +0 −260 deps/evcom/evcom.h
  4. +0 −37 deps/evcom/recv_states.dot
  5. +0 −65 deps/evcom/send_states.dot
  6. +0 −100 deps/evcom/test/echo.c
  7. +0 −892 deps/evcom/test/test.c
  8. +0 −98 deps/evcom/test/timeout.rb
  9. +0 −641 lib/http_old.js
  10. +0 −26 lib/tcp_old.js
  11. +0 −30 src/node.cc
  12. +0 −1 src/node.h
  13. +4 −0 src/node_cares.cc
  14. +0 −392 src/node_http.cc
  15. +0 −68 src/node_http.h
  16. +0 −1,122 src/node_net.cc
  17. +0 −284 src/node_net.h
  18. +2 −0 src/node_net2.cc
  19. +2 −23 wscript
View
@@ -1,75 +0,0 @@
-# Define EVDIR=/foo/bar if your libev header and library files are in
-# /foo/bar/include and /foo/bar/lib directories.
-EVDIR=$(HOME)/local/libev
-
-# Define GNUTLSDIR=/foo/bar if your gnutls header and library files are in
-# /foo/bar/include and /foo/bar/lib directories.
-#
-# Comment out the following line to disable TLS
-GNUTLSDIR=/usr
-
-# CFLAGS and LDFLAGS are for the users to override from the command line.
-CFLAGS = -g -I. -Wall -Werror -Wextra #-DNDEBUG=1
-LDFLAGS =
-
-CC = gcc
-AR = ar
-RANLIB = ranlib
-
-ifdef EVDIR
- CFLAGS += -I$(EVDIR)/include
- LDFLAGS += -L$(EVDIR)/lib
-endif
-
-LDFLAGS += -lev
-
-ifdef GNUTLSDIR
- CFLAGS += -I$(GNUTLSDIR)/include -DEVCOM_HAVE_GNUTLS=1
- LDFLAGS += -L$(GNUTLSDIR)/lib
- LDFLAGS += -lgnutls
-endif
-
-DEP = evcom.h
-SRC = evcom.c
-OBJ = ${SRC:.c=.o}
-
-NAME=libevcom
-OUTPUT_A=$(NAME).a
-
-all: $(OUTPUT_A) test/test test/echo
-
-$(OUTPUT_A): $(OBJ)
- $(AR) cru $(OUTPUT_A) $(OBJ)
- $(RANLIB) $(OUTPUT_A)
-
-.c.o:
- $(CC) -c ${CFLAGS} $<
-
-${OBJ}: ${DEP}
-
-FAIL=ruby -e 'puts "\033[1;31m FAIL\033[m"'
-PASS=ruby -e 'puts "\033[1;32m PASS\033[m"'
-
-test: test/test test/echo test/timeout.rb
- @echo test.c
- @test/test > /dev/null && $(PASS) || $(FAIL)
- @echo timeout.rb
- @test/timeout.rb
-
-test/test: test/test.c $(OUTPUT_A)
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ test/test.c $(OUTPUT_A)
-
-test/echo: test/echo.c $(OUTPUT_A)
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ test/echo.c $(OUTPUT_A)
-
-send_states.png: send_states.dot
- dot -Tpng -o send_states.png send_states.dot
-
-recv_states.png: recv_states.dot
- dot -Tpng -o recv_states.png recv_states.dot
-
-clean:
- rm -rf test/test test/echo
- rm -f $(OUTPUT_A) *.o
-
-.PHONY: all clean test
Oops, something went wrong.

0 comments on commit c72967d

Please sign in to comment.