Changeset 12413


Ignore:
Timestamp:
06/13/12 12:18:09 (13 years ago)
Author:
Mathieu Morlighem
Message:

Switch off kriging compilation if --without-kriging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Makefile.am

    r12382 r12413  
    33EXEEXT=$(ISSMEXT)
    44
    5 #Library declaration {{{1
     5#Library declaration {{{
    66lib_LIBRARIES = libISSMCore.a libISSMOverload.a
    77if PYTHON
     
    1717
    1818#sources
    19 #Core sources{{{1
     19#Core sources{{{
    2020core_sources = ./issm.h\
    2121                                        ./issm-binding.h\
     
    342342
    343343#}}}
    344 #DAKOTA sources  {{{1
     344#DAKOTA sources  {{{
    345345dakota_sources = ./objects/DakotaPlugin.h\
    346346                                          ./objects/DakotaPlugin.cpp\
     
    366366                                          ./modules/Dakotax/SpawnCoreParallel.cpp
    367367#}}}
    368 #Transient sources  {{{1
     368#Transient sources  {{{
    369369transient_sources  = ./modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp \
    370370                                         ./solutions/transient_core.cpp
    371371#}}}
    372 #Steadystate sources  {{{1
     372#Steadystate sources  {{{
    373373steadystate_sources = ./solutions/steadystate_core.cpp\
    374374                                          ./solutions/steadystateconvergence.cpp
    375375#}}}
    376 #Prognostic sources  {{{1
     376#Prognostic sources  {{{
    377377prognostic_sources = ./modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp\
    378378                                              ./modules/ModelProcessorx/Prognostic/CreateNodesPrognostic.cpp\
     
    381381                                                  ./solutions/prognostic_core.cpp
    382382#}}}
    383 #Thermal sources  {{{1
     383#Thermal sources  {{{
    384384thermal_sources = ./modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp\
    385385                                           ./modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp\
     
    401401                                           ./solvers/solver_thermal_nonlinear.cpp
    402402#}}}
    403 #Control sources  {{{1
     403#Control sources  {{{
    404404control_sources= ./modules/ControlInputGetGradientx/ControlInputGetGradientx.cpp\
    405405                                          ./modules/ControlInputGetGradientx/ControlInputGetGradientx.h\
     
    456456
    457457#}}}
    458 #Hydrology sources  {{{1
     458#Hydrology sources  {{{
    459459hydrology_sources  = ./modules/ModelProcessorx/Hydrology/UpdateElementsHydrology.cpp\
    460460                                              ./modules/ModelProcessorx/Hydrology/CreateNodesHydrology.cpp\
     
    464464                                                  ./solutions/hydrology_core_step.cpp
    465465#}}}
    466 #Diagnostic sources  {{{1
     466#Diagnostic sources  {{{
    467467diagnostic_sources = ./modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp\
    468468                                              ./modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp \
     
    485485                                                  ./solvers/solver_stokescoupling_nonlinear.cpp
    486486#}}}
    487 #Balanced sources  {{{1
     487#Balanced sources  {{{
    488488balanced_sources = ./modules/ModelProcessorx/Balancethickness/UpdateElementsBalancethickness.cpp\
    489489                                            ./modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp\
     
    492492                                                ./solutions/balancethickness_core.cpp
    493493#}}}
    494 #Responses sources  {{{1
     494#Responses sources  {{{
    495495responses_sources = ./modules/MinVelx/MinVelx.h\
    496496                                             ./modules/MinVelx/MinVelx.cpp\
     
    522522                                             ./modules/MassFluxx/MassFluxx.h
    523523#}}}
    524 #Slope sources  {{{1
     524#Slope sources  {{{
    525525slope_sources =  ./modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp\
    526526                                          ./modules/ModelProcessorx/BedSlope/CreateNodesBedSlope.cpp \
     
    534534                                          ./solutions/bedslope_core.cpp
    535535#}}}
    536 #Groundingline sources  {{{1
     536#Groundingline sources  {{{
    537537groundingline_sources= ./modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp\
    538538                                                ./modules/GroundinglineMigrationx/GroundinglineMigrationx.h
    539539#}}}
    540 #Rifts sources  {{{1
     540#Rifts sources  {{{
    541541rifts_sources = ./objects/Loads/Riftfront.cpp\
    542542                                    ./objects/Loads/Riftfront.h\
    543543                                    ./modules/ConstraintsStatex/RiftConstraintsState.cpp
    544544#}}}
    545 #3D sources  {{{1
     545#3D sources  {{{
    546546threed_sources = ./objects/Gauss/GaussPenta.h\
    547547                                     ./objects/Gauss/GaussPenta.cpp\
     
    557557                                     ./objects/Elements/PentaRef.cpp
    558558#}}}
    559 #Bamg sources  {{{1
     559#Bamg sources  {{{
    560560bamg_sources =  ./objects/Bamg/BamgGeom.h\
    561561                                ./objects/Bamg/BamgGeom.cpp\
     
    623623                                ./modules/BamgTriangulatex/BamgTriangulatex.h
    624624#}}}
    625 #Kriging sources  {{{1
     625#Kriging sources  {{{
    626626kriging_sources = ./Container/Observations.h\
    627627                                                ./Container/Observations.cpp\
     
    662662
    663663#}}}
    664 #Kml sources  {{{1
     664#Kml sources  {{{
    665665kml_sources = ./modules/Exp2Kmlx/Exp2Kmlx.h\
    666666                             ./modules/Exp2Kmlx/Exp2Kmlx.cpp\
     
    730730                             ./objects/KML/KMLFileReadUtils.h
    731731#}}}
    732 #Petsc sources  {{{1
     732#Petsc sources  {{{
    733733petsc_sources= ./toolkits/petsc\
    734734                                        ./toolkits/petsc/patches\
     
    765765
    766766#}}}
    767 #Gsl sources  {{{1
     767#Gsl sources  {{{
    768768gsl_sources= ./modules/Solverx/SolverxGsl.cpp
    769769
    770770#}}}
    771 #Mpi sources  {{{1
     771#Mpi sources  {{{
    772772mpi_sources= ./toolkits/mpi/mpiincludes.h\
    773773                                ./toolkits/mpi/patches/mpipatches.h\
     
    777777                                ./toolkits/mpi/patches/MPI_Boundariesfromrange.cpp
    778778#}}}
    779 #Metis sources  {{{1
     779#Metis sources  {{{
    780780metis_sources= ./toolkits/metis/patches/metispatches.h\
    781781                                        ./toolkits/metis/patches/METIS_PartMeshNodalPatch.cpp
    782782#}}}
    783 #Python sources  {{{1
     783#Python sources  {{{
    784784python_sources=     ./python/io/pythonio.h\
    785785                                        ./python/python-binding.h\
     
    789789
    790790#}}}
    791 #Matlab sources  {{{1
     791#Matlab sources  {{{
    792792matlab_sources= ./toolkits/matlab/matlabincludes.h\
    793793                                    ./matlab/matlab-binding.h\
     
    806806                                         ./matlab/io/MatlabVectorToSeqVec.cpp
    807807#}}}
    808 #Matlab and Petsc sources  {{{1
     808#Matlab and Petsc sources  {{{
    809809matlabpetsc_sources= ./matlab/io/MatlabMatrixToPetscMatrix.cpp\
    810810                                         ./matlab/io/MatlabVectorToPetscVector.cpp
    811811       
    812812#}}}
    813 #Modules sources{{{1
     813#Modules sources{{{
    814814module_sources= ./objects/Options/Option.cpp\
    815815                        ./objects/Options/Option.h\
     
    899899#}}}
    900900
    901 #{{{1 Conditional build-up of sources
     901#{{{ Conditional build-up of sources
    902902#ISSM sources are a combination of core sources and sources related to specific capabilities (which can
    903903#be activated by autotools conditionals
    904 
    905904
    906905#First the core
     
    986985endif
    987986
    988 
    989 #}}}
    990 #Library flags and sources {{{1
     987if KRIGING
     988issm_sources +=  $(pkriging_sources)
     989endif
     990#}}}
     991#Library flags and sources {{{
    991992ALLCXXFLAGS= -fPIC -D_GNU_SOURCE -fno-omit-frame-pointer -pthread -D_CPP_  $(CXXFLAGS) $(CXXOPTFLAGS)
    992993
    993994libISSMCore_a_SOURCES  = $(issm_sources)
    994 libISSMCore_a_SOURCES += $(pkriging_sources)
    995995libISSMCore_a_CXXFLAGS = $(ALLCXXFLAGS)
    996996
     
    10141014
    10151015#}}}
    1016 #Overload library, to overload any non-standard symbols. {{{1
     1016#Overload library, to overload any non-standard symbols. {{{
    10171017libISSMOverload_a_SOURCES = ./shared/String/stricmp.c
    10181018libISSMOverload_a_CFLAGS  = -fPIC -D_C_ $(COPTFLAGS) $(CFLAGS)
    10191019#}}}
    10201020
    1021 #Executable {{{1
     1021#Executable {{{
    10221022bin_PROGRAMS = issm
    10231023
     
    10351035issm_CXXFLAGS= -fPIC $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS)
    10361036
     1037if KRIGING
    10371038bin_PROGRAMS += kriging
    10381039kriging_SOURCES = solutions/kriging.cpp
    10391040kriging_CXXFLAGS= -fPIC $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS)
     1041endif
    10401042#}}}
    10411043#Automatic differentiation: append this fold to the end of the src/c/Makefile.am to get this Makefile.am {{{
Note: See TracChangeset for help on using the changeset viewer.