blob: aa35c6e936e4b4e921d261ebfadb7cf312ee5e31 [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
20# Default target is everything
21target: all
22
23# Tools
Mark Slee6f5e2cb2007-01-25 08:01:28 +000024THRIFT = ../../compiler/cpp/thrift
Mark Slee6e536442006-06-30 18:28:50 +000025
Mark Sleed3d733a2006-09-01 22:19:06 +000026all: normal inline
Mark Slee6e536442006-06-30 18:28:50 +000027
Mark Sleed3d733a2006-09-01 22:19:06 +000028normal: stubs
29
30inline: stubs-inline
Mark Slee6e536442006-06-30 18:28:50 +000031
32stubs: ../ThriftTest.thrift
David Reissb139f642009-02-17 20:28:46 +000033 $(THRIFT) --gen php ../ThriftTest.thrift
Mark Sleed3d733a2006-09-01 22:19:06 +000034
35stubs-inline: ../ThriftTest.thrift
David Reissb139f642009-02-17 20:28:46 +000036 $(THRIFT) --gen php:inlined ../ThriftTest.thrift
Mark Slee6e536442006-06-30 18:28:50 +000037
38clean:
David Reiss2ca456a2008-02-24 16:42:18 +000039 $(RM) -r gen-php gen-phpi