2009-03-30 21:35:00 +00:00
|
|
|
#
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
|
|
|
#
|
|
|
|
|
2008-02-06 22:10:12 +00:00
|
|
|
THRIFTCODE= \
|
2009-02-13 03:09:52 +00:00
|
|
|
src/Collections/THashSet.cs \
|
2013-04-29 20:10:10 +00:00
|
|
|
src/Collections/TCollections.cs \
|
2011-11-16 12:58:36 +00:00
|
|
|
src/Properties/AssemblyInfo.cs \
|
2013-04-23 02:28:56 +00:00
|
|
|
src/Protocol/TAbstractBase.cs \
|
2009-02-03 22:16:46 +00:00
|
|
|
src/Protocol/TBase.cs \
|
2010-09-18 20:51:25 +00:00
|
|
|
src/Protocol/TBase64Utils.cs \
|
|
|
|
src/Protocol/TJSONProtocol.cs \
|
2008-02-06 22:10:12 +00:00
|
|
|
src/Protocol/TProtocolException.cs \
|
|
|
|
src/Protocol/TProtocolFactory.cs \
|
|
|
|
src/Protocol/TList.cs \
|
|
|
|
src/Protocol/TSet.cs \
|
|
|
|
src/Protocol/TMap.cs \
|
|
|
|
src/Protocol/TProtocolUtil.cs \
|
|
|
|
src/Protocol/TMessageType.cs \
|
|
|
|
src/Protocol/TProtocol.cs \
|
2013-05-08 16:46:57 +00:00
|
|
|
src/Protocol/TProtocolDecorator.cs \
|
|
|
|
src/Protocol/TMultiplexedProtocol.cs \
|
|
|
|
src/Protocol/TMultiplexedProcessor.cs \
|
2008-02-06 22:10:12 +00:00
|
|
|
src/Protocol/TType.cs \
|
|
|
|
src/Protocol/TField.cs \
|
|
|
|
src/Protocol/TMessage.cs \
|
|
|
|
src/Protocol/TStruct.cs \
|
|
|
|
src/Protocol/TBinaryProtocol.cs \
|
2012-10-11 00:20:00 +00:00
|
|
|
src/Protocol/TCompactProtocol.cs \
|
2009-02-03 22:16:46 +00:00
|
|
|
src/Server/TThreadedServer.cs \
|
2008-02-06 22:10:12 +00:00
|
|
|
src/Server/TThreadPoolServer.cs \
|
|
|
|
src/Server/TSimpleServer.cs \
|
|
|
|
src/Server/TServer.cs \
|
2009-02-03 21:20:55 +00:00
|
|
|
src/Transport/TBufferedTransport.cs \
|
2008-02-06 22:10:12 +00:00
|
|
|
src/Transport/TTransport.cs \
|
|
|
|
src/Transport/TSocket.cs \
|
|
|
|
src/Transport/TTransportException.cs \
|
|
|
|
src/Transport/TStreamTransport.cs \
|
2009-11-11 18:32:25 +00:00
|
|
|
src/Transport/TFramedTransport.cs \
|
2008-02-06 22:10:12 +00:00
|
|
|
src/Transport/TServerTransport.cs \
|
|
|
|
src/Transport/TServerSocket.cs \
|
|
|
|
src/Transport/TTransportFactory.cs \
|
2010-06-24 20:34:34 +00:00
|
|
|
src/Transport/THttpClient.cs \
|
2011-04-13 21:09:02 +00:00
|
|
|
src/Transport/THttpHandler.cs \
|
2013-04-25 21:53:08 +00:00
|
|
|
src/Transport/TMemoryBuffer.cs \
|
2014-03-19 22:52:18 +00:00
|
|
|
src/Transport/TNamedPipeClientTransport.cs \
|
|
|
|
src/Transport/TNamedPipeServerTransport.cs \
|
2008-02-06 22:10:12 +00:00
|
|
|
src/TProcessor.cs \
|
2013-06-20 19:48:21 +00:00
|
|
|
src/TException.cs \
|
2008-02-06 22:10:12 +00:00
|
|
|
src/TApplicationException.cs
|
|
|
|
|
2008-04-02 22:09:03 +00:00
|
|
|
CSC=gmcs
|
2008-02-06 22:10:12 +00:00
|
|
|
|
2009-02-13 03:09:52 +00:00
|
|
|
if NET_2_0
|
|
|
|
MONO_DEFINES=/d:NET_2_0
|
|
|
|
endif
|
|
|
|
|
2008-02-24 17:45:03 +00:00
|
|
|
all-local: Thrift.dll
|
2008-02-06 22:10:12 +00:00
|
|
|
|
|
|
|
Thrift.dll: $(THRIFTCODE)
|
2011-04-14 01:42:12 +00:00
|
|
|
$(CSC) $(THRIFTCODE) /out:Thrift.dll /target:library /reference:System.Web $(MONO_DEFINES)
|
2008-02-06 22:10:12 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
$(RM) Thrift.dll
|
2008-02-06 22:10:26 +00:00
|
|
|
|
2013-05-09 13:23:48 +00:00
|
|
|
# run csharp tests?
|
|
|
|
# check:
|
|
|
|
# cd test/ThriftTest && ./maketest.sh
|
|
|
|
# cd test/Multiplex && ./maketest.sh
|
|
|
|
|
2008-02-06 22:10:26 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(THRIFTCODE) \
|
|
|
|
ThriftMSBuildTask \
|
|
|
|
src/Thrift.csproj \
|
2012-10-11 00:20:00 +00:00
|
|
|
src/Thrift.sln \
|
|
|
|
src/Thrift.WP7.csproj \
|
2013-05-09 13:23:48 +00:00
|
|
|
src/Properties/AssemblyInfo.WP7.cs \
|
|
|
|
test
|