Merge branch '4-Thin_Client' into 104-integration

Former-commit-id: 64b3ba9d2b [formerly 64b3ba9d2b [formerly 7b981a7bb3e35d9147bf686150e5ed91e5b22d79]]
Former-commit-id: 09c3e613e5
Former-commit-id: 17c9ad4c0c
This commit is contained in:
Steve Harris 2012-02-15 15:09:30 -06:00
commit 69dec3a5fa
23 changed files with 1449 additions and 424 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -1,99 +1,61 @@
@echo OFF
REM This script will compile a Windows version of the gridslice library.
REM In order to compile the gridslice library, you will need to have
REM Microsoft Visual C++ 2008 installed and the AWIPS II Runtime Environment.
REM
REM This script should work on both a 32-bit and a 64-bit Windows 7
REM installation.
SET CONTAINING_DIR=%~dp0
SET REG_EXE=
REM Determine what our architecture is.
IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
GOTO OS_64_BIT
) ELSE (
IF "%PROCESSOR_ARCHITECTURE%" == "x86" (
GOTO OS_32_BIT
) ELSE (
echo "ERROR: Unrecognized Architecture."
PAUSE && EXIT 1
)
)
:OS_32_BIT
SET REG_EXE=C:\Windows\System32\reg.exe
GOTO ARCH_KNOWN
:OS_64_BIT
SET REG_EXE=C:\Windows\SysWOW64\reg.exe
GOTO ARCH_KNOWN
:ARCH_KNOWN
SET MVC_VERSION=9.0
REM TODO: Update so that we could also potentially use the full version of
REM Visual Studio C++ 2008 if it is available.
SET A2_PYTHON_REG="HKLM\Software\Raytheon\Runtime Environment\AWIPS II Python"
SET MVC_REG="HKLM\Software\Microsoft\VCExpress\%MVC_VERSION%\Setup\VC"
%REG_EXE% QUERY %A2_PYTHON_REG% /v PythonInstallDirectory > NUL 2>&1
IF ERRORLEVEL 1 (
echo ENVIRONMENT ERROR - Unable to find AWIPS II Python.
PAUSE && EXIT 1
)
%REG_EXE% QUERY %MVC_REG% /v ProductDir > NUL 2>&1
IF ERRORLEVEL 1 (
echo ENVIRONMENT ERROR - Unable to find Visual C++ 2008 Express.
PAUSE && EXIT 1
)
REM Determine where AWIPS II Python has been installed.
FOR /F "tokens=2* delims= " %%A IN (
'%REG_EXE% QUERY %A2_PYTHON_REG% /v PythonInstallDirectory'
) DO (
SET PythonInstallDirectory=%%B
)
REM Determine where Microsoft Visual C++ 2008 Express has been installed.
FOR /F "tokens=2* delims= " %%A IN (
'%REG_EXE% QUERY %MVC_REG% /v ProductDir'
) DO (
SET VCPlusPlusProductDir=%%B
)
REM Use the MS Visual Studion vcvarsall.bat utility to prepare
REM the environment for this build.
REM Until further notice, we assume the build is 32-bit.
cd "%VCPlusPlusProductDir%"
CALL vcvarsall.bat x86
IF NOT ERRORLEVEL 0 (
echo ERROR: Unable to prepare the environment.
PAUSE && EXIT 1
)
cd "%CONTAINING_DIR%"
REM Compile gridslice
cl.exe /LD "%CONTAINING_DIR%..\sliceConvert.c" ^
"%CONTAINING_DIR%..\gridslice.c" ^
-I"%PythonInstallDirectory%\Lib\site-packages\numpy\core\include" ^
-I"%PythonInstallDirectory%\include" ^
"%PythonInstallDirectory%\libs\python27.lib" ^
/link/out:gridslice.pyd /EXPORT:initgridslice
if ERRORLEVEL 1 (
echo ERROR: The gridslice compile has failed.
PAUSE && EXIT 1
)
REM Move the build artifacts to the build directory.
IF NOT EXIST "%CONTAINING_DIR%build" (
MKDIR "%CONTAINING_DIR%build"
)
MOVE /Y "%CONTAINING_DIR%sliceConvert*" ^
"%CONTAINING_DIR%build"
MOVE /Y "%CONTAINING_DIR%gridslice*" ^
"%CONTAINING_DIR%build"
echo.
echo.
echo The gridslice compile was successful.
PAUSE
@echo OFF
REM This script will compile a Windows version of the gridslice library.
REM In order to compile the jep library, you will need to have
REM MSBuild 4.0 installed and the AWIPS II Runtime Environment.
REM
REM This script should work on both a 32-bit and a 64-bit Windows 7
REM installation.
SET CONTAINING_DIR=%~dp0
SET REG_EXE=
REM Determine what our architecture is.
IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
GOTO OS_64_BIT
) ELSE (
IF "%PROCESSOR_ARCHITECTURE%" == "x86" (
GOTO OS_32_BIT
) ELSE (
echo "ERROR: Unrecognized Architecture."
PAUSE && EXIT 1
)
)
:OS_32_BIT
SET REG_EXE=C:\Windows\System32\reg.exe
:OS_64_BIT
SET REG_EXE=C:\Windows\SysWOW64\reg.exe
:ARCH_KNOWN
REM Lookup the location of MSBuild.
SET MSBUILD_VERSION=4.0
SET MSBUILD_REG="HKLM\Software\Microsoft\MSBuild\ToolsVersions\%MSBUILD_VERSION%"
REM Verify that MSBuild is installed.
%REG_EXE% QUERY %MSBUILD_REG% /v MSBuildToolsPath > NUL 2>&1
IF ERRORLEVEL 1 (
echo ENVIRONMENT ERROR - Unable to find MSBuild %MSBUILD_VERSION%.
PAUSE && EXIT 1
)
FOR /F "tokens=2* delims= " %%A IN (
'%REG_EXE% QUERY %MSBUILD_REG% /v MSBuildToolsPath') DO (
SET MSBuildToolsPath=%%B)
pushd . > NUL 2>&1
cd %CONTAINING_DIR%
%MSBuildToolsPath%MSBuild.exe ^
/p:Platform=win32 ^
project\gridslice.sln
if ERRORLEVEL 1 (
echo ERROR: The gridslice compile has failed.
PAUSE && EXIT 1
)
popd > NUL 2>&1
echo.
echo.
echo The gridslice compile was successful.
PAUSE

View file

