diff --git a/Packaging/Files/build_examples.cmake b/Packaging/Files/build_examples.cmake
index 71e330198058b4476bb30161e820b39bbfd2acb2..b82974a116a629549bacd082c2ccba4fb5cc4a8a 100644
--- a/Packaging/Files/build_examples.cmake
+++ b/Packaging/Files/build_examples.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 if(NOT SRC_DIR)
   message(FATAL_ERROR "SRC_DIR is not set")
 endif()
diff --git a/Packaging/Files/mapla.bat b/Packaging/Files/mapla.bat
index 0edfc672386d2edaeb47848e9005914ee4df201b..effa3d60598366b0f024d82e43cd6e42a2ca01aa 100644
--- a/Packaging/Files/mapla.bat
+++ b/Packaging/Files/mapla.bat
@@ -1,3 +1,22 @@
+::
+:: Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+::
+:: This file is part of Orfeo Toolbox
+::
+::   https://www.orfeo-toolbox.org/
+::
+:: Licensed 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.
+
 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 :: Mapla launcher to set up proper environment
 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
diff --git a/Packaging/Files/monteverdi.bat b/Packaging/Files/monteverdi.bat
index d22fee191e7102ebc2a2978c76ab92af57bad4ad..acc92592201f669ba70d2e0ac83535f28b4e2bea 100644
--- a/Packaging/Files/monteverdi.bat
+++ b/Packaging/Files/monteverdi.bat
@@ -1,3 +1,22 @@
+::
+:: Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+::
+:: This file is part of Orfeo Toolbox
+::
+::    https://www.orfeo-toolbox.org/
+::
+:: Licensed 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.
+
 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 :: Monteverdi launcher to set up proper environment
 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
diff --git a/Packaging/Files/otbenv.bash b/Packaging/Files/otbenv.bash
index 98fee914091dac2d2e1e2336ecb3b8a2bc578952..50151f649790ef8855ce9158ae6de36ea211a2c0 100644
--- a/Packaging/Files/otbenv.bash
+++ b/Packaging/Files/otbenv.bash
@@ -1,4 +1,26 @@
 #!/usr/bin/env bash
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
+
+# The below environment variables only affect current shell
+# So if you run again from a terminal. you need to run the script again
+# see how this is sourced in monteverdi.sh and mapla.sh
 
 CURRENT_DIR=$(cd -P -- "$(dirname -- "$BASH_SOURCE")" && printf '%s\n' "$(pwd -P)")
 
diff --git a/Packaging/Files/otbenv.bat b/Packaging/Files/otbenv.bat
index 63d193879542c70d4663a6ff46967a2e4963c33e..dbc42eea3155aa222d7143e16315302ca7e91a9a 100644
--- a/Packaging/Files/otbenv.bat
+++ b/Packaging/Files/otbenv.bat
@@ -1,3 +1,22 @@
+::
+:: Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+::
+:: This file is part of Orfeo Toolbox
+::
+::   https://www.orfeo-toolbox.org/
+::
+:: Licensed 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.
+
 :: Setup environment for OTB package
 set CURRENT_SCRIPT_DIR=%~dp0
 
diff --git a/Packaging/Files/otbenv.profile b/Packaging/Files/otbenv.profile
index d99bdf64c375a210f28e5564b5e0add67479ee22..191121e411efbe133bd2a458e1fc2e9bd705e684 100644
--- a/Packaging/Files/otbenv.profile
+++ b/Packaging/Files/otbenv.profile
@@ -1,5 +1,4 @@
 #!/bin/sh
-
 #
 # Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
 #
diff --git a/Packaging/Files/selftester.bat b/Packaging/Files/selftester.bat
index 39289d9d518145ebb2a74c8496ba258d56b371f1..756b3f793d5f2138a0774bc93ffba25798890879 100755
--- a/Packaging/Files/selftester.bat
+++ b/Packaging/Files/selftester.bat
@@ -1,4 +1,21 @@
 @echo off
+::  Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+:: 
+::  This file is part of Orfeo Toolbox
+:: 
+::      https://www.orfeo-toolbox.org/
+:: 
+::  Licensed 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.
 
 rem set EXIT_ON_ERROR=0
 rem set TEST_VERBOSE=1
diff --git a/Packaging/Files/selftester.sh b/Packaging/Files/selftester.sh
index 33f5f842baab14f182963cb48b988c70f5a82c9b..0969d903d1798d68d85dbd58ef38dcd72687c134 100755
--- a/Packaging/Files/selftester.sh
+++ b/Packaging/Files/selftester.sh
@@ -1,5 +1,23 @@
 #!/bin/sh
-
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 # Setup test environment
 CUR_DIR="$( cd "$( dirname "$0" )/../" && pwd )"
 echo "CUR_DIR=$CUR_DIR"
