aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-11-30 22:35:43 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-11-30 22:35:43 +0100
commit76d6838223718a5432baddb4fa5b3e82440c9ff2 (patch)
tree87ab207db64dc0d1772d273ffc5749cfe0820581 /tests/Makefile
parent0bfb9d476c3dfc1ed74763665611891bcc277e9e (diff)
downloadlibssh-76d6838223718a5432baddb4fa5b3e82440c9ff2.tar.gz
libssh-76d6838223718a5432baddb4fa5b3e82440c9ff2.tar.xz
libssh-76d6838223718a5432baddb4fa5b3e82440c9ff2.zip
Some brain surgery to add event-based sockets
chapter 1- SSH Socket Connections. I would like to be able to -Have a ssh_poll_ctx object -Add a ssh socket over it -launch the socket connection (using socket functions) -ssh_poll_ctx_dopoll() -Wait for the timeout or have the "connected" callback called
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1ec30d6a..67353465 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,4 +1,4 @@
-all: test_tunnel test_exec test_pcap
+all: test_socket test_tunnel test_exec test_pcap
CFLAGS=-I../include/ -g -Wall
LDFLAGS=-lssh -L../build/libssh/
@@ -8,6 +8,10 @@ test_tunnel: test_tunnel.o authentication.o connection.o
test_exec: test_exec.o authentication.o connection.o
gcc -o $@ $^ $(LDFLAGS)
+test_socket: test_socket.o
+ gcc -o $@ $^ $(LDFLAGS)
+
+
test_pcap: test_pcap.o
gcc -o $@ $^ $(LDFLAGS)