@ -0,0 +1,89 @@
@echo OFF
REM This script will compile a Windows version of the gridslice library.
REM In order to compile the gridslice library, you will need to have
REM Microsoft Visual C++ 2008 installed and the AWIPS II Runtime Environment.
REM
REM This script should work on both a 32-bit and a 64-bit Windows 7
REM installation.
SET CONTAINING_DIR=%~dp0
SET REG_EXE=
REM Determine what our architecture is.
IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
GOTO OS_64_BIT
) ELSE (
IF "%PROCESSOR_ARCHITECTURE%" == "x86" (
GOTO OS_32_BIT
) ELSE (
echo "ERROR: Unrecognized Architecture."
PAUSE && EXIT 1
)
)
:OS_32_BIT
SET REG_EXE=C:\Windows\System32\reg.exe
GOTO ARCH_KNOWN
:OS_64_BIT
SET REG_EXE=C:\Windows\SysWOW64\reg.exe
GOTO ARCH_KNOWN
:ARCH_KNOWN
SET A2_PYTHON_REG="HKLM\Software\Raytheon\Runtime Environment\AWIPS II Python"
%REG_EXE% QUERY %A2_PYTHON_REG% /v PythonInstallDirectory > NUL 2>&1
IF ERRORLEVEL 1 (
echo ENVIRONMENT ERROR - Unable to find AWIPS II Python.
PAUSE && EXIT 1
)
REM Determine where AWIPS II Python has been installed.
FOR /F "tokens=2* delims= " %%A IN (
'%REG_EXE% QUERY %A2_PYTHON_REG% /v PythonInstallDirectory'
) DO (
SET PythonInstallDirectory=%%B
)
cd "%CONTAINING_DIR%"
REM Compile gridslice
cl.exe /LD "%CONTAINING_DIR%..\..\sliceConvert.c" ^
"%CONTAINING_DIR%..\..\gridslice.c" ^
-I"%PythonInstallDirectory%\Lib\site-packages\numpy\core\include" ^
-I"%PythonInstallDirectory%\include" ^
"%PythonInstallDirectory%\libs\python27.lib" ^
/link/out:gridslice.pyd /EXPORT:initgridslice
if ERRORLEVEL 1 (
echo ERROR: The gridslice compile has failed.
PAUSE && EXIT 1
)
REM Move the build artifacts to the build directory.
IF NOT EXIST "%CONTAINING_DIR%..\build" (
MKDIR "%CONTAINING_DIR%..\build"
)
MOVE /Y "%CONTAINING_DIR%gridslice.pyd" ^
"%CONTAINING_DIR%..\build"
REM Cleanup the remaining non-essential build artifacts.
IF EXIST "%CONTAINING_DIR%gridslice.obj" (
echo Y | DEL "%CONTAINING_DIR%gridslice.obj"
)
IF EXIST "%CONTAINING_DIR%gridslice.sln.cache" (
echo Y | DEL "%CONTAINING_DIR%gridslice.sln.cache"
)
IF EXIST "%CONTAINING_DIR%sliceConvert.obj" (
echo Y | DEL "%CONTAINING_DIR%sliceConvert.obj"
)
IF EXIST "%CONTAINING_DIR%sliceConvert.lib" (
echo Y | DEL "%CONTAINING_DIR%sliceConvert.lib"
)
IF EXIST "%CONTAINING_DIR%sliceConvert.exp" (
echo Y | DEL "%CONTAINING_DIR%sliceConvert.exp"
)
echo.
echo.
echo The gridslice compile was successful.
PAUSE

View file

@ -24,7 +24,7 @@
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="cd $(InputDir)..\&#x0D;&#x0A;CALL build.bat"
BuildCommandLine="CALL gridslice.bat"
ReBuildCommandLine=""
CleanCommandLine="cd $(InputDir)..\&#x0D;&#x0A;IF EXIST build (&#x0D;&#x0A; DEL /Q build\*&#x0D;&#x0A; RMDIR build&#x0D;&#x0A;)"
Output=""
@ -81,6 +81,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\gridslice.bat"
>
</File>
<File
RelativePath="..\..\gridslice.c"
>

View file

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>

View file

@ -0,0 +1 @@
Manifest resource last updated at 13:54:11.76 on Mon 02/13/2012

View file

