blob: 2c9ce2a890340e7a4ccafccd7a2d92ddf7c4c692 [file] [log] [blame]
David Reissea2cba82009-03-30 21:35:00 +00001#
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
T Jake Luciani1952e542009-02-01 04:47:30 +000020THRIFT = @top_builddir@/compiler/cpp/thrift
21THRIFT_IF = @top_srcdir@/test/ThriftTest.thrift
Jens Geyerc2145722015-04-02 22:54:02 +020022NAME_BENCHMARKSERVICE = @top_srcdir@/lib/rb/benchmark/Benchmark.thrift
23NAME_AGGR = @top_srcdir@/contrib/async-test/aggr.thrift
T Jake Luciani1952e542009-02-01 04:47:30 +000024
Jens Geyerc2145722015-04-02 22:54:02 +020025check-local: \
26 gen-perl/ThriftTest/Types.pm \
27 gen-perl/BenchmarkTest/BenchmarkService.pm \
28 gen-perl/Aggr/Aggr.pm
T Jake Luciani1952e542009-02-01 04:47:30 +000029
30gen-perl/ThriftTest/Types.pm: $(THRIFT_IF)
Jens Geyer79f988c2014-10-03 20:42:54 +020031 $(THRIFT) --gen perl $(THRIFT_IF)
T Jake Luciani1952e542009-02-01 04:47:30 +000032
33clean-local:
Jens Geyer79f988c2014-10-03 20:42:54 +020034 rm -rf gen-perl
Jens Geyerc2145722015-04-02 22:54:02 +020035
36gen-perl/BenchmarkTest/BenchmarkService.pm: $(NAME_BENCHMARKSERVICE)
37 $(THRIFT) --gen perl $(NAME_BENCHMARKSERVICE)
38
39gen-perl/Aggr/Aggr.pm: $(NAME_AGGR)
40 $(THRIFT) --gen perl $(NAME_AGGR)
T Jake Luciani1952e542009-02-01 04:47:30 +000041
Jens Geyerc2145722015-04-02 22:54:02 +020042EXTRA_DIST = memory_buffer.t processor.t multiplex.t