Ignore:
Timestamp:
09/23/13 09:25:20 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: do not compile Scotchx and Chacox if not present

File:
1 edited

Legend:

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

    r16210 r16226  
    817817                        ./shared/TriMesh/SplitMeshForRifts.cpp\
    818818                        ./shared/TriMesh/TriMeshUtils.cpp\
    819                         ./modules/Chacox/Chacox.h\
    820                         ./modules/Chacox/Chacox.cpp\
    821                         ./modules/Chacox/input_parse.cpp\
    822                         ./modules/Chacox/chaco_seconds.cpp\
    823                         ./modules/Chacox/user_params.cpp\
    824819                        ./modules/TriaSearchx/TriaSearchx.h\
    825820                        ./modules/TriaSearchx/TriaSearchx.cpp\
     
    861856                        ./modules/ElementConnectivityx/ElementConnectivityx.cpp\
    862857                        ./modules/ElementConnectivityx/ElementConnectivityx.h\
    863                         ./modules/Scotchx/Scotchx.cpp\
    864                         ./modules/Scotchx/Scotchx.h\
    865858                        ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.cpp\
    866859                        ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.h
     860if CHACO
     861modules_sources+= ./modules/Chacox/Chacox.h\
     862                                                ./modules/Chacox/Chacox.cpp\
     863                                                ./modules/Chacox/input_parse.cpp\
     864                                                ./modules/Chacox/chaco_seconds.cpp\
     865                                                ./modules/Chacox/user_params.cpp
     866endif
     867if SCOTCH
     868modules_sources+= ./modules/Scotchx/Scotchx.cpp\
     869                                                ./modules/Scotchx/Scotchx.h
     870endif
    867871#}}}
    868872
     
    962966issm_sources +=  $(damage_sources)
    963967endif
    964 
    965968#}}}
    966969#Library flags and sources {{{
Note: See TracChangeset for help on using the changeset viewer.