David Reiss | 1873fed | 2010-05-04 16:32:33 +0000 | [diff] [blame] | 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 | |
Bryan Duxbury | 89200e1 | 2010-08-25 17:09:02 +0000 | [diff] [blame] | 20 | %.so: |
| 21 | cd src/ext/thrift_protocol/ \ |
| 22 | && $(MAKE) |
| 23 | |
| 24 | if WITH_PHP_EXTENSION |
| 25 | phpconfdir=$(PHP_CONFIG_PREFIX) |
| 26 | phpconf_DATA=thrift_protocol.ini |
| 27 | |
| 28 | phpmoduledir = `php-config --extension-dir` |
| 29 | phpmodule_SCRIPTS = src/ext/thrift_protocol/modules/thrift_protocol.so |
| 30 | endif |
| 31 | |
David Reiss | 1873fed | 2010-05-04 16:32:33 +0000 | [diff] [blame] | 32 | phpdir = $(PHP_PREFIX) |
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 33 | php_DATA = \ |
| 34 | src/autoload.php \ |
| 35 | src/Thrift.php |
| 36 | |
David Reiss | 1873fed | 2010-05-04 16:32:33 +0000 | [diff] [blame] | 37 | phpprotocoldir = $(phpdir)/protocol |
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 38 | phpprotocol_DATA = \ |
David Reiss | 1873fed | 2010-05-04 16:32:33 +0000 | [diff] [blame] | 39 | src/protocol/TBinaryProtocol.php \ |
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 40 | src/protocol/TProtocol.php |
| 41 | |
David Reiss | 1873fed | 2010-05-04 16:32:33 +0000 | [diff] [blame] | 42 | phptransportdir = $(phpdir)/transport |
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 43 | phptransport_DATA = \ |
David Reiss | 1873fed | 2010-05-04 16:32:33 +0000 | [diff] [blame] | 44 | src/transport/TBufferedTransport.php \ |
| 45 | src/transport/TFramedTransport.php \ |
| 46 | src/transport/THttpClient.php \ |
| 47 | src/transport/TMemoryBuffer.php \ |
| 48 | src/transport/TNullTransport.php \ |
| 49 | src/transport/TPhpStream.php \ |
| 50 | src/transport/TSocket.php \ |
| 51 | src/transport/TSocketPool.php \ |
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 52 | src/transport/TTransport.php |
| 53 | |
David Reiss | 653eada | 2010-10-05 02:38:58 +0000 | [diff] [blame^] | 54 | EXTRA_DIST = src thrift_protocol.ini README.apache |
| 55 | |
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 56 | MAINTAINERCLEANFILES = Makefile Makefile.in |