wmake: Change default behaviour to check the Make/files file for a LIB entry and compile libso if appropriate

This commit is contained in:
Henry
2013-05-13 15:23:16 +01:00
parent 876beee7ec
commit caa74eee6f

View File

@ -3,7 +3,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation # \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# License # License
@ -202,9 +202,9 @@ fi
exit 1 exit 1
} }
# transform "all" option to "libso" if that looks appropriate or remove it # transform "all" or no option to "libso" if that looks appropriate or remove it
# so that the call to make builds the application # so that the call to make builds the application
if [ "$makeType" = all ] if [ "$makeType" = all -o "$makeType" = "" ]
then then
unset makeType unset makeType
if grep -e '^ *LIB *=' "$MakeDir/files" >/dev/null 2>&1 if grep -e '^ *LIB *=' "$MakeDir/files" >/dev/null 2>&1