@ -1,324 +0,0 @@
#-------------------------------------------------------------------
# This software is in the public domain, furnished "as is", without
# technical support, and with no warranty, express or implied, as
# to its usefulness for any purpose.
#-------------------------------------------------------------------
# $Id: .Makefile__temp7312,v 1.14 2005/07/29 20:57:49 fluke Exp $
#-------------------------------------------------------------------
# Supported Targets:
# all - performs a prebuild, buildlib, and buildexe
# prebuild - creates the h templates and publishes all h files
# buildlib - builds the library and publishes it
# buildexe - builds the mainsteam executable and publishes it
# test - builds the test executables and publishes them
# data - publishes all data files
# doc - extracts the documentation from source and publishes it
# clean - cleans up the directory
# depend - update Makefile dependencies
#-------------------------------------------------------------------
#include ${PROJECT_TREE}/src/Makefile.config
#-------------------------------------------------------------------
# Executables
#
BINS =
SCRIPTS =
TEST_BINS =
CC = gcc -g -fPIC
FC = gfortran -fPIC -fno-underscoring
#-------------------------------------------------------------------
# Libraries
#
LIBS = $(LINUXLIB) $(WINDOWSLIB)
LINUXLIB = libmeteoLib.so
WINDOWSLIB = libmeteoLib.dll
#-------------------------------------------------------------------
# Installed header files
#
INSTALL_H_FILES = cmeteoLib.h
#-------------------------------------------------------------------
# Noninstalled, private, implementation header files
#
IMPL_H_FILES =
#-------------------------------------------------------------------
# Installed *.C files, are installed with the *.H files in "inc"
#
INSTALL_C_FILES =
#-------------------------------------------------------------------
# Library ANSI C files whose objects go in an installed library
#
LIB_ANSI_C_FILES = \
dist_filter.c \
interp.c \
temp_mixratio.c \
calcWindChill.c \
scaleless_analysis.c \
adiabatic_te.c \
calcHeatIndex.c \
calckidx.c \
thermoRtns.c \
calctotidx.c \
temp_of_te.c \
heliComp.c \
dcapeFunc.c \
sliceConvert.c \
capeFunc.c
#-------------------------------------------------------------------
# Library C files whose objects go in an installed library
#
LIB_C_FILES =
LIB_F_FILES = \
addaray.f \
addbycnst.f \
alt2press.f \
avwind.f \
calccondpr.f \
calccondprdef.f \
calcdpd.f \
calcli.f \
calcpv.f \
calcrh.f \
calcrh2.f \
calctd.f \
calctd2.f \
calcthetae.f \
calcthetae2.f \
calctv.f \
calctv2.f \
calctw.f \
cclpar.f \
constant.f \
comp_by.f \
crossvectors.f \
ctop.f \
cv_date2jul.f \
cvgust.f \
ddff.f \
deftrk.f \
density.f \
derivative.f \
derived_icing.f \
dgeocomps.f \
divaray.f \
dotvectors.f \
dzdlnp.f \
eqlev.f \
eqp.f \
esat.f \
exparay.f \
fndiverg.f \
forecast.f \
fortconbuf.f \
frontogen.f \
frzlev.f \
fsdiverg.f \
g2gkinematics.f \
gusts.f \
hailsiz.f \
helicity.f \
hgt2pres.f \
interp1.f \
intpos.f \
isenstable.f \
koffset.f \
lapserate.f \
lfcpar.f \
lclpar.f \
liftedp.f \
lintrans.f \
matsln.f \
maxmin.f \
meanomega.f \
mixrat.f \
mslp2thkns.f \
multaray.f \
multbycnst.f \
mxtp.f \
nadgdt.f \
natlog.f \
negarea.f \
posarea.f \
powercalc.f \
press2alt.f \
presstable.f \
ptozsa.f \
pvadv.f \
pvalue.f \
pvpres.f \
qdiverg.f \
qvector.f \
radiation.f \
radrtns.f \
rang2d.f \
replinrange.f \
rhbar.f \
rotvectors.f \
setqsmooth.f \
slfront.f \
slqdiv.f \
slqvect.f \
smooth.f \
solax.f \
spechum.f \
spechum2.f \
strmpak.f \
subaray.f \
sunfuncs.f \
sweat.f \
sweatidx.f \
tdofesat.f \
temp2theta.f \
theta2temp.f \
totals.f \
tplcl.f \
tsoar.f \
tv2temp.f \
uvcomp.f \
verpts.f \
virttemp.f \
virtualt.f \
vvel.f \
wbzero.f \
windspeed.f \
winddir.f \
wndrho.f \
ztopsa.f \
BulkRichNo.f \
thetawa.f \
cgp.f \
tpzlcl.f \
pottemp.f \
dmixr.f \
pseudolift.f \
vp.f \
IntrinsicFunctions.f
LIB_O_FILES = ${LIB_C_FILES:.C=.o} ${LIB_ANSI_C_FILES:.c=.o} \
${LIB_F_FILES:.f=.o}
# Note: a patch to the HP-UX Fortran77 Compiler performed during Apr 1995
# requires fortcon to be compiled with the +e option, or else Byte
# variable are treated as Logical*1 variables with logical operators
# instead of Integer*1. Add it to FFLAGS by setting USER_FFLAGS.
# Note that the only Fortran compiler this switch applies to is the HP
# Fortran77 compiler.
ifdef HP_FORTRAN77
USER_FFLAGS = +e
endif
#-------------------------------------------------------------------
# Nonlibrary ANSI C files, whose objects are installed as .o files
#
NONLIB_ANSI_C_FILES =
#-------------------------------------------------------------------
# Nonlibrary C files, whose objects are installed as .o files
#
NONLIB_C_FILES =
NONLIB_O_FILES = ${NONLIB_C_FILES:.C=.o} ${NONLIB_ANSI_C_FILES:.c=.o}
#-------------------------------------------------------------------
# Nonlibrary ANSI C files, whose objects are installed as .o files
#
IMPL_ANSI_C_FILES =
#-------------------------------------------------------------------
# Noninstalled C files, no .o files installed, not put in a library
#
IMPL_C_FILES =
IMPL_O_FILES = ${IMPL_C_FILES:.C=.o} ${IMPL_ANSI_C_FILES:.c=.o}
#-------------------------------------------------------------------
# Test C files, different test executables could have different
# lists, but list ALL of them here so that their object dependencies
# will be generated.
#
TEST_C_FILES =
TEST_F_FILES =
#-------------------------------------------------------------------
# data files
#
DATA =
#-------------------------------------------------------------------
# Library dependencies
#
${LIBS}: ${LIB_O_FILES}
-@rm -f ${LINUXLIB}
-@rm -f ${WINDOWSLIB}
-@echo Creating Libraries : ${LINUXLIB} ${WINDOWSLIB}
-@echo ${LINUXLIB}
gcc -shared -lgfortran -lm -lstdc++ -o ${LINUXLIB} ${LIB_O_FILES}
-@echo ${WINDOWSLIB}
i386-mingw32-dlltool ${LIB_O_FILES} -e ${WINDOWSLIB}
-@echo File Created : ${WINDOWSLIB}
-@echo File Created : ${LINUXLIB}
#-------------------------------------------------------------------
# Executable dependencies
#
SYS_LIBS =
OBJECTS =
#-------------------------------------------------------------------
# Test executable dependencies
#
#-------------------------------------------------------------------
# Standard targets and their rules. If not using default, add to
# or replace the standard action.
#
prebuild: ${INSTALL_H_FILES} ${INSTALL_C_FILES}
${STD_PREBUILD_ACTION}
buildlib: ${LIBS} ${NONLIB_O_FILES}
${STD_BUILDLIB_ACTION}
buildlibgcc: buildlib
buildexe: ${BINS} ${SCRIPTS}
${STD_BUILDEXE_ACTION}
buildexegcc: buildexe
test: ${TEST_BINS}
${STD_TEST_ACTION}
data: ${DATA}
${STD_DATA_ACTION}
doc: ${SOURCE_FILES}
${STD_DOC_ACTION}
clean:
${STD_CLEAN_ACTION}
depend:
${STD_DEPEND_ACTION}
dependgcc: depend
#-------------------------------------------------------------------
# Object dependencies
#
-include Makefile.dependencies

View file

@ -0,0 +1,61 @@
@echo OFF
REM This script will compile a Windows version of the meteolib library.
REM In order to compile the meteolib library, you will need to have
REM MSBuild 4.0 installed and the AWIPS II Runtime Environment.
REM
REM This script should work on both a 32-bit and a 64-bit Windows 7
REM installation.
SET CONTAINING_DIR=%~dp0
SET REG_EXE=
REM Determine what our architecture is.
IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
GOTO OS_64_BIT
) ELSE (
IF "%PROCESSOR_ARCHITECTURE%" == "x86" (
GOTO OS_32_BIT
) ELSE (
echo "ERROR: Unrecognized Architecture."
PAUSE && EXIT 1
)
)
:OS_32_BIT
SET REG_EXE=C:\Windows\System32\reg.exe
:OS_64_BIT
SET REG_EXE=C:\Windows\SysWOW64\reg.exe
:ARCH_KNOWN
REM Lookup the location of MSBuild.
SET MSBUILD_VERSION=4.0
SET MSBUILD_REG="HKLM\Software\Microsoft\MSBuild\ToolsVersions\%MSBUILD_VERSION%"
REM Verify that MSBuild is installed.
%REG_EXE% QUERY %MSBUILD_REG% /v MSBuildToolsPath > NUL 2>&1
IF ERRORLEVEL 1 (
echo ENVIRONMENT ERROR - Unable to find MSBuild %MSBUILD_VERSION%.
PAUSE && EXIT 1
)
FOR /F "tokens=2* delims= " %%A IN (
'%REG_EXE% QUERY %MSBUILD_REG% /v MSBuildToolsPath') DO (
SET MSBuildToolsPath=%%B)
pushd . > NUL 2>&1
cd %CONTAINING_DIR%
%MSBuildToolsPath%MSBuild.exe ^
/p:Platform=win32 ^
project\meteolib.sln
if ERRORLEVEL 1 (
echo ERROR: The meteolib compile has failed.
PAUSE && EXIT 1
)
popd > NUL 2>&1
echo.
echo.
echo The meteolib compile was successful.
PAUSE

