|
350 | 350 | exit 0;
|
351 | 351 | }
|
352 | 352 | }
|
353 |
| -elsif (defined($ENV{LIS_ESMF_DYNAMIC})) { |
354 |
| - print "ESMFMKFILE will be define during compile using the environment.\n\n"; |
355 |
| - $use_esmf_dynamic = 1; |
356 |
| - $sys_esmflib_path = "\$(subst lib,mod,\$(ESMF_LIBSDIR))"; |
357 |
| - $sys_esmfmod_path = "\$(ESMF_LIBSDIR)"; |
358 |
| -} |
359 | 353 | else{
|
360 | 354 | print "--------------ERROR---------------------\n";
|
361 | 355 | print "Please specify the ESMF library paths using\n";
|
|
991 | 985 | if($use_esmf_trace == 1){
|
992 | 986 | $fflags77 = $fflags77." -DESMF_TRACE";
|
993 | 987 | $fflags = $fflags." -DESMF_TRACE";
|
994 |
| - if($use_esmf_dynamic == 1) { |
995 |
| -# $ldflags= "\$(ESMF_TRACE_STATICLINKOPTS) ".$ldflags; |
996 |
| -# $ldflags= $ldflags." \$(ESMF_TRACE_STATICLINKLIBS)"; |
997 |
| -# $lib_flags= "\$(ESMF_TRACE_STATICLINKOPTS) ".$lib_flags; |
998 |
| -# $lib_paths= $lib_paths." \$(ESMF_TRACE_STATICLINKLIBS)"; |
999 |
| - } |
1000 | 988 | else {
|
1001 | 989 | if (not(open(ESMFMKFILE, $sys_esmfmkfile))) {
|
1002 | 990 | print "--------------ERROR---------------------\n";
|
|
1049 | 1037 | #
|
1050 | 1038 |
|
1051 | 1039 | open(conf_file,">configure.lis");
|
1052 |
| -if($use_esmf_dynamic == 1) { |
1053 |
| -printf conf_file "%s\n","ifneq (\$(origin ESMFMKFILE), environment)"; |
1054 |
| -printf conf_file "%s\n","\$(error Environment variable ESMFMKFILE required.)"; |
1055 |
| -printf conf_file "%s\n","endif"; |
1056 |
| -printf conf_file "%s\n","include \$(ESMFMKFILE)"; |
1057 |
| -} |
1058 | 1040 | printf conf_file "%s%s\n","FC = $sys_fc";
|
1059 | 1041 | printf conf_file "%s%s\n","FC77 = $sys_fc";
|
1060 | 1042 | printf conf_file "%s%s\n","LD = $sys_fc";
|
|
0 commit comments