blob: 162590330929518930c8ff15f626f91f74056636 [file] [log] [blame]
Mark Slee5b743072007-11-13 04:00:29 +00001#
David Reissea2cba82009-03-30 21:35:00 +00002# 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#
Mark Slee6e536442006-06-30 18:28:50 +000019
Roger Meierb33967b2012-01-21 09:18:05 +000020THRIFT = $(top_srcdir)/compiler/cpp/thrift
Mark Slee6e536442006-06-30 18:28:50 +000021
22stubs: ../ThriftTest.thrift
David Reissb139f642009-02-17 20:28:46 +000023 $(THRIFT) --gen php ../ThriftTest.thrift
David Reissb139f642009-02-17 20:28:46 +000024 $(THRIFT) --gen php:inlined ../ThriftTest.thrift
Mark Slee6e536442006-06-30 18:28:50 +000025
Roger Meierb33967b2012-01-21 09:18:05 +000026check: stubs
27
28clean-local:
David Reiss2ca456a2008-02-24 16:42:18 +000029 $(RM) -r gen-php gen-phpi
Roger Meierb33967b2012-01-21 09:18:05 +000030
31client: stubs
32 php TestClient.php