290 |
|
CppOptions = $(FrcDeclare) |
291 |
|
CppParallelOptions = $(FrcDeclare) $(ParallelDeclare) |
292 |
|
FortranOptions = |
293 |
< |
F90Options = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) -module $(TargetDir) |
294 |
< |
F90ParallelOptions = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) -module $(ParallelTargetDir) @PREPDEFFLAG@$(ParallelDeclare) |
293 |
> |
F90Options = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(TargetDir) |
294 |
> |
F90ParallelOptions = @PREPFLAG@ @F90FLAGS@ @MODDIRFLAG@$(SourceDir) @MODDIRFLAG@$(ParallelTargetDir) @PREPDEFFLAG@$(ParallelDeclare) |
295 |
|
JavaCompilerOptions = -d $(TargetDir) -classpath $(ClassPath) \ |
296 |
|
-sourcepath $(SourceDir) -deprecation |
297 |
|
JavaRunOptions = -classpath $(ClassPath) |
652 |
|
@cd $(PackageSourceDir) |
653 |
|
|
654 |
|
ifneq "$(words $(CppFiles))" "0" |
655 |
< |
$(CppCompiler) $(CppOptions) $(IncludePath) -MM $(CppFiles) > Make.cpptemp |
656 |
< |
@cat Make.cpptemp | sed 's/^[a-zA-Z0-9]/$$\(TargetDir\)\/&/g' >> $(DependencyFile) |
655 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' -MM $(CppFiles)>> Make.cpptemp |
656 |
> |
@cat Make.cpptemp >> $(DependencyFile) |
657 |
|
$(Delete) Make.cpptemp |
658 |
< |
$(CppCompiler) $(CppParallelOptions) $(IncludePath) -MM $(CppFiles) > Make.cpptemp |
659 |
< |
@cat Make.cpptemp | sed 's/^[a-zA-Z0-9]/$$\(ParallelTargetDir\)\/&/g' >> $(DependencyFile) |
658 |
> |
|
659 |
> |
ifeq "$(UseMPI)" "yes" |
660 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) -MM $(CppFiles)>> Make.cpptemp |
661 |
> |
@cat Make.cpptemp >> $(DependencyFile) |
662 |
|
@$(Delete) Make.cpptemp |
663 |
+ |
endif |
664 |
+ |
|
665 |
|
endif |
666 |
|
|
667 |
|
ifneq "$(words $(CFiles))" "0" |
668 |
< |
$(CCompiler) $(COptions) $(IncludePath) -MM $(CFiles) $(DerivedCFiles) > Make.ctemp |
669 |
< |
@cat Make.ctemp | sed 's/^[a-zA-Z0-9]/$$\(TargetDir\)\/&/g' >> $(DependencyFile) |
668 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' -MM $(CFiles) $(DerivedCFiles) >> Make.ctemp |
669 |
> |
@cat Make.ctemp >> $(DependencyFile) |
670 |
|
$(Delete) Make.ctemp |
671 |
< |
$(CCompiler) $(CParallelOptions) $(IncludePath) -MM $(CFiles) $(DerivedCFiles) > Make.ctemp |
672 |
< |
@cat Make.ctemp | sed 's/^[a-zA-Z0-9]/$$\(ParallelTargetDir\)\/&/g' >> $(DependencyFile) |
671 |
> |
|
672 |
> |
ifeq "$(UseMPI)" "yes" |
673 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) -MM $(CFiles) $(DerivedCFiles) >> Make.ctemp |
674 |
> |
@cat Make.ctemp >> $(DependencyFile) |
675 |
|
@$(Delete) Make.ctemp |
676 |
+ |
endif |
677 |
+ |
|
678 |
|
endif |
679 |
|
|
680 |
|
ifneq "$(words $(F90Files))" "0" |
681 |
< |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' $(F90Declare) -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) > Make.ftemp |
674 |
< |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) $(F90Declare) -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) >> Make.ftemp |
681 |
> |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(TargetDir)/' $(F90Declare) -MM -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) > Make.ftemp |
682 |
|
@cat Make.ftemp >> $(DependencyFile) |
683 |
|
@$(Delete) Make.ftemp |
684 |
+ |
|
685 |
+ |
ifeq "$(UseMPI)" "yes" |
686 |
+ |
$(DEV_ROOT)/scripts/filepp -I $(DEV_ROOT)/src -od '$$(ParallelTargetDir)/' $(ParallelDeclare) $(F90Declare) -MM -mc $(ModuleCase) -ms $(ModSuffix) $(F90Files) >> Make.ftemp |
687 |
+ |
@cat Make.ftemp >> $(DependencyFile) |
688 |
+ |
@$(Delete) Make.ftemp |
689 |
+ |
endif |
690 |
+ |
|
691 |
|
endif |
692 |
|
|
693 |
|
# make lib |