THRIFT-647. php: Add license header and fix style in Makefile.am
The attachment was made with the "licensed for inclusion" option, so it
should get a standard Apache license header. Our other makefiles use
$() style for variables and don't include extra spaces before
backslashes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940936 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/Makefile.am b/lib/php/Makefile.am
index 3dc763c..b8d7e93 100644
--- a/lib/php/Makefile.am
+++ b/lib/php/Makefile.am
@@ -1,29 +1,48 @@
-phpdir = ${PHP_PREFIX}
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+phpdir = $(PHP_PREFIX)
php_DATA = \
src/autoload.php \
src/Thrift.php
-phpextdir = ${phpdir}/ext/thrift_protocol
+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/config.m4 \
+ src/ext/thrift_protocol/php_thrift_protocol.cpp \
src/ext/thrift_protocol/php_thrift_protocol.h
-phpprotocoldir = ${phpdir}/protocol
+phpprotocoldir = $(phpdir)/protocol
phpprotocol_DATA = \
- src/protocol/TBinaryProtocol.php \
+ src/protocol/TBinaryProtocol.php \
src/protocol/TProtocol.php
-phptransportdir = ${phpdir}/transport
+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/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