View file

@ -0,0 +1,335 @@
#-------------------------------------------------------------------
# This software is in the public domain, furnished "as is", without
# technical support, and with no warranty, express or implied, as
# to its usefulness for any purpose.
#-------------------------------------------------------------------
# $Id: .Makefile__temp7312,v 1.14 2005/07/29 20:57:49 fluke Exp $
#-------------------------------------------------------------------
# Supported Targets:
# all - performs a prebuild, buildlib, and buildexe
# prebuild - creates the h templates and publishes all h files
# buildlib - builds the library and publishes it
# buildexe - builds the mainsteam executable and publishes it
# test - builds the test executables and publishes them
# data - publishes all data files
# doc - extracts the documentation from source and publishes it
# clean - cleans up the directory
# depend - update Makefile dependencies
#-------------------------------------------------------------------
#include ${PROJECT_TREE}/src/Makefile.config
#-------------------------------------------------------------------
# Executables
#
# Possibly make an environment variable? If not set, use the default.
METEOLIBDIR = ..\..\\
SRCDIR = $(METEOLIBDIR)src
GLUEGENDIR = $(METEOLIBDIR)gluegen
INCDIR = $(METEOLIBDIR)inc
JavaJdkDirectory = C:\Program Files (x86)\Raytheon\AWIPS II\Java\jdk1.6.0_27
BINS =
SCRIPTS =
TEST_BINS =
CC = mingw32-gcc -I$(INCDIR) -I"$(JavaJdkDirectory)\include" -I"$(JavaJdkDirectory)\include\win32" -g
FC = mingw32-gfortran -I$(INCDIR) -fno-underscoring -fno-range-check
#-------------------------------------------------------------------
# Libraries
#
WINDOWSLIB = meteoLib.dll
LIBS = $(WINDOWSLIB)
#-------------------------------------------------------------------
# Installed header files
#
INSTALL_H_FILES = cmeteoLib.h
#-------------------------------------------------------------------
# Noninstalled, private, implementation header files
#
IMPL_H_FILES =
#-------------------------------------------------------------------
# Installed *.C files, are installed with the *.H files in "inc"
#
INSTALL_C_FILES =
#-------------------------------------------------------------------
# Library ANSI C files whose objects go in an installed library
#
LIB_ANSI_C_FILES = \
$(SRCDIR)\dist_filter.c \
$(SRCDIR)\interp.c \
$(SRCDIR)\temp_mixratio.c \
$(SRCDIR)\calcWindChill.c \
$(SRCDIR)\scaleless_analysis.c \
$(SRCDIR)\adiabatic_te.c \
$(SRCDIR)\calcHeatIndex.c \
$(SRCDIR)\calckidx.c \
$(SRCDIR)\thermoRtns.c \
$(SRCDIR)\calctotidx.c \
$(SRCDIR)\temp_of_te.c \
$(SRCDIR)\heliComp.c \
$(SRCDIR)\dcapeFunc.c \
$(SRCDIR)\sliceConvert.c \
$(SRCDIR)\capeFunc.c
#-------------------------------------------------------------------
# Library C files whose objects go in an installed library
#
LIB_C_FILES =
LIB_F_FILES = \
$(SRCDIR)\addaray.f \
$(SRCDIR)\addbycnst.f \
$(SRCDIR)\alt2press.f \
$(SRCDIR)\avwind.f \
$(SRCDIR)\calccondpr.f \
$(SRCDIR)\calccondprdef.f \
$(SRCDIR)\calcdpd.f \
$(SRCDIR)\calcli.f \
$(SRCDIR)\calcpv.f \
$(SRCDIR)\calcrh.f \
$(SRCDIR)\calcrh2.f \
$(SRCDIR)\calctd.f \
$(SRCDIR)\calctd2.f \
$(SRCDIR)\calcthetae.f \
$(SRCDIR)\calcthetae2.f \
$(SRCDIR)\calctv.f \
$(SRCDIR)\calctv2.f \
$(SRCDIR)\calctw.f \
$(SRCDIR)\cclpar.f \
$(SRCDIR)\constant.f \
$(SRCDIR)\comp_by.f \
$(SRCDIR)\crossvectors.f \
$(SRCDIR)\ctop.f \
$(SRCDIR)\cv_date2jul.f \
$(SRCDIR)\cvgust.f \
$(SRCDIR)\ddff.f \
$(SRCDIR)\deftrk.f \
$(SRCDIR)\density.f \
$(SRCDIR)\derivative.f \
$(SRCDIR)\derived_icing.f \
$(SRCDIR)\dgeocomps.f \
$(SRCDIR)\divaray.f \
$(SRCDIR)\dotvectors.f \
$(SRCDIR)\dzdlnp.f \
$(SRCDIR)\eqlev.f \
$(SRCDIR)\eqp.f \
$(SRCDIR)\esat.f \
$(SRCDIR)\exparay.f \
$(SRCDIR)\fndiverg.f \
$(SRCDIR)\forecast.f \
$(SRCDIR)\fortconbuf.f \
$(SRCDIR)\frontogen.f \
$(SRCDIR)\frzlev.f \
$(SRCDIR)\fsdiverg.f \
$(SRCDIR)\g2gkinematics.f \
$(SRCDIR)\gusts.f \
$(SRCDIR)\hailsiz.f \
$(SRCDIR)\helicity.f \
$(SRCDIR)\hgt2pres.f \
$(SRCDIR)\interp1.f \
$(SRCDIR)\intpos.f \
$(SRCDIR)\isenstable.f \
$(SRCDIR)\koffset.f \
$(SRCDIR)\lapserate.f \
$(SRCDIR)\lfcpar.f \
$(SRCDIR)\lclpar.f \
$(SRCDIR)\liftedp.f \
$(SRCDIR)\lintrans.f \
$(SRCDIR)\matsln.f \
$(SRCDIR)\maxmin.f \
$(SRCDIR)\meanomega.f \
$(SRCDIR)\mixrat.f \
$(SRCDIR)\mslp2thkns.f \
$(SRCDIR)\multaray.f \
$(SRCDIR)\multbycnst.f \
$(SRCDIR)\mxtp.f \
$(SRCDIR)\nadgdt.f \
$(SRCDIR)\natlog.f \
$(SRCDIR)\negarea.f \
$(SRCDIR)\posarea.f \
$(SRCDIR)\powercalc.f \
$(SRCDIR)\press2alt.f \
$(SRCDIR)\presstable.f \
$(SRCDIR)\ptozsa.f \
$(SRCDIR)\pvadv.f \
$(SRCDIR)\pvalue.f \
$(SRCDIR)\pvpres.f \
$(SRCDIR)\qdiverg.f \
$(SRCDIR)\qvector.f \
$(SRCDIR)\radiation.f \
$(SRCDIR)\radrtns.f \
$(SRCDIR)\rang2d.f \
$(SRCDIR)\replinrange.f \
$(SRCDIR)\rhbar.f \
$(SRCDIR)\rotvectors.f \
$(SRCDIR)\setqsmooth.f \
$(SRCDIR)\slfront.f \
$(SRCDIR)\slqdiv.f \
$(SRCDIR)\slqvect.f \
$(SRCDIR)\smooth.f \
$(SRCDIR)\solax.f \
$(SRCDIR)\spechum.f \
$(SRCDIR)\spechum2.f \
$(SRCDIR)\strmpak.f \
$(SRCDIR)\subaray.f \
$(SRCDIR)\sunfuncs.f \
$(SRCDIR)\sweat.f \
$(SRCDIR)\sweatidx.f \
$(SRCDIR)\tdofesat.f \
$(SRCDIR)\temp2theta.f \
$(SRCDIR)\theta2temp.f \
$(SRCDIR)\totals.f \
$(SRCDIR)\tplcl.f \
$(SRCDIR)\tsoar.f \
$(SRCDIR)\tv2temp.f \
$(SRCDIR)\uvcomp.f \
$(SRCDIR)\verpts.f \
$(SRCDIR)\virttemp.f \
$(SRCDIR)\virtualt.f \
$(SRCDIR)\vvel.f \
$(SRCDIR)\wbzero.f \
$(SRCDIR)\windspeed.f \
$(SRCDIR)\winddir.f \
$(SRCDIR)\wndrho.f \
$(SRCDIR)\ztopsa.f \
$(SRCDIR)\BulkRichNo.f \
$(SRCDIR)\thetawa.f \
$(SRCDIR)\cgp.f \
$(SRCDIR)\tpzlcl.f \
$(SRCDIR)\pottemp.f \
$(SRCDIR)\dmixr.f \
$(SRCDIR)\pseudolift.f \
$(SRCDIR)\vp.f \
$(SRCDIR)\IntrinsicFunctions.f
LIB_O_FILES = ${LIB_C_FILES:.C=.o} ${LIB_ANSI_C_FILES:.c=.o} \
${LIB_F_FILES:.f=.o} Meteolibrary_JNI.o
# Note: a patch to the HP-UX Fortran77 Compiler performed during Apr 1995
# requires fortcon to be compiled with the +e option, or else Byte
# variable are treated as Logical*1 variables with logical operators
# instead of Integer*1. Add it to FFLAGS by setting USER_FFLAGS.
# Note that the only Fortran compiler this switch applies to is the HP
# Fortran77 compiler.
ifdef HP_FORTRAN77
USER_FFLAGS = +e
endif
#-------------------------------------------------------------------
# Nonlibrary ANSI C files, whose objects are installed as .o files
#
NONLIB_ANSI_C_FILES =
#-------------------------------------------------------------------
# Nonlibrary C files, whose objects are installed as .o files
#
NONLIB_C_FILES =
NONLIB_O_FILES = ${NONLIB_C_FILES:.C=.o} ${NONLIB_ANSI_C_FILES:.c=.o}
#-------------------------------------------------------------------
# Nonlibrary ANSI C files, whose objects are installed as .o files
#
IMPL_ANSI_C_FILES =
#-------------------------------------------------------------------
# Noninstalled C files, no .o files installed, not put in a library
#
IMPL_C_FILES =
IMPL_O_FILES = ${IMPL_C_FILES:.C=.o} ${IMPL_ANSI_C_FILES:.c=.o}
#-------------------------------------------------------------------
# Test C files, different test executables could have different
# lists, but list ALL of them here so that their object dependencies
# will be generated.
#
TEST_C_FILES =
TEST_F_FILES =
#-------------------------------------------------------------------
# data files
#
DATA =
#-------------------------------------------------------------------
# Library dependencies
#
${LIBS}: ${LIB_O_FILES}
-@rm -f ${WINDOWSLIB}
-@echo Creating Libraries ${WINDOWSLIB}
mingw32-gfortran -v -Wl,--export-all,--kill-at -shared -lm -o ${WINDOWSLIB} ${LIB_O_FILES}
-@echo File Created : ${WINDOWSLIB}
#-------------------------------------------------------------------
# Executable dependencies
#
SYS_LIBS =
OBJECTS =
gluegen_jar=$(METEOLIBDIR)../tool.gluegen/lib/gluegen.jar
meteoLib.h:
gcc -E -I$(INCDIR) -x c-header $(GLUEGENDIR)/meteolib.ggen -o meteoLib.h
Meteolibrary_JNI.c: meteoLib.cfg meteoLib.h
java -jar ${gluegen_jar} -CmeteoLib.cfg meteoLib.h
Meteolibrary_JNI.o: Meteolibrary_JNI.c
#-------------------------------------------------------------------
# Test executable dependencies
#
#-------------------------------------------------------------------
# Standard targets and their rules. If not using default, add to
# or replace the standard action.
#
prebuild: ${INSTALL_H_FILES} ${INSTALL_C_FILES}
${STD_PREBUILD_ACTION}
buildlib: ${LIBS} ${NONLIB_O_FILES}
${STD_BUILDLIB_ACTION}
buildlibgcc: buildlib
buildexe: ${BINS} ${SCRIPTS}
${STD_BUILDEXE_ACTION}
buildexegcc: buildexe
test: ${TEST_BINS}
${STD_TEST_ACTION}
data: ${DATA}
${STD_DATA_ACTION}
doc: ${SOURCE_FILES}
${STD_DOC_ACTION}
clean:
rm *.o meteoLib.h Meteolibrary_JNI.c *.dll *.so
depend:
${STD_DEPEND_ACTION}
dependgcc: depend
#-------------------------------------------------------------------
# Object dependencies
#
-include Makefile.dependencies

