Skip to content
Snippets Groups Projects
Commit 17726cb8 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 21/02/2019: add flag to compile the COMPRESS library

parent d9c5d009
No related branches found
No related tags found
No related merge requests found
#MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier #MNH_LIC Copyright 1994-2019 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 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 version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
#MNH_LIC for details. version 1. #MNH_LIC for details. version 1.
########################################################## ##########################################################
# # # #
...@@ -242,6 +242,19 @@ VPATH += $(DIR_NEWLFI) ...@@ -242,6 +242,19 @@ VPATH += $(DIR_NEWLFI)
#ARCH_XYZ := $(ARCH_XYZ)-$(VER_NEWLFI) #ARCH_XYZ := $(ARCH_XYZ)-$(VER_NEWLFI)
endif endif
########################################################## ##########################################################
# Source COMPRESS #
##########################################################
ifdef MNH_COMPRESS
DIR_COMPRESS = ../LIBTOOLS/lib/COMPRESS/src
INC_COMPRESS = -I$(B)$(DIR_COMPRESS)
DIR_MASTER += $(DIR_COMPRESS)
OBJS_LISTE_MASTER += bitbuff.o nearestpow2.o
INC += $(INC_COMPRESS)
VPATH += $(DIR_COMPRESS)
CPPFLAGS_COMPRESS ?= -DLITTLE_endian
CPPFLAGS += $(CPPFLAGS_COMPRESS)
endif
##########################################################
# Source FOREFIRE # # Source FOREFIRE #
########################################################## ##########################################################
ifdef MNH_FOREFIRE ifdef MNH_FOREFIRE
......
...@@ -101,6 +101,11 @@ CNAME_GRIBEX="" ...@@ -101,6 +101,11 @@ CNAME_GRIBEX=""
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
MNH_TOOLS = yes MNH_TOOLS = yes
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -112,6 +112,11 @@ CNAME_GRIBEX="" ...@@ -112,6 +112,11 @@ CNAME_GRIBEX=""
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
#MNH_TOOLS = no #MNH_TOOLS = no
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
#MNH_COMPRESS=no
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -171,6 +171,11 @@ GRIBAPI_CONF= --host=powerpc64-bgq-linux ...@@ -171,6 +171,11 @@ GRIBAPI_CONF= --host=powerpc64-bgq-linux
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
#MNH_TOOLS = no #MNH_TOOLS = no
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
#MNH_COMPRESS=no
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -94,6 +94,11 @@ NETCDF_SUPPFLAGS = -dusty -kind=byte ...@@ -94,6 +94,11 @@ NETCDF_SUPPFLAGS = -dusty -kind=byte
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
MNH_TOOLS = yes MNH_TOOLS = yes
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -116,6 +116,10 @@ MNH_TOOLS=yes ...@@ -116,6 +116,10 @@ MNH_TOOLS=yes
endif endif
endif endif
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
# #
# #
########################################################## ##########################################################
......
...@@ -109,6 +109,11 @@ GRIBAPI_CONF="FCFLAGS= -em -ef " ...@@ -109,6 +109,11 @@ GRIBAPI_CONF="FCFLAGS= -em -ef "
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
MNH_TOOLS = yes MNH_TOOLS = yes
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -81,6 +81,11 @@ CNAME_GRIBEX=g95 ...@@ -81,6 +81,11 @@ CNAME_GRIBEX=g95
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
MNH_TOOLS = yes MNH_TOOLS = yes
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -110,6 +110,10 @@ MNH_TOOLS=yes ...@@ -110,6 +110,10 @@ MNH_TOOLS=yes
endif endif
endif endif
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
# #
# #
########################################################## ##########################################################
......
...@@ -205,6 +205,11 @@ ifeq "$(MNH_INT)" "4" ...@@ -205,6 +205,11 @@ ifeq "$(MNH_INT)" "4"
MNH_TOOLS=yes MNH_TOOLS=yes
endif endif
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -57,6 +57,11 @@ CNAME_GRIBEX=pathf95 ...@@ -57,6 +57,11 @@ CNAME_GRIBEX=pathf95
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
MNH_TOOLS = yes MNH_TOOLS = yes
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -116,6 +116,11 @@ CNAME_GRIBEX=_pgf77 ...@@ -116,6 +116,11 @@ CNAME_GRIBEX=_pgf77
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
MNH_TOOLS = yes MNH_TOOLS = yes
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
MNH_COMPRESS=yes
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
...@@ -103,6 +103,11 @@ CNAME_GRIBEX=sxmpif90 ...@@ -103,6 +103,11 @@ CNAME_GRIBEX=sxmpif90
#if MNH_TOOLS exists => compile the tools #if MNH_TOOLS exists => compile the tools
#MNH_TOOLS = no #MNH_TOOLS = no
# #
## COMPRESS flag
#
#if MNH_COMPRESS exists => compile the COMPRESS library (for LFI files)
#MNH_COMPRESS=no
#
########################################################## ##########################################################
# # # #
# Source of MESONH PACKAGE Distribution # # Source of MESONH PACKAGE Distribution #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment