]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/thrift/lib/php/Makefile.am
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / thrift / lib / php / Makefile.am
CommitLineData
f67539c2
TL
1#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20
21if WITH_TESTS
22SUBDIRS = test
23endif
24
25if WITH_PHP_EXTENSION
26%.so:
27 cd src/ext/thrift_protocol/ && $(MAKE)
28
29phpconfdir=$(PHP_CONFIG_PREFIX)
30phpconf_DATA=thrift_protocol.ini
31
32phpmoduledir = `php-config --extension-dir`
33phpmodule_SCRIPTS = src/ext/thrift_protocol/modules/thrift_protocol.so
34
35distclean-local:
36 if [ -f src/ext/thrift_protocol/Makefile ]; then cd src/ext/thrift_protocol/ && $(MAKE) distclean; fi
37 cd $(phpmodule_SCRIPTS) && $(PHPIZE) --clean
38
39endif
40
41phpdir = $(PHP_PREFIX)/
42php_DATA = \
43 lib/TMultiplexedProcessor.php
44
45phpbasedir = $(phpdir)/Base
46phpbase_DATA = \
47 lib/Base/TBase.php
48
49phpclassloaderdir = $(phpdir)/ClassLoader
50phpclassloader_DATA = \
51 lib/ClassLoader/ThriftClassLoader.php
52
53phpexceptiondir = $(phpdir)/Exception
54phpexception_DATA = \
55 lib/Exception/TApplicationException.php \
56 lib/Exception/TException.php \
57 lib/Exception/TProtocolException.php \
58 lib/Exception/TTransportException.php
59
60phpfactorydir = $(phpdir)/Factory
61phpfactory_DATA = \
62 lib/Factory/TBinaryProtocolFactory.php \
63 lib/Factory/TCompactProtocolFactory.php \
64 lib/Factory/TJSONProtocolFactory.php \
65 lib/Factory/TProtocolFactory.php \
66 lib/Factory/TStringFuncFactory.php \
67 lib/Factory/TTransportFactory.php
68
69phpprotocoldir = $(phpdir)/Protocol
70phpprotocol_DATA = \
71 lib/Protocol/TBinaryProtocolAccelerated.php \
72 lib/Protocol/TBinaryProtocol.php \
73 lib/Protocol/TCompactProtocol.php \
74 lib/Protocol/TJSONProtocol.php \
75 lib/Protocol/TMultiplexedProtocol.php \
76 lib/Protocol/TProtocol.php \
77 lib/Protocol/TProtocolDecorator.php \
78 lib/Protocol/TSimpleJSONProtocol.php
79
80phpprotocoljsondir = $(phpprotocoldir)/JSON
81phpprotocoljson_DATA = \
82 lib/Protocol/JSON/BaseContext.php \
83 lib/Protocol/JSON/ListContext.php \
84 lib/Protocol/JSON/LookaheadReader.php \
85 lib/Protocol/JSON/PairContext.php
86
87phpprotocolsimplejsondir = $(phpprotocoldir)/SimpleJSON
88phpprotocolsimplejson_DATA = \
89 lib/Protocol/SimpleJSON/CollectionMapKeyException.php \
90 lib/Protocol/SimpleJSON/Context.php \
91 lib/Protocol/SimpleJSON/ListContext.php \
92 lib/Protocol/SimpleJSON/MapContext.php \
93 lib/Protocol/SimpleJSON/StructContext.php
94
95phpserializerdir = $(phpdir)/Serializer
96phpserializer_DATA = \
97 lib/Serializer/TBinarySerializer.php
98
99phpserverdir = $(phpdir)/Server
100phpserver_DATA = \
101 lib/Server/TServerSocket.php \
102 lib/Server/TForkingServer.php \
103 lib/Server/TServer.php \
104 lib/Server/TServerTransport.php \
105 lib/Server/TSimpleServer.php
106
107phpstringfuncdir = $(phpdir)/StringFunc
108phpstringfunc_DATA = \
109 lib/StringFunc/Mbstring.php \
110 lib/StringFunc/Core.php \
111 lib/StringFunc/TStringFunc.php
112
113phptransportdir = $(phpdir)/Transport
114phptransport_DATA = \
115 lib/Transport/TBufferedTransport.php \
116 lib/Transport/TCurlClient.php \
117 lib/Transport/TFramedTransport.php \
118 lib/Transport/THttpClient.php \
119 lib/Transport/TMemoryBuffer.php \
120 lib/Transport/TNullTransport.php \
121 lib/Transport/TPhpStream.php \
122 lib/Transport/TSocket.php \
123 lib/Transport/TSocketPool.php \
124 lib/Transport/TTransport.php
125
126phptypedir = $(phpdir)/Type
127phptype_DATA = \
128 lib/Type/TMessageType.php \
129 lib/Type/TType.php \
130 lib/Type/TConstant.php
131
132clean-local:
133 if [ -f src/ext/thrift_protocol/Makefile ]; then cd src/ext/thrift_protocol/ && $(MAKE) clean; fi
134
135
136EXTRA_DIST = \
137 lib \
138 src/autoload.php \
139 src/ext/thrift_protocol/config.m4 \
140 src/ext/thrift_protocol/config.w32 \
141 src/ext/thrift_protocol/php_thrift_protocol.cpp \
142 src/ext/thrift_protocol/php_thrift_protocol.h \
143 src/Thrift.php \
144 src/TStringUtils.php \
145 coding_standards.md \
146 thrift_protocol.ini \
147 README.apache.md \
148 README.md
149
150MAINTAINERCLEANFILES = \
151 Makefile.in
152