diff --git a/Packaging/Files/uninstall_otb.bat b/Packaging/Files/uninstall_otb.bat
index 74ba96b7a120d4781dd36fd2e30d36f9ecf8482b..b437444cee283e5945f207b8995922a82ec69664 100644
--- a/Packaging/Files/uninstall_otb.bat
+++ b/Packaging/Files/uninstall_otb.bat
@@ -1,22 +1,24 @@
-:: uninstall script for OTB
-::  Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
 :: 
-::  This file is part of Orfeo Toolbox
+:: Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+::
+:: This file is part of Orfeo Toolbox
 :: 
-::      https://www.orfeo-toolbox.org/
-:: 
-::  Licensed 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,
+::    https://www.orfeo-toolbox.org/
+::
+:: Licensed 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.
 
+:: script to uninstall OTB
+
 setlocal
 set CUR_DIR=%~dp0
 cd %CUR_DIR%..
diff --git a/Packaging/cleanup_package.cmake b/Packaging/cleanup_package.cmake
index 6588d7e708bbfcbf05419a85650f64f4ab767c70..e7bae3164be1bc63518ea67f08bbc9351c58a879 100644
--- a/Packaging/cleanup_package.cmake
+++ b/Packaging/cleanup_package.cmake
@@ -1,3 +1,23 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
+
 macro(cleanup_package)
 
 if(EXISTS "${CMAKE_INSTALL_PREFIX}/${PKG_STAGE_DIR}")
diff --git a/Packaging/clear_cmakecache_variables.cmake b/Packaging/clear_cmakecache_variables.cmake
index bac2fd065f7941b75bcd692a60339c94675bbd3e..e4418c001a9463399b759e1c09a57644bcad4750 100644
--- a/Packaging/clear_cmakecache_variables.cmake
+++ b/Packaging/clear_cmakecache_variables.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 macro(clear_cmakecache_variables)
 unset(matched_vars CACHE)
   get_variables_ending_with("_USED|_RESOLVED" matched_vars)
diff --git a/Packaging/configure_loader.cmake b/Packaging/configure_loader.cmake
index 7fb0f7548b2188c9fa8ca5c07c740351657e04af..74f70943120ce26bc2ab2c15ada68e4acba1e69f 100644
--- a/Packaging/configure_loader.cmake
+++ b/Packaging/configure_loader.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(configure_loader loader_pgm_result loader_args_result loader_regex_result)
 set(loader_PATHS)
 if(MSVC)
