blob: 5e60ab40aee7901885cbe18eabd0ac321f27d3c0 [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
James E. King, III8101f002017-12-09 10:10:03 -050020use 5.10.0;
21use strict;
22use warnings;
23
Mark Slee254ce202007-05-16 02:21:06 +000024use ExtUtils::MakeMaker;
James E. King, III8101f002017-12-09 10:10:03 -050025
James E. King, III177c37c2017-03-30 17:09:04 -040026WriteMakefile( ABSTRACT => 'Apache Thrift is a software framework for scalable cross-language services development.',
27 AUTHOR => 'Apache Thrift <dev@thrift.apache.org>',
28 LICENSE => 'apache_2_0',
29 MIN_PERL_VERSION => '5.010000',
30 NAME => 'Thrift',
31 NEEDS_LINKING => 0,
James E. King, IIIf3490c52017-01-27 09:43:18 -050032 PREREQ_PM => {
James E. King, III177c37c2017-03-30 17:09:04 -040033 'Bit::Vector' => 0,
34 'Class::Accessor' => 0
Mark Slee254ce202007-05-16 02:21:06 +000035 },
James E. King IIIbbc13772019-01-14 12:07:10 -050036# SIGN => 1,
James E. King, III177c37c2017-03-30 17:09:04 -040037 VERSION_FROM => 'lib/Thrift.pm' );
James E. King IIIbbc13772019-01-14 12:07:10 -050038
39# THRIFT-4691
40package MY; # so that "SUPER" works right
41sub test {
42 # Adds gen-perl and gen-perl2 to the test execution as include paths
43 # Could not find anything in MakeMaker that would do this...
44 my @result;
45 for (@result = shift->SUPER::test(@_)) {
46 s/\$\(TEST_FILES\)/-Igen-perl -Igen-perl2 \$(TEST_FILES)/ig;
47 }
48 @result;
49}