[svn-r13799] Applying Windows Fortran-specific patches suggested in Bug #879. This checkin takes care of the first two, I will look at the last one today.

Tested:
Visual Studio 2005 on WinXP
This commit is contained in:
Scott Wegner 2007-05-23 09:14:53 -05:00
parent 03abf3cafe
commit 6ea2260ea7
5 changed files with 17 additions and 18 deletions

View File

@ -5559,7 +5559,7 @@
SUBROUTINE h5dfill_char(fill_value, space_id, buf, hdferr)
!This definition is needed for Windows DLLs
!DEC$if defined(BUILD_HDF5_DLL)
!DEC$attributes dllexport :: h5dfill_integer
!DEC$attributes dllexport :: h5dfill_char
!DEC$endif
IMPLICIT NONE

View File

@ -3629,7 +3629,7 @@
!
!This definition is needed for Windows DLLs
!DEC$if defined(BUILD_HDF5_DLL)
!DEC$attributes dllexport :: h5pset_fill_time_f
!DEC$attributes dllexport :: h5pget_fill_time_f
!DEC$endif
!
IMPLICIT NONE
@ -3825,7 +3825,7 @@
!
!This definition is needed for Windows DLLs
!DEC$if defined(BUILD_HDF5_DLL)
!DEC$attributes dllexport :: h5pset_sieve_buf_size_f
!DEC$attributes dllexport :: h5pget_sieve_buf_size_f
!DEC$endif
!
IMPLICIT NONE

View File

@ -24,6 +24,7 @@ mkdir bindll
mkdir dll
mkdir lib
mkdir include
mkdir modsdll
cd ..
mkdir release
cd release
@ -31,7 +32,8 @@ mkdir bin
mkdir bindll
mkdir dll
mkdir lib
mkdir include
mkdir include
mkdir modsdll
cd ..
cd ..
@ -97,13 +99,14 @@ copy tools\h5repartdll\release\h5repartdll.exe hdf5lib\release\bindll
copy hl\src\*.h hdf5lib\debug\include
copy "hl\c++\src\*.h" hdf5lib\debug\include
copy proj\hdf5_hl_fortran\debug\*.mod hdf5lib\debug\include
copy proj\hdf5_hl_fortrandll\debug\*.mod hdf5lib\debug\include
copy proj\hdf5_hl_fortrandll\debug\*.mod hdf5lib\debug\modsdll
copy proj\hdf5_hl\debug\hdf5_hld.lib hdf5lib\debug\lib
copy proj\hdf5_hl_cpp\debug\hdf5_hl_cppd.lib hdf5lib\debug\lib
copy proj\hdf5_hl_fortran\debug\hdf5_hl_fortrand.lib hdf5lib\debug\lib
copy proj\hdf5_hl_fortran\debug\hdf5_hl_fortran.lib hdf5lib\debug\lib
copy proj\hdf5_hl_fortran\debug\hdf5_hl_fortran_libd.lib hdf5lib\debug\lib
copy proj\hdf5_hldll\debug\hdf5_hldlld.lib hdf5lib\debug\dll
copy proj\hdf5_hldll\debug\hdf5_hldlld.dll hdf5lib\debug\dll
@ -120,12 +123,12 @@ copy proj\hdf5_hl_f90cstubdll\debug\hdf5_hl_f90cstubdlld.dll hdf5lib\debug\dll
copy hl\src\*.h hdf5lib\release\include
copy "hl\c++\src\*.h" hdf5lib\release\include
copy proj\hdf5_hl_fortran\release\*.mod hdf5lib\release\include
copy proj\hdf5_hl_fortrandll\release\*.mod hdf5lib\release\include
copy proj\hdf5_hl_fortrandll\release\*.mod hdf5lib\release\modsdll
copy proj\hdf5_hl\release\hdf5_hl.lib hdf5lib\release\lib
copy proj\hdf5_hl_cpp\release\hdf5_hl_cpp.lib hdf5lib\release\lib
copy proj\hdf5_hl_fortran\release\hdf5_hl_fortranr.lib hdf5lib\release\lib
copy proj\hdf5_hl_fortran\release\hdf5_hl_fortran.lib hdf5lib\release\lib
copy proj\hdf5_hl_fortran\release\hdf5_hl_fortran_lib.lib hdf5lib\release\lib
copy proj\hdf5_hldll\release\hdf5_hldll.lib hdf5lib\release\dll
copy proj\hdf5_hldll\release\hdf5_hldll.dll hdf5lib\release\dll
@ -158,7 +161,8 @@ rename cpp c++
@REM Install Fortran libraries and tools
copy proj\hdf5_fortran\debug\*.mod hdf5lib\debug\include
copy proj\hdf5_fortran\debug\hdf5_fortrand.lib hdf5lib\debug\lib
copy proj\hdf5_fortrandll\debug\*.mod hdf5lib\debug\include
copy proj\hdf5_f90cstub\debug\hdf5_f90cstubd.lib hdf5lib\debug\lib
copy proj\hdf5_fortrandll\debug\*.mod hdf5lib\debug\modsdll
copy proj\hdf5_fortrandll\debug\hdf5_fortranddll.lib hdf5lib\debug\dll
copy proj\hdf5_fortrandll\debug\hdf5_fortranddll.dll hdf5lib\debug\dll
copy proj\hdf5_f90cstubdll\debug\hdf5_f90cstubddll.lib hdf5lib\debug\dll
@ -166,8 +170,9 @@ copy proj\hdf5_f90cstubdll\debug\hdf5_f90cstubddll.dll hdf5lib\debug\dll
copy proj\hdf5_fortran\release\*.mod hdf5lib\release\include
copy proj\hdf5_fortran\release\hdf5_fortran.lib hdf5lib\release\lib
copy proj\hdf5_fortrandll\release\*.mod hdf5lib\release\include
copy proj\hdf5_f90cstub\release\hdf5_f90cstub.lib hdf5lib\release\lib
copy proj\hdf5_fortrandll\release\*.mod hdf5lib\release\modsdll
copy proj\hdf5_fortrandll\release\hdf5_fortrandll.lib hdf5lib\release\dll
copy proj\hdf5_fortrandll\release\hdf5_fortrandll.dll hdf5lib\release\dll
copy proj\hdf5_f90cstubdll\release\hdf5_f90cstubdll.lib hdf5lib\release\dll
copy proj\hdf5_f90cstubdll\release\hdf5_f90cstubdll.dll hdf5lib\release\dll
copy proj\hdf5_f90cstubdll\release\hdf5_f90cstubdll.dll hdf5lib\release\dll

View File

@ -2231,12 +2231,6 @@ Package=<4>
Begin Project Dependency
Project_Dep_Name hdf5_fortran
End Project Dependency
Begin Project Dependency
Project_Dep_Name hdf5
End Project Dependency
Begin Project Dependency
Project_Dep_Name hdf5_f90cstub
End Project Dependency
}}}
###############################################################################

View File

@ -52,7 +52,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\..\..\proj\hdf5_hl_fortran\Release\hdf5_hl_fortranr.lib"
+# ADD LIB32 /nologo /out:"..\..\..\proj\hdf5_hl_fortran\Release\hdf5_hl_fortran.lib"
!ELSEIF "$(CFG)" == "hdf5_hl_fortran - Win32 Debug"