You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2010/05/04 18:32:33 UTC

svn commit: r940936 - /incubator/thrift/trunk/lib/php/Makefile.am

Author: dreiss
Date: Tue May  4 16:32:33 2010
New Revision: 940936

URL: http://svn.apache.org/viewvc?rev=940936&view=rev
Log:
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.

Modified:
    incubator/thrift/trunk/lib/php/Makefile.am

Modified: incubator/thrift/trunk/lib/php/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/Makefile.am?rev=940936&r1=940935&r2=940936&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/Makefile.am (original)
+++ incubator/thrift/trunk/lib/php/Makefile.am Tue May  4 16:32:33 2010
@@ -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