View file

@ -0,0 +1,8 @@
NativeOutputDir ./
JavaOutputDir ./meteoLib_Java
Package com.raytheon.edex.meteolibrary
Style AllStatic
JavaClass Meteolibrary
CustomCCode #include "meteoLib.h"

View file

@ -0,0 +1,46 @@
@echo OFF
REM This script will compile a Windows version of the meteolib library.
REM In order to compile the meteolib library, you will need to have
REM MinGW installed and the AWIPS II Runtime Environment.
REM
REM This script should work on both a 32-bit and a 64-bit Windows 7
REM installation.
SET CONTAINING_DIR=%~dp0
pushd . > NUL 2>&1
cd %CONTAINING_DIR%
mingw32-make -f Makefile
IF ERRORLEVEL 1 (
echo ERROR: the meteolib compile has failed.
PAUSE && EXIT 1
)
popd > NUL 2>&1
IF NOT EXIST "%CONTAINING_DIR%..\build" (
MKDIR "%CONTAINING_DIR%..\build"
)
REM Move the build artifacts to the build directory.
MOVE /Y "%CONTAINING_DIR%meteoLib.dll" ^
"%CONTAINING_DIR%..\build"
REM Cleanup the remaining non-essential build artifacts.
IF EXIST "%CONTAINING_DIR%\Meteolibrary_JNI.o" (
echo Y | DEL "%CONTAINING_DIR%\Meteolibrary_JNI.o"
)
IF EXIST "%CONTAINING_DIR%\Meteolibrary_JNI.c" (
echo Y | DEL "%CONTAINING_DIR%\Meteolibrary_JNI.c"
)
IF EXIST "%CONTAINING_DIR%\meteoLib.h" (
echo Y | DEL "%CONTAINING_DIR%\meteoLib.h"
)
IF EXIST "%CONTAINING_DIR%\meteoLib_Java" (
RMDIR /S /Q "%CONTAINING_DIR%\meteoLib_Java"
)
echo.
echo.
echo The meteolib compile was successful.
PAUSE

