diff --git a/src/Makefile.am b/lib/Makefile.am similarity index 100% rename from src/Makefile.am rename to lib/Makefile.am diff --git a/src/test/Makefile.am b/lib/test/Makefile.am similarity index 100% rename from src/test/Makefile.am rename to lib/test/Makefile.am diff --git a/src/test/client_Echo_udp/Makefile.am b/lib/test/client_Echo_udp/Makefile.am similarity index 100% rename from src/test/client_Echo_udp/Makefile.am rename to lib/test/client_Echo_udp/Makefile.am diff --git a/src/test/server_Echo_udp/Makefile.am b/lib/test/server_Echo_udp/Makefile.am similarity index 100% rename from src/test/server_Echo_udp/Makefile.am rename to lib/test/server_Echo_udp/Makefile.am diff --git a/src/xsock.cpp b/lib/xsock.cpp similarity index 100% rename from src/xsock.cpp rename to lib/xsock.cpp diff --git a/src/xsock.h b/lib/xsock.h similarity index 100% rename from src/xsock.h rename to lib/xsock.h diff --git a/src/xsock_errors.h b/lib/xsock_errors.h similarity index 100% rename from src/xsock_errors.h rename to lib/xsock_errors.h diff --git a/src/xsock_global.h b/lib/xsock_global.h similarity index 100% rename from src/xsock_global.h rename to lib/xsock_global.h diff --git a/src/xsock_iface.h b/lib/xsock_iface.h similarity index 100% rename from src/xsock_iface.h rename to lib/xsock_iface.h diff --git a/src/xsock_tcp.cpp b/lib/xsock_tcp.cpp similarity index 100% rename from src/xsock_tcp.cpp rename to lib/xsock_tcp.cpp diff --git a/src/xsock_udp.cpp b/lib/xsock_udp.cpp similarity index 100% rename from src/xsock_udp.cpp rename to lib/xsock_udp.cpp diff --git a/src/xsock_udp_reliable.cpp b/lib/xsock_udp_reliable.cpp similarity index 100% rename from src/xsock_udp_reliable.cpp rename to lib/xsock_udp_reliable.cpp