From 807953d61b1cd701c628106692fc5b1fc1ac41b3 Mon Sep 17 00:00:00 2001
From: Juan Escobar <juan.escobar@aero.obs-mip.fr>
Date: Tue, 28 Jan 2014 14:25:06 +0000
Subject: [PATCH] Juan 27/01/2014: add header MNH_LIC to all LFI files

---
 src/LIB/NEWLFI/Makefile         | 4 ++++
 src/LIB/NEWLFI/Rules.AIX32      | 4 ++++
 src/LIB/NEWLFI/Rules.AIX64      | 4 ++++
 src/LIB/NEWLFI/Rules.HPNAGf95   | 4 ++++
 src/LIB/NEWLFI/Rules.HPf90      | 4 ++++
 src/LIB/NEWLFI/Rules.LXNAGf95   | 4 ++++
 src/LIB/NEWLFI/Rules.LXpgf90    | 4 ++++
 src/LIB/NEWLFI/Rules.SGI32      | 4 ++++
 src/LIB/NEWLFI/Rules.SGI64      | 4 ++++
 src/LIB/NEWLFI/Rules.SX5        | 4 ++++
 src/LIB/NEWLFI/Rules.VPP        | 4 ++++
 src/LIB/NEWLFI/src/NEWLFI_ALL.f | 4 ++++
 src/LIB/NEWLFI/src/fswap8buff.c | 7 ++++++-
 src/LIB/NEWLFI/src/lficom0.h    | 4 ++++
 src/LIB/NEWLFI/src/lficom1.h    | 4 ++++
 src/LIB/NEWLFI/src/lficom2.h    | 4 ++++
 src/LIB/NEWLFI/src/lficomt.h    | 4 ++++
 src/LIB/NEWLFI/src/poub.f90     | 4 ++++
 src/LIB/NEWLFI/src/precision.h  | 4 ++++
 19 files changed, 78 insertions(+), 1 deletion(-)

diff --git a/src/LIB/NEWLFI/Makefile b/src/LIB/NEWLFI/Makefile
index 827a5a3a5..21cbd3c4b 100644
--- a/src/LIB/NEWLFI/Makefile
+++ b/src/LIB/NEWLFI/Makefile
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 VPATH = src:$(DIR_OBJ)
 #######################################
 LIBLFI = libNEWLFI_ALL.a
diff --git a/src/LIB/NEWLFI/Rules.AIX32 b/src/LIB/NEWLFI/Rules.AIX32
index 427ce1333..297c5a967 100644
--- a/src/LIB/NEWLFI/Rules.AIX32
+++ b/src/LIB/NEWLFI/Rules.AIX32
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 CPPFLAGS = -DRS6K
 #
 OBJS = NEWLFI_ALL.o poub.o
diff --git a/src/LIB/NEWLFI/Rules.AIX64 b/src/LIB/NEWLFI/Rules.AIX64
index f15c5388f..4b0e2346b 100644
--- a/src/LIB/NEWLFI/Rules.AIX64
+++ b/src/LIB/NEWLFI/Rules.AIX64
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 # F77FLAGS += -O3 -qsave
 # F90FLAGS += -O3 -qsave
 
diff --git a/src/LIB/NEWLFI/Rules.HPNAGf95 b/src/LIB/NEWLFI/Rules.HPNAGf95
index ddc13b425..160df1060 100644
--- a/src/LIB/NEWLFI/Rules.HPNAGf95
+++ b/src/LIB/NEWLFI/Rules.HPNAGf95
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 F77FLAGS = -O2 -kind=byte -w -mismatch_all -dusty
 CPPFLAGS += -DHPPA
 
diff --git a/src/LIB/NEWLFI/Rules.HPf90 b/src/LIB/NEWLFI/Rules.HPf90
index c2fef8434..35bb7ef39 100644
--- a/src/LIB/NEWLFI/Rules.HPf90
+++ b/src/LIB/NEWLFI/Rules.HPf90
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 F77FLAGS += -O3 +Oinfo +Onolimit
 CPPFLAGS += -DHPPA
 
diff --git a/src/LIB/NEWLFI/Rules.LXNAGf95 b/src/LIB/NEWLFI/Rules.LXNAGf95
index 48c2fe4ef..770b431b7 100644
--- a/src/LIB/NEWLFI/Rules.LXNAGf95
+++ b/src/LIB/NEWLFI/Rules.LXNAGf95
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 F77FLAGS += -O3
 CFLAGS   += -O2
 CPPFLAGS = -DLINUX -DSWAPIO
diff --git a/src/LIB/NEWLFI/Rules.LXpgf90 b/src/LIB/NEWLFI/Rules.LXpgf90
index 5c2bcdb94..3b0525a20 100644
--- a/src/LIB/NEWLFI/Rules.LXpgf90
+++ b/src/LIB/NEWLFI/Rules.LXpgf90
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 CPPFLAGS += -DLINUX -DSWAPIO
 
 OBJS = NEWLFI_ALL.o poub.o fswap8buff.o
diff --git a/src/LIB/NEWLFI/Rules.SGI32 b/src/LIB/NEWLFI/Rules.SGI32
index de0f2c342..3bc0091dc 100644
--- a/src/LIB/NEWLFI/Rules.SGI32
+++ b/src/LIB/NEWLFI/Rules.SGI32
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 F77FLAGS += -O2
 CPPFLAGS += -DO2000
 
diff --git a/src/LIB/NEWLFI/Rules.SGI64 b/src/LIB/NEWLFI/Rules.SGI64
index 90af19a1f..124ae6ad8 100644
--- a/src/LIB/NEWLFI/Rules.SGI64
+++ b/src/LIB/NEWLFI/Rules.SGI64
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 F77FLAGS += -O2
 CPPFLAGS += -DO2000
 
