]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/thrift/test/Makefile.am
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / thrift / test / 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
20SUBDIRS = features
21PRECROSS_TARGET =
22
23if WITH_C_GLIB
24SUBDIRS += c_glib
25PRECROSS_TARGET += precross-c_glib
26endif
27
28if WITH_CL
29SUBDIRS += cl
30PRECROSS_TARGET += precross-cl
31endif
32
33if WITH_MONO
34SUBDIRS += csharp
35PRECROSS_TARGET += precross-csharp
36endif
37
38if WITH_CPP
39SUBDIRS += cpp
40PRECROSS_TARGET += precross-cpp
41endif
42
43if WITH_PERL
44SUBDIRS += perl
45PRECROSS_TARGET += precross-perl
46endif
47
48if WITH_PHP
49SUBDIRS += php
50PRECROSS_TARGET += precross-php
51endif
52
53if WITH_DART
54SUBDIRS += dart
55PRECROSS_TARGET += precross-dart
56endif
57
58if WITH_PYTHON
59SUBDIRS += py
60PRECROSS_TARGET += precross-py
61SUBDIRS += py.tornado
62if WITH_TWISTED_TEST
63SUBDIRS += py.twisted
64endif
65endif
66
67if WITH_RUBY
68SUBDIRS += rb
69PRECROSS_TARGET += precross-rb
70endif
71
72if WITH_HASKELL
73SUBDIRS += hs
74endif
75
76if WITH_HAXE
77SUBDIRS += haxe
78endif
79
80if WITH_DOTNET
81SUBDIRS += netcore
82SUBDIRS += netstd
83endif
84
85if WITH_GO
86SUBDIRS += go
87PRECROSS_TARGET += precross-go
88endif
89
90if WITH_ERLANG
91SUBDIRS += erl
92PRECROSS_TARGET += precross-erl
93endif
94
95if WITH_LUA
96SUBDIRS += lua
97PRECROSS_TARGET += precross-lua
98endif
99
100if WITH_RS
101SUBDIRS += rs
102PRECROSS_TARGET += precross-rs
103endif
104
105#
106# generate html for ThriftTest.thrift AND validate it!
107#
108if WITH_NODEJS
109check-local:
110 $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
111 $(top_builddir)/node_modules/.bin/html-validator --file=gen-html/index.html --verbose
112 $(top_builddir)/node_modules/.bin/html-validator --file=gen-html/ThriftTest.html --verbose
113else
114check-local:
115 $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
116endif
117
118clean-local:
119 $(RM) -r $(top_srcdir)/test/gen-html/
120 find . -type d -name "__pycache__" | xargs rm -rf
121 find . -type f -name "*.pyc" | xargs rm -f
122
123dist-hook:
124 $(RM) -r $(distdir)/gen-html/
125 find $(distdir) -type d -name "__pycache__" | xargs rm -rf
126 find $(distdir) -type f -name "*.pyc" | xargs rm -f
127
128EXTRA_DIST = \
129 audit \
130 c_glib \
131 cl \
132 cpp \
133 crossrunner \
134 dart \
135 erl \
136 hs \
137 keys \
138 lua \
139 ocaml \
140 perl \
141 php \
142 py \
143 py.tornado \
144 py.twisted \
145 rb \
146 rs \
147 threads \
148 AnnotationTest.thrift \
149 BrokenConstants.thrift \
150 ConstantsDemo.thrift \
151 DebugProtoTest.thrift \
152 DenseLinkingTest.thrift \
153 DocTest.thrift \
154 DoubleConstantsTest.thrift \
155 EnumContainersTest.thrift \
156 EnumTest.thrift \
157 FullCamelTest.thrift \
158 Include.thrift \
159 Int64Test.thrift \
160 JavaBeansTest.thrift \
161 JavaBinaryDefault.thrift \
162 JavaDeepCopyTest.thrift \
163 JavaTypes.thrift \
164 JsDeepConstructorTest.thrift \
165 ManyOptionals.thrift \
166 ManyTypedefs.thrift \
167 NameConflictTest.thrift \
168 OptionalRequiredTest.thrift \
169 Recursive.thrift \
170 ReuseObjects.thrift \
171 SmallTest.thrift \
172 StressTest.thrift \
173 ThriftTest.thrift \
174 TypedefTest.thrift \
175 UnsafeTypes.thrift \
176 known_failures_Linux.json \
177 test.py \
178 tests.json \
179 rebuild_known_failures.sh \
180 result.js \
181 index.html \
182 README.md \
183 valgrind.suppress
184
185precross-%:
186 $(MAKE) -C $* precross
187precross: $(PRECROSS_TARGET)