diff --git a/Packaging/create_package.cmake b/Packaging/create_package.cmake
index 55e3abf1bed63e28857f519eba554b1cde2726ba..d53e0181089311cc153da9032c5d7d0ef506e774 100644
--- a/Packaging/create_package.cmake
+++ b/Packaging/create_package.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 macro(create_package)
   install(CODE "
     message(STATUS \"Creating ${PACKAGE_OUTPUT_FILE}\") 
diff --git a/Packaging/detect_using_file_command.cmake b/Packaging/detect_using_file_command.cmake
index ab4b7b60650f4e03735a1c28573591269e1c2030..61a060399aebedd020bd1b44688aec0a12bbc2cc 100644
--- a/Packaging/detect_using_file_command.cmake
+++ b/Packaging/detect_using_file_command.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(detect_using_file_command input_file result_type result_dir)
   
   execute_process(COMMAND "${FILE_COMMAND}" "${input_file}"
diff --git a/Packaging/install_cmake_files.cmake b/Packaging/install_cmake_files.cmake
index e23eb15c286e95a2624837f2cdfaa8d086bfaa56..ca63afb0f6203fa8295aece0e09dcc8a03f15939 100644
--- a/Packaging/install_cmake_files.cmake
+++ b/Packaging/install_cmake_files.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 include(patch_cmake_files.cmake)
 
 function(install_cmake_files)
diff --git a/Packaging/install_importlibs.cmake b/Packaging/install_importlibs.cmake
index ca5c9df2dc46d61186424ff30a393a4d7c9fbb7d..5a68caff7cf580c8ef97b59c4e57a459e4287f3a 100644
--- a/Packaging/install_importlibs.cmake
+++ b/Packaging/install_importlibs.cmake
@@ -1,3 +1,23 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
+#
 # This is more messed up that you might think.
 # On windows we cannot track dependency on .lib files like dll
 function(install_importlibs)
diff --git a/Packaging/install_include_dirs.cmake b/Packaging/install_include_dirs.cmake
index 9e916f3b47816642d4b1f935a55b85030b30602a..1a243ae60d6b5b4a3a8f0f762b1629b115d6ab99 100644
--- a/Packaging/install_include_dirs.cmake
+++ b/Packaging/install_include_dirs.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(install_include_dirs)
   # #install ${SUPERBUILD_INSTALL_DIR}/include directory.
   file(GLOB ALL_IN_INCLUDE_DIR "${SUPERBUILD_INSTALL_DIR}/include/*")
diff --git a/Packaging/install_otbapp_wrapper_scripts.cmake b/Packaging/install_otbapp_wrapper_scripts.cmake
index 943cd54d8d36c505bb2ad057931d7a13c6669835..bba639a281ffe426390004917e0c366044f20a7d 100644
--- a/Packaging/install_otbapp_wrapper_scripts.cmake
+++ b/Packaging/install_otbapp_wrapper_scripts.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(install_otbapp_wrapper_scripts otbapp_libfile)
   ########### install cli and gui script for each application ###########
   set(my_script_ext "")
diff --git a/Packaging/install_python_bindings.cmake b/Packaging/install_python_bindings.cmake
index b6332204b5ae0e9a0805d3663e4298c204250c9c..451894bb09aa00a844d46f985419cd3955322400 100644
--- a/Packaging/install_python_bindings.cmake
+++ b/Packaging/install_python_bindings.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(install_python_bindings)
   if(HAVE_PYTHON)
     install(DIRECTORY ${SUPERBUILD_INSTALL_DIR}/lib/otb/python
diff --git a/Packaging/install_qtdev_files.cmake b/Packaging/install_qtdev_files.cmake
index bb3f3139e360a151b8734e721630f5646e8ff87b..a615b02d0a2b28896360888f3b7a59fca9b391f1 100644
--- a/Packaging/install_qtdev_files.cmake
+++ b/Packaging/install_qtdev_files.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(install_qtdev_files)
   if(NOT HAVE_QT4)
     return()
diff --git a/Packaging/install_rule.cmake b/Packaging/install_rule.cmake
index 0dc11882457f883b243858e93c9ecbd023ead5f8..e404a59fe6ea212d03a5055a08b3a0cc2321d0f9 100644
--- a/Packaging/install_rule.cmake
+++ b/Packaging/install_rule.cmake
@@ -1,3 +1,23 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
+#
 # This is one big fat if-elseif ladder
 # that will detect a type and destination to use in
 # install(..
diff --git a/Packaging/install_share_dirs.cmake b/Packaging/install_share_dirs.cmake
index 80025b605c2d0f71ecf6ae4e7f28de313d778bc7..62f18e2e50be56c808d1d594d015bfe567904358 100644
--- a/Packaging/install_share_dirs.cmake
+++ b/Packaging/install_share_dirs.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(install_share_dirs)
 
   #a convenient cmake var for storing <prefix>/bin
diff --git a/Packaging/install_vstudio_files.cmake b/Packaging/install_vstudio_files.cmake
index a4a5404d158b8b446ec3aacb3e24331a0ac1dc6c..8630dd8081e9d233348c6f8a14e5dfafe5d49c3d 100644
--- a/Packaging/install_vstudio_files.cmake
+++ b/Packaging/install_vstudio_files.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(install_vstudio_files)
 if(MSVC)
     install(FILES
diff --git a/Packaging/install_without_message.cmake b/Packaging/install_without_message.cmake
index 29392f9e1d2ec17014dbcf223ed0e4d082d22690..947e8d9b66da373a2e788c934ad73bc10b037df9 100644
--- a/Packaging/install_without_message.cmake
+++ b/Packaging/install_without_message.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(install_without_message src_dir dst_dir_suffix)
   set (extra_func_args ${ARGN})
   list(LENGTH extra_func_args num_extra_args)
diff --git a/Packaging/installer_files.cmake b/Packaging/installer_files.cmake
index 533e93c2421cc3d31c603cc58971c7fa71f67835..941f7f8cdfbf8caa17e8f52e3553a65bd25b6ab9 100644
--- a/Packaging/installer_files.cmake
+++ b/Packaging/installer_files.cmake
@@ -1,4 +1,22 @@
-#thi macro calls add_uninstall_otb_script macro(another file)
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 macro(installer_files)
 
   #configure README from rst docs
diff --git a/Packaging/isfile_symlink.cmake b/Packaging/isfile_symlink.cmake
index d844c38659627e0642672c2bb0038fa6d3f1f2e9..0d3b490d6bf866d6780cc9ec69eda1535c90f588 100644
--- a/Packaging/isfile_symlink.cmake
+++ b/Packaging/isfile_symlink.cmake
@@ -1,5 +1,22 @@
-# The below function is modified from GetPrerequisities.cmake
-# which is distributed with CMake.
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(isfile_symlink file result_var1 result_var2)
   #
   # A file is not executable until proven otherwise:
@@ -69,37 +86,4 @@ function(isfile_symlink file result_var1 result_var2)
 
   return()
 
-  #  message(FATAL_ERROR "xx${READLINK} failed on '${file_full}' \nExit status: '${readlink_rv}' \nOutput: '${readlink_ov}' \nError status: '${readlink_ev}'")
-
-
-  # # Replace the name of the file in the output with a placeholder token
-  # # (the string " _file_full_ ") so that just in case the path name of
-  # # the file contains the word "text" or "executable" we are not fooled
-  # # into thinking "the wrong thing" because the file name matches the
-  # # other 'file' command output we are looking for...
-  # #
-  # string(REPLACE "${file_full}" " _file_full_ " file_ov "${file_ov}")
-  # string(TOLOWER "${file_ov}" file_ov_lower)
-
-  # # message(FATAL_ERROR "file_ov='${file_ov}'")
-  # if("${file_ov_lower}" MATCHES "symbolic link")
-  #   set(${result_var1} 1 PARENT_SCOPE)
-  #   #Now find where the symlink is linked to.
-  #   #Do a regex replace
-  #   string(REGEX REPLACE "_file_full_*.*symbolic.link.to." "" symlinked_to ${file_ov})
-
-  #   #older version of file command output has  [`} character(remove it).
-  #   string(REPLACE "`" "" symlinked_to ${symlinked_to} )
-
-  #   #older version of file command output has  {'} character(remove it).
-  #   string(REPLACE "'" "" symlinked_to "${symlinked_to}")
-
-  #   #strip final output
-  #   string(STRIP ${symlinked_to} symlinked_to)
-  #   set(${result_var2} "${symlinked_to}" PARENT_SCOPE)
-
-  #   #message(FATAL_ERROR "${file_full} is symlinked_to ${symlinked_to}")
-  #   return()
-  # endif()
-
 endfunction()
diff --git a/Packaging/patch_cmake_files.cmake b/Packaging/patch_cmake_files.cmake
index fbf9ce6e45931034f3cf02ddfc345fa3e979344c..46105c67fa2e53e3492bc79661b8d97bdfcf1367 100644
--- a/Packaging/patch_cmake_files.cmake
+++ b/Packaging/patch_cmake_files.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(patch_cmake_files)
   cmake_parse_arguments(PATCH  "" "NAME;VERSION;MATCH_STRING;REPLACE_VAR" "" ${ARGN} )
 
diff --git a/Packaging/prepare_file_list.cmake b/Packaging/prepare_file_list.cmake
index 1c9a79b65b60b02634cf0ac26005ce5e1ee26979..4d83bc601da079a89f57d98bda00e54a00b08501 100644
--- a/Packaging/prepare_file_list.cmake
+++ b/Packaging/prepare_file_list.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(prepare_file_list file_list_result)
 
   set(file_list)
diff --git a/Packaging/prepare_search_dirs.cmake b/Packaging/prepare_search_dirs.cmake
index 29d42c1bb073452c11511ee1894ffda7c8093698..8f246edd9b072a59ccc4095fccb4718250c1c1bb 100644
--- a/Packaging/prepare_search_dirs.cmake
+++ b/Packaging/prepare_search_dirs.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(prepare_search_dirs search_dirs_result)
   
   set(search_dirs)
diff --git a/Packaging/process_file_recurse.cmake b/Packaging/process_file_recurse.cmake
index cef0747064cd2f0d06fcd6b29cbdbb2fdf14ebbf..b83616ad864c070e3d3b390b809d20dca00303df 100644
--- a/Packaging/process_file_recurse.cmake
+++ b/Packaging/process_file_recurse.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(process_file_recurse input_file)
   set(input_file_full_path)
   search_library(${input_file} PKG_SEARCHDIRS input_file_full_path)
diff --git a/Packaging/search_library.cmake b/Packaging/search_library.cmake
index eea205b92ec0478b20b6ffc8b5316622c613ae0c..500bbb9acf1585cdff4bcfd54c8d29ba35095c10 100644
--- a/Packaging/search_library.cmake
+++ b/Packaging/search_library.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 function(search_library input_file pkg_searchdirs result)
   set(${result} "" PARENT_SCOPE)
   foreach(pkg_searchdir ${${pkg_searchdirs}})
diff --git a/Packaging/testing.cmake b/Packaging/testing.cmake
index aaa176c1ef0afd78b924f3bfc535e135300f9641..c7dce464d1cc6c4e7afc46d35cfddea42dd4f8fa 100644
--- a/Packaging/testing.cmake
+++ b/Packaging/testing.cmake
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
+#
+# This file is part of Orfeo Toolbox
+#
+#     https://www.orfeo-toolbox.org/
+#
+# Licensed 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.
+#
 # add_test(NAME <name> COMMAND <command> [<arg>...]
 #          [CONFIGURATIONS <config>...]
 #          [WORKING_DIRECTORY <dir>])