THRIFT-647. php: PHP library is missing install target
This patch adds a 'make install' target to a new PHP makefile.
Patch: Anthony Molinaro
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940325 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/Makefile.am b/lib/php/Makefile.am
new file mode 100644
index 0000000..3dc763c
--- /dev/null
+++ b/lib/php/Makefile.am
@@ -0,0 +1,29 @@
+phpdir = ${PHP_PREFIX}
+php_DATA = \
+ src/autoload.php \
+ src/Thrift.php
+
+phpextdir = ${phpdir}/ext/thrift_protocol
+phpext_DATA = \
+ src/ext/thrift_protocol/config.m4 \
+ src/ext/thrift_protocol/php_thrift_protocol.cpp \
+ src/ext/thrift_protocol/php_thrift_protocol.h
+
+phpprotocoldir = ${phpdir}/protocol
+phpprotocol_DATA = \
+ src/protocol/TBinaryProtocol.php \
+ src/protocol/TProtocol.php
+
+phptransportdir = ${phpdir}/transport
+phptransport_DATA = \
+ src/transport/TBufferedTransport.php \
+ src/transport/TFramedTransport.php \
+ src/transport/THttpClient.php \
+ src/transport/TMemoryBuffer.php \
+ src/transport/TNullTransport.php \
+ src/transport/TPhpStream.php \
+ src/transport/TSocket.php \
+ src/transport/TSocketPool.php \
+ src/transport/TTransport.php
+
+MAINTAINERCLEANFILES = Makefile Makefile.in