View file

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "meteolib", "meteolib.vcproj", "{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}.Debug|Win32.ActiveCfg = Debug|Win32
{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}.Debug|Win32.Build.0 = Debug|Win32
{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}.Release|Win32.ActiveCfg = Release|Win32
{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View file

@ -0,0 +1,101 @@
<Project DefaultTargets="Build" ToolsVersion="3.5" InitialTargets="ValidateSolutionConfiguration;ValidateToolsVersions" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_SolutionProjectConfiguration>Debug|Win32</_SolutionProjectConfiguration>
<_SolutionProjectToolsVersion>3.5</_SolutionProjectToolsVersion>
<_SolutionProjectCacheVersion>4.0</_SolutionProjectCacheVersion>
</PropertyGroup>
<ItemGroup>
<_SolutionProjectProjects Include="meteolib.vcproj" />
</ItemGroup>
<UsingTask TaskName="Microsoft.Build.Tasks.CreateTemporaryVCProject" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<UsingTask TaskName="Microsoft.Build.Tasks.ResolveVCProjectOutput" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<PropertyGroup Condition=" '$(Configuration)' == '' ">
<Configuration>Debug</Configuration>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == '' ">
<Platform>Win32</Platform>
</PropertyGroup>
<PropertyGroup Condition=" ('$(AspNetConfiguration)' == '') ">
<AspNetConfiguration>$(Configuration)</AspNetConfiguration>
</PropertyGroup>
<PropertyGroup>
<SolutionDir>C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\</SolutionDir>
<SolutionExt>.sln</SolutionExt>
<SolutionFileName>meteolib.sln</SolutionFileName>
<SolutionName>meteolib</SolutionName>
<SolutionPath>C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln</SolutionPath>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == '' and '$(MSBuildToolsVersion)' == '2.0'">v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == '' and ('$(MSBuildToolsVersion)' == '3.5' or '$(MSBuildToolsVersion)' == '3.0')">v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == '' and '$(MSBuildToolsVersion)' == '4.0'">v4.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Win32') ">
<CurrentSolutionConfigurationContents>
<SolutionConfiguration xmlns="">
<ProjectConfiguration Project="{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}">Debug|Win32</ProjectConfiguration>
</SolutionConfiguration>
</CurrentSolutionConfigurationContents>
</PropertyGroup>
<PropertyGroup Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Win32') ">
<CurrentSolutionConfigurationContents>
<SolutionConfiguration xmlns="">
<ProjectConfiguration Project="{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}">Release|Win32</ProjectConfiguration>
</SolutionConfiguration>
</CurrentSolutionConfigurationContents>
</PropertyGroup>
<Target Name="ValidateSolutionConfiguration">
<Error Text="The specified solution configuration &quot;$(Configuration)|$(Platform)&quot; is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform=&quot;Any CPU&quot;) or leave those properties blank to use the default solution configuration." Code="MSB4126" HelpKeyword="MSBuild.SolutionInvalidSolutionConfiguration" Condition="('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' != 'true')" />
<Warning Text="The specified solution configuration &quot;$(Configuration)|$(Platform)&quot; is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform=&quot;Any CPU&quot;) or leave those properties blank to use the default solution configuration." Code="MSB4126" HelpKeyword="MSBuild.SolutionInvalidSolutionConfiguration" Condition="('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' == 'true')" />
<Message Text="Building solution configuration &quot;$(Configuration)|$(Platform)&quot;." Condition="'$(CurrentSolutionConfigurationContents)' != ''" />
</Target>
<Target Name="ValidateToolsVersions">
<Error Text="The tools version &quot;$(MSBuildToolsVersion)&quot; of the solution does not support building projects with a different tools version." Code="MSB4149" HelpKeyword="MSBuild.SolutionToolsVersionDoesNotSupportProjectToolsVersion" Condition="'$(MSBuildToolsVersion)' == '2.0' and ('$(ProjectToolsVersion)' != '2.0' and '$(ProjectToolsVersion)' != '')" />
</Target>
<Target Name="meteolib" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Debug|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Win32') " />
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Release|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Win32') " />
</Target>
<Target Name="meteolib:Clean" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Debug|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Clean="true" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Win32') " />
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Release|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Clean="true" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Win32') " />
</Target>
<Target Name="meteolib:Rebuild" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Debug|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Rebuild="true" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Win32') " />
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Release|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Rebuild="true" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Win32') " />
</Target>
<Target Name="meteolib:Publish" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
<Warning Text="VC projects do not support the &quot;Publish&quot; target." Code="MSB4076" HelpKeyword="MSBuild.SolutionVCProjectNoPublish" />
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Debug|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Win32') " />
<VCBuild Projects="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.vcproj" ToolPath="$(VCBuildToolPath)" Configuration="Release|Win32" SolutionFile="C:\Users\Bryan Kowal\Documents\nativeLib\rary.meteorological\windows\project\meteolib.sln" Override="$(VCBuildOverride)" AdditionalLibPaths="$(VCBuildAdditionalLibPaths)" AdditionalLinkLibraryPaths="$(VCBuildAdditionalLinkLibraryPaths)" UseEnvironment="$(VCBuildUseEnvironment)" UserEnvironment="$(VCBuildUserEnvironment)" AdditionalOptions="$(VCBuildAdditionalOptions)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Win32') " />
</Target>
<Target Name="Build" Condition="'$(CurrentSolutionConfigurationContents)' != ''" Outputs="@(CollectedBuildOutput)">
<MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)">
<Output TaskParameter="TargetOutputs" ItemName="CollectedBuildOutput" />
</MSBuild>
<Message Text="The project &quot;%(SkipLevel0.Identity)&quot; is not selected for building in solution configuration &quot;$(Configuration)|$(Platform)&quot;." Condition="@(SkipLevel0) != ''" />
<Warning Text="The project configuration for project &quot;%(MissingConfigLevel0.Identity)&quot; was not specified in the solution file for the solution configuration &quot;$(Configuration)|$(Platform)&quot;." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
<CallTarget Targets="meteolib" RunEachTargetSeparately="true" />
</Target>
<Target Name="Clean" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
<MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" Targets="Clean" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" />
<Message Text="The project &quot;%(SkipLevel0.Identity)&quot; is not selected for building in solution configuration &quot;$(Configuration)|$(Platform)&quot;." Condition="@(SkipLevel0) != ''" />
<Warning Text="The project configuration for project &quot;%(MissingConfigLevel0.Identity)&quot; was not specified in the solution file for the solution configuration &quot;$(Configuration)|$(Platform)&quot;." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
<CallTarget Targets="meteolib:Clean" RunEachTargetSeparately="true" />
<Delete Files="meteolib.sln.cache" />
</Target>
<Target Name="Rebuild" Condition="'$(CurrentSolutionConfigurationContents)' != ''" Outputs="@(CollectedBuildOutput)">
<MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" Targets="Rebuild" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)">
<Output TaskParameter="TargetOutputs" ItemName="CollectedBuildOutput" />
</MSBuild>
<Message Text="The project &quot;%(SkipLevel0.Identity)&quot; is not selected for building in solution configuration &quot;$(Configuration)|$(Platform)&quot;." Condition="@(SkipLevel0) != ''" />
<Warning Text="The project configuration for project &quot;%(MissingConfigLevel0.Identity)&quot; was not specified in the solution file for the solution configuration &quot;$(Configuration)|$(Platform)&quot;." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
<CallTarget Targets="meteolib:Rebuild" RunEachTargetSeparately="true" />
</Target>
<Target Name="Publish" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
<MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" Targets="Publish" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" />
<Message Text="The project &quot;%(SkipLevel0.Identity)&quot; is not selected for building in solution configuration &quot;$(Configuration)|$(Platform)&quot;." Condition="@(SkipLevel0) != ''" />
<Warning Text="The project configuration for project &quot;%(MissingConfigLevel0.Identity)&quot; was not specified in the solution file for the solution configuration &quot;$(Configuration)|$(Platform)&quot;." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
<CallTarget Targets="meteolib:Publish" RunEachTargetSeparately="true" />
</Target>
</Project>