diff --git a/src/LIB/NEWLFI/Rules.SX5 b/src/LIB/NEWLFI/Rules.SX5
index 55ddb250d..45acc5fa2 100644
--- a/src/LIB/NEWLFI/Rules.SX5
+++ b/src/LIB/NEWLFI/Rules.SX5
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 F77FLAGS += -Wf,-msg nb
 CPPFLAGS += -DLINUX
 
diff --git a/src/LIB/NEWLFI/Rules.VPP b/src/LIB/NEWLFI/Rules.VPP
index cb0b1d539..d9ce9e787 100644
--- a/src/LIB/NEWLFI/Rules.VPP
+++ b/src/LIB/NEWLFI/Rules.VPP
@@ -1,3 +1,7 @@
+#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+#MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+#MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+#MNH_LIC for details. version 1.
 F77FLAGS += -Am -X9
 CFLAGS   += 
 CPPFLAGS += -DVPP
diff --git a/src/LIB/NEWLFI/src/NEWLFI_ALL.f b/src/LIB/NEWLFI/src/NEWLFI_ALL.f
index da1386cef..3ce0beb2f 100644
--- a/src/LIB/NEWLFI/src/NEWLFI_ALL.f
+++ b/src/LIB/NEWLFI/src/NEWLFI_ALL.f
@@ -1,3 +1,7 @@
+!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+!MNH_LIC for details. version 1.
       SUBROUTINE ABOR2(CDTEXT)
 
       IMPLICIT LOGICAL (L)
diff --git a/src/LIB/NEWLFI/src/fswap8buff.c b/src/LIB/NEWLFI/src/fswap8buff.c
index 8a19ce9d2..91a4b35c5 100644
--- a/src/LIB/NEWLFI/src/fswap8buff.c
+++ b/src/LIB/NEWLFI/src/fswap8buff.c
@@ -1,4 +1,9 @@
-#define SWAP4(w) ((w<<24)|((w<<8)&0xff0000)|((w>>8)&0xff00)|((w>>24)&0xff))
+/*
+*MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+*MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+*MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+*MNH_LIC for details. version 1.
+*/#define SWAP4(w) ((w<<24)|((w<<8)&0xff0000)|((w>>8)&0xff00)|((w>>24)&0xff))
 
 void swap8_(int *outbuff,int *inbuff,int *nbint8)
 {
diff --git a/src/LIB/NEWLFI/src/lficom0.h b/src/LIB/NEWLFI/src/lficom0.h
index ceefc5398..06aee5c43 100644
--- a/src/LIB/NEWLFI/src/lficom0.h
+++ b/src/LIB/NEWLFI/src/lficom0.h
@@ -1,3 +1,7 @@
+!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+!MNH_LIC for details. version 1.
 C
 C----- DESCRIPTION DES "PARAMETER" DU LOGICIEL DE FICHIERS INDEXES -----
 C-----  (et des variables logiques a charger absolument partout )  -----
diff --git a/src/LIB/NEWLFI/src/lficom1.h b/src/LIB/NEWLFI/src/lficom1.h
index 2fc1d8e80..ff3d67555 100644
--- a/src/LIB/NEWLFI/src/lficom1.h
+++ b/src/LIB/NEWLFI/src/lficom1.h
@@ -1,3 +1,7 @@
+!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+!MNH_LIC for details. version 1.
 C
 C--- DESCRIPTIF DES TABLES CONCERNANT LES (PAIRES DE) PAGES D'INDEX ----
 C                       ( ALIAS "P.P.I." )
diff --git a/src/LIB/NEWLFI/src/lficom2.h b/src/LIB/NEWLFI/src/lficom2.h
index d2a25a2c9..27cf5c865 100644
--- a/src/LIB/NEWLFI/src/lficom2.h
+++ b/src/LIB/NEWLFI/src/lficom2.h
@@ -1,3 +1,7 @@
+!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+!MNH_LIC for details. version 1.
 C
 C       FONCTION SERVANT A RENDRE FATALE OU NON UNE ERREUR DETECTEE,
 C       A L'AIDE DU CODE-REPONSE COURANT, DU NIVEAU DE FILTRAGE GLOBAL,
diff --git a/src/LIB/NEWLFI/src/lficomt.h b/src/LIB/NEWLFI/src/lficomt.h
index 36a548c19..eca8d6213 100644
--- a/src/LIB/NEWLFI/src/lficomt.h
+++ b/src/LIB/NEWLFI/src/lficomt.h
@@ -1,3 +1,7 @@
+!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+!MNH_LIC for details. version 1.
 C****
 C            !--------------------------------------------------!
 C            !        Sous-programme du logiciel LFI            !
diff --git a/src/LIB/NEWLFI/src/poub.f90 b/src/LIB/NEWLFI/src/poub.f90
index 6a99d98a5..6dcbacd73 100644
--- a/src/LIB/NEWLFI/src/poub.f90
+++ b/src/LIB/NEWLFI/src/poub.f90
@@ -1,3 +1,7 @@
+!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+!MNH_LIC for details. version 1.
 SUBROUTINE lockasgn
 PRINT *,' *******lockasgn '
 RETURN
diff --git a/src/LIB/NEWLFI/src/precision.h b/src/LIB/NEWLFI/src/precision.h
index 6cd758585..1e9705403 100644
--- a/src/LIB/NEWLFI/src/precision.h
+++ b/src/LIB/NEWLFI/src/precision.h
@@ -1,3 +1,7 @@
+!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
+!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
+!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
+!MNH_LIC for details. version 1.
 C
 C----- DESCRIPTION DES "PARAMETER" DU LOGICIEL DE FICHIERS INDEXES -----
 C
-- 
GitLab