commit | 4e0d962693645a202bc47c0bc01b0a2c3660d70d | [log] [tgz] |
---|---|---|
author | Mark Slee <mcslee@apache.org> | Mon Jun 26 23:56:08 2006 +0000 |
committer | Mark Slee <mcslee@apache.org> | Mon Jun 26 23:56:08 2006 +0000 |
tree | d792c60f63bf53a89c2d30b8d90ec7973a802ec2 | |
parent | f3c322b4a36ca67e77d53ae0bf337853812e4f14 [diff] |
Thrift: move /lib/cpp code into /lib/cpp/src Summary: Clean separation of src and buildfiles etc. is key Reviewed By: aditya git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664719 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/Makefile b/lib/cpp/Makefile index f77c493..15664fa 100644 --- a/lib/cpp/Makefile +++ b/lib/cpp/Makefile
@@ -12,14 +12,14 @@ # Tools LD = g++ -LDFL = -shared -Wall -I. -fPIC -Wl,-soname=libthrift.so +LDFL = -shared -Wall -Isrc -fPIC -Wl,-soname=libthrift.so # Source files -SRCS = protocol/TBinaryProtocol.cc \ - transport/TBufferedTransport.cc \ - transport/TSocket.cc \ - transport/TServerSocket.cc \ - server/TSimpleServer.cc +SRCS = src/protocol/TBinaryProtocol.cc \ + src/transport/TBufferedTransport.cc \ + src/transport/TSocket.cc \ + src/transport/TServerSocket.cc \ + src/server/TSimpleServer.cc # Linked library libthrift:
diff --git a/lib/cpp/TProcessor.h b/lib/cpp/src/TProcessor.h similarity index 100% rename from lib/cpp/TProcessor.h rename to lib/cpp/src/TProcessor.h
diff --git a/lib/cpp/Thrift.h b/lib/cpp/src/Thrift.h similarity index 100% rename from lib/cpp/Thrift.h rename to lib/cpp/src/Thrift.h
diff --git a/lib/cpp/protocol/TBinaryProtocol.cc b/lib/cpp/src/protocol/TBinaryProtocol.cc similarity index 100% rename from lib/cpp/protocol/TBinaryProtocol.cc rename to lib/cpp/src/protocol/TBinaryProtocol.cc
diff --git a/lib/cpp/protocol/TBinaryProtocol.h b/lib/cpp/src/protocol/TBinaryProtocol.h similarity index 100% rename from lib/cpp/protocol/TBinaryProtocol.h rename to lib/cpp/src/protocol/TBinaryProtocol.h
diff --git a/lib/cpp/protocol/TProtocol.h b/lib/cpp/src/protocol/TProtocol.h similarity index 100% rename from lib/cpp/protocol/TProtocol.h rename to lib/cpp/src/protocol/TProtocol.h
diff --git a/lib/cpp/server/TServer.h b/lib/cpp/src/server/TServer.h similarity index 100% rename from lib/cpp/server/TServer.h rename to lib/cpp/src/server/TServer.h
diff --git a/lib/cpp/server/TSimpleServer.cc b/lib/cpp/src/server/TSimpleServer.cc similarity index 100% rename from lib/cpp/server/TSimpleServer.cc rename to lib/cpp/src/server/TSimpleServer.cc
diff --git a/lib/cpp/server/TSimpleServer.h b/lib/cpp/src/server/TSimpleServer.h similarity index 100% rename from lib/cpp/server/TSimpleServer.h rename to lib/cpp/src/server/TSimpleServer.h
diff --git a/lib/cpp/transport/TBufferedTransport.cc b/lib/cpp/src/transport/TBufferedTransport.cc similarity index 100% rename from lib/cpp/transport/TBufferedTransport.cc rename to lib/cpp/src/transport/TBufferedTransport.cc
diff --git a/lib/cpp/transport/TBufferedTransport.h b/lib/cpp/src/transport/TBufferedTransport.h similarity index 100% rename from lib/cpp/transport/TBufferedTransport.h rename to lib/cpp/src/transport/TBufferedTransport.h
diff --git a/lib/cpp/transport/TNullTransport.h b/lib/cpp/src/transport/TNullTransport.h similarity index 100% rename from lib/cpp/transport/TNullTransport.h rename to lib/cpp/src/transport/TNullTransport.h
diff --git a/lib/cpp/transport/TServerSocket.cc b/lib/cpp/src/transport/TServerSocket.cc similarity index 100% rename from lib/cpp/transport/TServerSocket.cc rename to lib/cpp/src/transport/TServerSocket.cc
diff --git a/lib/cpp/transport/TServerSocket.h b/lib/cpp/src/transport/TServerSocket.h similarity index 100% rename from lib/cpp/transport/TServerSocket.h rename to lib/cpp/src/transport/TServerSocket.h
diff --git a/lib/cpp/transport/TServerTransport.h b/lib/cpp/src/transport/TServerTransport.h similarity index 100% rename from lib/cpp/transport/TServerTransport.h rename to lib/cpp/src/transport/TServerTransport.h
diff --git a/lib/cpp/transport/TSocket.cc b/lib/cpp/src/transport/TSocket.cc similarity index 100% rename from lib/cpp/transport/TSocket.cc rename to lib/cpp/src/transport/TSocket.cc
diff --git a/lib/cpp/transport/TSocket.h b/lib/cpp/src/transport/TSocket.h similarity index 100% rename from lib/cpp/transport/TSocket.h rename to lib/cpp/src/transport/TSocket.h
diff --git a/lib/cpp/transport/TTransport.h b/lib/cpp/src/transport/TTransport.h similarity index 100% rename from lib/cpp/transport/TTransport.h rename to lib/cpp/src/transport/TTransport.h
diff --git a/lib/cpp/transport/TTransportException.h b/lib/cpp/src/transport/TTransportException.h similarity index 100% rename from lib/cpp/transport/TTransportException.h rename to lib/cpp/src/transport/TTransportException.h