View file

@ -0,0 +1,642 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="meteolib"
ProjectGUID="{E8CA21BD-80BA-4B52-9342-F3DCCD9A5CFF}"
RootNamespace="meteolib"
Keyword="MakeFileProj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="0"
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="CALL meteolib.bat"
ReBuildCommandLine=""
CleanCommandLine="cd $(InputDir)..\&#x0D;&#x0A;IF EXIST build (&#x0D;&#x0A; DEL /Q build\*&#x0D;&#x0A; RMDIR build&#x0D;&#x0A;)"
Output=""
PreprocessorDefinitions="WIN32;_DEBUG"
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="0"
>
<Tool
Name="VCNMakeTool"
BuildCommandLine=""
ReBuildCommandLine=""
CleanCommandLine=""
Output=""
PreprocessorDefinitions="WIN32;NDEBUG"
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="..\..\src\addaray.f"
>
</File>
<File
RelativePath="..\..\src\addbycnst.f"
>
</File>
<File
RelativePath="..\..\src\adiabatic_te.c"
>
</File>
<File
RelativePath="..\..\src\alt2press.f"
>
</File>
<File
RelativePath="..\..\src\avwind.f"
>
</File>
<File
RelativePath="..\..\src\BulkRichNo.f"
>
</File>
<File
RelativePath="..\..\src\calccondpr.f"
>
</File>
<File
RelativePath="..\..\src\calccondprdef.f"
>
</File>
<File
RelativePath="..\..\src\calcdpd.f"
>
</File>
<File
RelativePath="..\..\src\calcHeatIndex.c"
>
</File>
<File
RelativePath="..\..\src\calckidx.c"
>
</File>
<File
RelativePath="..\..\src\calcli.f"
>
</File>
<File
RelativePath="..\..\src\calcpv.f"
>
</File>
<File
RelativePath="..\..\src\calcrh.f"
>
</File>
<File
RelativePath="..\..\src\calcrh2.f"
>
</File>
<File
RelativePath="..\..\src\calctd.f"
>
</File>
<File
RelativePath="..\..\src\calctd2.f"
>
</File>
<File
RelativePath="..\..\src\calcthetae.f"
>
</File>
<File
RelativePath="..\..\src\calcthetae2.f"
>
</File>
<File
RelativePath="..\..\src\calctotidx.c"
>
</File>
<File
RelativePath="..\..\src\calctv.f"
>
</File>
<File
RelativePath="..\..\src\calctv2.f"
>
</File>
<File
RelativePath="..\..\src\calctw.f"
>
</File>
<File
RelativePath="..\..\src\calcWindChill.c"
>
</File>
<File
RelativePath="..\..\src\capeFunc.c"
>
</File>
<File
RelativePath="..\..\src\cclpar.f"
>
</File>
<File
RelativePath="..\..\src\cgp.f"
>
</File>
<File
RelativePath="..\..\src\comp_by.f"
>
</File>
<File
RelativePath="..\..\src\constant.f"
>
</File>
<File
RelativePath="..\..\src\crossvectors.f"
>
</File>
<File
RelativePath="..\..\src\ctop.f"
>
</File>
<File
RelativePath="..\..\src\cv_date2jul.f"
>
</File>
<File
RelativePath="..\..\src\cvgust.f"
>
</File>
<File
RelativePath="..\..\src\dcapeFunc.c"
>
</File>
<File
RelativePath="..\..\src\ddff.f"
>
</File>
<File
RelativePath="..\..\src\deftrk.f"
>
</File>
<File
RelativePath="..\..\src\density.f"
>
</File>
<File
RelativePath="..\..\src\derivative.f"
>
</File>
<File
RelativePath="..\..\src\derived_icing.f"
>
</File>
<File
RelativePath="..\..\src\dgeocomps.f"
>
</File>
<File
RelativePath="..\..\src\dist_filter.c"
>
</File>
<File
RelativePath="..\..\src\divaray.f"
>
</File>
<File
RelativePath="..\..\src\dmixr.f"
>
</File>
<File
RelativePath="..\..\src\dotvectors.f"
>
</File>
<File
RelativePath="..\..\src\dzdlnp.f"
>
</File>
<File
RelativePath="..\..\src\eqlev.f"
>
</File>
<File
RelativePath="..\..\src\eqp.f"
>
</File>
<File
RelativePath="..\..\src\esat.f"
>
</File>
<File
RelativePath="..\..\src\exparay.f"
>
</File>
<File
RelativePath="..\..\inc\ExtFtn.h"
>
</File>
<File
RelativePath="..\..\src\fndiverg.f"
>
</File>
<File
RelativePath="..\..\src\forecast.f"
>
</File>
<File
RelativePath="..\..\src\fortconbuf.f"
>
</File>
<File
RelativePath="..\..\src\frontogen.f"
>
</File>
<File
RelativePath="..\..\src\frzlev.f"
>
</File>
<File
RelativePath="..\..\src\fsdiverg.f"
>
</File>
<File
RelativePath="..\..\src\g2gkinematics.f"
>
</File>
<File
RelativePath="..\..\src\gusts.f"
>
</File>
<File
RelativePath="..\..\src\hailsiz.f"
>
</File>
<File
RelativePath="..\..\src\helicity.f"
>
</File>
<File
RelativePath="..\..\src\heliComp.c"
>
</File>
<File
RelativePath="..\..\src\hgt2pres.f"
>
</File>
<File
RelativePath="..\..\src\interp.c"
>
</File>
<File
RelativePath="..\..\src\interp1.f"
>
</File>
<File
RelativePath="..\..\src\intpos.f"
>
</File>
<File
RelativePath="..\..\src\IntrinsicFunctions.f"
>
</File>
<File
RelativePath="..\..\src\isenstable.f"
>
</File>
<File
RelativePath="..\..\src\koffset.f"
>
</File>
<File
RelativePath="..\..\src\lapserate.f"
>
</File>
<File
RelativePath="..\..\src\lclpar.f"
>
</File>
<File
RelativePath="..\..\src\lfcpar.f"
>
</File>
<File
RelativePath="..\..\src\liftedp.f"
>
</File>
<File
RelativePath="..\..\src\lintrans.f"
>
</File>
<File
RelativePath=".\Makefile"
>
</File>
<File
RelativePath="..\..\src\matsln.f"
>
</File>
<File
RelativePath="..\..\src\maxmin.f"
>
</File>
<File
RelativePath="..\..\src\meanomega.f"
>
</File>
<File
RelativePath=".\meteolib.bat"
>
</File>
<File
RelativePath=".\meteoLib.cfg"
>
</File>
<File
RelativePath="..\..\inc\meteoLib.h"
>
</File>
<File
RelativePath="..\..\src\mixrat.f"
>
</File>
<File
RelativePath="..\..\src\mslp2thkns.f"
>
</File>
<File
RelativePath="..\..\src\multaray.f"
>
</File>
<File
RelativePath="..\..\src\multbycnst.f"
>
</File>
<File
RelativePath="..\..\src\mxtp.f"
>
</File>
<File
RelativePath="..\..\src\nadgdt.f"
>
</File>
<File
RelativePath="..\..\src\natlog.f"
>
</File>
<File
RelativePath="..\..\src\negarea.f"
>
</File>
<File
RelativePath="..\..\src\posarea.f"
>
</File>
<File
RelativePath="..\..\src\pottemp.f"
>
</File>
<File
RelativePath="..\..\src\powercalc.f"
>
</File>
<File
RelativePath="..\..\src\press2alt.f"
>
</File>
<File
RelativePath="..\..\src\presstable.f"
>
</File>
<File
RelativePath="..\..\src\pseudolift.f"
>
</File>
<File
RelativePath="..\..\src\ptozsa.f"
>
</File>
<File
RelativePath="..\..\src\pvadv.f"
>
</File>
<File
RelativePath="..\..\src\pvalue.f"
>
</File>
<File
RelativePath="..\..\src\pvpres.f"
>
</File>
<File
RelativePath="..\..\src\qdiverg.f"
>
</File>
<File
RelativePath="..\..\src\qvector.f"
>
</File>
<File
RelativePath="..\..\src\radiation.f"
>
</File>
<File
RelativePath="..\..\src\radrtns.f"
>
</File>
<File
RelativePath="..\..\src\rang2d.f"
>
</File>
<File
RelativePath="..\..\src\replinrange.f"
>
</File>
<File
RelativePath="..\..\src\rhbar.f"
>
</File>
<File
RelativePath="..\..\src\rotvectors.f"
>
</File>
<File
RelativePath="..\..\src\scaleless_analysis.c"
>
</File>
<File
RelativePath="..\..\src\setqsmooth.f"
>
</File>
<File
RelativePath="..\..\src\slfront.f"
>
</File>
<File
RelativePath="..\..\src\sliceConvert.c"
>
</File>
<File
RelativePath="..\..\src\slqdiv.f"
>
</File>
<File
RelativePath="..\..\src\slqvect.f"
>
</File>
<File
RelativePath="..\..\src\smooth.f"
>
</File>
<File
RelativePath="..\..\src\solax.f"
>
</File>
<File
RelativePath="..\..\src\spechum.f"
>
</File>
<File
RelativePath="..\..\src\spechum2.f"
>
</File>
<File
RelativePath="..\..\src\strmpak.f"
>
</File>
<File
RelativePath="..\..\src\subaray.f"
>
</File>
<File
RelativePath="..\..\src\sunfuncs.f"
>
</File>
<File
RelativePath="..\..\src\sweat.f"
>
</File>
<File
RelativePath="..\..\src\sweatidx.f"
>
</File>
<File
RelativePath="..\..\src\tdofesat.f"
>
</File>
<File
RelativePath="..\..\src\temp2theta.f"
>
</File>
<File
RelativePath="..\..\src\temp_mixratio.c"
>
</File>
<File
RelativePath="..\..\src\temp_of_te.c"
>
</File>
<File
RelativePath="..\..\src\thermoRtns.c"
>
</File>
<File
RelativePath="..\..\src\theta2temp.f"
>
</File>
<File
RelativePath="..\..\src\thetawa.f"
>
</File>
<File
RelativePath="..\..\src\totals.f"
>
</File>
<File
RelativePath="..\..\src\tplcl.f"
>
</File>
<File
RelativePath="..\..\src\tpzlcl.f"
>
</File>
<File
RelativePath="..\..\src\tsoar.f"
>
</File>
<File
RelativePath="..\..\src\tv2temp.f"
>
</File>
<File
RelativePath="..\..\src\uvcomp.f"
>
</File>
<File
RelativePath="..\..\src\verpts.f"
>
</File>
<File
RelativePath="..\..\src\virttemp.f"
>
</File>
<File
RelativePath="..\..\src\virtualt.f"
>
</File>
<File
RelativePath="..\..\src\vp.f"
>
</File>
<File
RelativePath="..\..\src\vvel.f"
>
</File>
<File
RelativePath="..\..\src\wbzero.f"
>
</File>
<File
RelativePath="..\..\src\winddir.f"
>
</File>
<File
RelativePath="..\..\src\windspeed.f"
>
</File>
<File
RelativePath="..\..\src\wndrho.f"
>
</File>
<File
RelativePath="..\..\src\ztopsa.f"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="ISFL017138"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command="$(TargetPath)"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="ISFL017138"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>