[12031] | 1 | INCLUDES = @MATLABINCL@ @PETSCINCL@ @MPIINCL@ @METISINCL@ @TRIANGLEINCL@ @CHACOINCL@ @SCOTCHINCL@ @SHAPELIBINCL@ @BOOSTINCL@ @PYTHONINCL@ @PYTHON_NUMPYINCL@
|
---|
| 2 | EXEEXT=$(MATLABWRAPPEREXT)
|
---|
| 3 | #Bin programs {{{1
|
---|
| 4 | if MODULES
|
---|
| 5 | bin_PROGRAMS = AverageFilter\
|
---|
| 6 | BamgMesher\
|
---|
| 7 | BamgConvertMesh\
|
---|
| 8 | BamgTriangulate\
|
---|
| 9 | Chaco\
|
---|
| 10 | ContourToMesh \
|
---|
| 11 | ContourToNodes \
|
---|
| 12 | ElementConnectivity\
|
---|
| 13 | EnumToString\
|
---|
| 14 | Exp2Kml \
|
---|
| 15 | HoleFiller \
|
---|
| 16 | InternalFront\
|
---|
| 17 | InterpFromGridToMesh \
|
---|
| 18 | InterpFromMeshToMesh2d \
|
---|
| 19 | InterpFromMeshToMesh3d \
|
---|
| 20 | InterpFromMeshToGrid \
|
---|
| 21 | InterpFromMesh2d \
|
---|
| 22 | KMLFileRead \
|
---|
| 23 | KMLMeshWrite \
|
---|
| 24 | KMLOverlay \
|
---|
| 25 | Kml2Exp \
|
---|
[12164] | 26 | Kriging \
|
---|
[12031] | 27 | Ll2xy \
|
---|
| 28 | NodeConnectivity \
|
---|
| 29 | MeshPartition\
|
---|
| 30 | MeshProfileIntersection\
|
---|
| 31 | PointCloudFindNeighbors\
|
---|
| 32 | PropagateFlagsFromConnectivity\
|
---|
| 33 | Scotch\
|
---|
| 34 | Shp2Kml\
|
---|
| 35 | StringToEnum\
|
---|
| 36 | TriaSearch\
|
---|
| 37 | TriMesh\
|
---|
| 38 | TriMeshProcessRifts\
|
---|
| 39 | Xy2ll
|
---|
| 40 | endif
|
---|
| 41 | #}}}
|
---|
| 42 | #Flags and libraries {{{1
|
---|
| 43 | LDADD = ../../c/libISSMCore.a ../../c/libISSMModules.a $(TRIANGLELIB) $(PETSCLIB) $(FLIBS) $(PLAPACKLIB) $(MUMPSLIB) $(SCALAPACKLIB) $(BLACSLIB) $(HYPRELIB) $(MLLIB) $(DAKOTALIB) $(METISLIB) $(CHACOLIB) $(SCOTCHLIB) $(BLASLAPACKLIB) $(MPILIB) $(MATHLIB) $(FORTRANLIB) $(GRAPHICSLIB) $(MULTITHREADINGLIB) $(SHAPELIBLIB) $(GSLLIB)
|
---|
| 44 |
|
---|
| 45 | #Triangle library
|
---|
| 46 | AM_CXXFLAGS = -DTRILIBRARY -DANSI_DECLARATORS -DNO_TIMER
|
---|
| 47 |
|
---|
| 48 | #Matlab part
|
---|
| 49 | AM_LDFLAGS = $(MEXLINK)
|
---|
| 50 | AM_CXXFLAGS += -D_HAVE_MATLAB_MODULES_ -D_GNU_SOURCE -fPIC -fno-omit-frame-pointer -pthread
|
---|
| 51 | LDADD += $(MEXLIB) ../../c/libISSMMatlab.a
|
---|
| 52 |
|
---|
| 53 | LDADD += ../../c/libISSMCore.a ../../c/libISSMModules.a
|
---|
| 54 |
|
---|
| 55 | #Optimization flags:
|
---|
| 56 | AM_CXXFLAGS += $(CXXOPTFLAGS)
|
---|
| 57 | #}}}
|
---|
| 58 | #Bin sources {{{1
|
---|
| 59 | AverageFilter_SOURCES = ../AverageFilter/AverageFilter.cpp\
|
---|
| 60 | ../AverageFilter/AverageFilter.h
|
---|
| 61 |
|
---|
| 62 | BamgMesher_SOURCES = ../BamgMesher/BamgMesher.cpp\
|
---|
| 63 | ../BamgMesher/BamgMesher.h
|
---|
| 64 |
|
---|
| 65 | BamgConvertMesh_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp\
|
---|
| 66 | ../BamgConvertMesh/BamgConvertMesh.h
|
---|
| 67 |
|
---|
| 68 | BamgTriangulate_SOURCES = ../BamgTriangulate/BamgTriangulate.cpp\
|
---|
| 69 | ../BamgTriangulate/BamgTriangulate.h
|
---|
| 70 |
|
---|
| 71 | Chaco_SOURCES = ../Chaco/Chaco.cpp\
|
---|
| 72 | ../Chaco/Chaco.h
|
---|
| 73 |
|
---|
| 74 | ContourToMesh_SOURCES = ../ContourToMesh/ContourToMesh.cpp\
|
---|
| 75 | ../ContourToMesh/ContourToMesh.h
|
---|
| 76 |
|
---|
| 77 | ContourToNodes_SOURCES = ../ContourToNodes/ContourToNodes.cpp\
|
---|
| 78 | ../ContourToNodes/ContourToNodes.h
|
---|
| 79 |
|
---|
| 80 | ElementConnectivity_SOURCES = ../ElementConnectivity/ElementConnectivity.cpp\
|
---|
| 81 | ../ElementConnectivity/ElementConnectivity.h
|
---|
| 82 |
|
---|
| 83 | EnumToString_SOURCES = ../EnumToString/EnumToString.cpp\
|
---|
| 84 | ../EnumToString/EnumToString.h
|
---|
| 85 |
|
---|
| 86 | StringToEnum_SOURCES = ../StringToEnum/StringToEnum.cpp\
|
---|
| 87 | ../StringToEnum/StringToEnum.h
|
---|
| 88 |
|
---|
| 89 | HoleFiller_SOURCES = ../HoleFiller/HoleFiller.cpp\
|
---|
| 90 | ../HoleFiller/HoleFiller.h
|
---|
| 91 |
|
---|
| 92 | InternalFront_SOURCES = ../InternalFront/InternalFront.cpp\
|
---|
| 93 | ../InternalFront/InternalFront.h
|
---|
| 94 |
|
---|
| 95 | InterpFromGridToMesh_SOURCES = ../InterpFromGridToMesh/InterpFromGridToMesh.cpp\
|
---|
| 96 | ../InterpFromGridToMesh/InterpFromGridToMesh.h
|
---|
| 97 |
|
---|
| 98 | InterpFromMeshToMesh2d_SOURCES = ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp\
|
---|
| 99 | ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h
|
---|
| 100 |
|
---|
| 101 | InterpFromMeshToMesh3d_SOURCES = ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.cpp\
|
---|
| 102 | ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.h
|
---|
| 103 |
|
---|
| 104 | InterpFromMeshToGrid_SOURCES = ../InterpFromMeshToGrid/InterpFromMeshToGrid.cpp\
|
---|
| 105 | ../InterpFromMeshToGrid/InterpFromMeshToGrid.h
|
---|
| 106 |
|
---|
| 107 | InterpFromMesh2d_SOURCES = ../InterpFromMesh2d/InterpFromMesh2d.cpp\
|
---|
| 108 | ../InterpFromMesh2d/InterpFromMesh2d.h
|
---|
| 109 |
|
---|
| 110 | KMLFileRead_SOURCES = ../KMLFileRead/KMLFileRead.cpp\
|
---|
| 111 | ../KMLFileRead/KMLFileRead.h
|
---|
| 112 |
|
---|
| 113 | KMLMeshWrite_SOURCES = ../KMLMeshWrite/KMLMeshWrite.cpp\
|
---|
| 114 | ../KMLMeshWrite/KMLMeshWrite.h
|
---|
| 115 |
|
---|
| 116 | KMLOverlay_SOURCES = ../KMLOverlay/KMLOverlay.cpp\
|
---|
| 117 | ../KMLOverlay/KMLOverlay.h
|
---|
| 118 |
|
---|
| 119 | Xy2ll_SOURCES = ../Xy2ll/Xy2ll.cpp\
|
---|
| 120 | ../Xy2ll/Xy2ll.h
|
---|
| 121 |
|
---|
| 122 | Ll2xy_SOURCES = ../Ll2xy/Ll2xy.cpp\
|
---|
| 123 | ../Ll2xy/Ll2xy.h
|
---|
| 124 |
|
---|
| 125 | Exp2Kml_SOURCES = ../Exp2Kml/Exp2Kml.cpp\
|
---|
| 126 | ../Exp2Kml/Exp2Kml.h
|
---|
| 127 |
|
---|
| 128 | Kml2Exp_SOURCES = ../Kml2Exp/Kml2Exp.cpp\
|
---|
| 129 | ../Kml2Exp/Kml2Exp.h
|
---|
| 130 |
|
---|
[12164] | 131 | Kriging_SOURCES = ../Kriging/Kriging.cpp\
|
---|
| 132 | ../Kriging/Kriging.h
|
---|
| 133 |
|
---|
[12031] | 134 | MeshPartition_SOURCES = ../MeshPartition/MeshPartition.cpp\
|
---|
| 135 | ../MeshPartition/MeshPartition.h
|
---|
| 136 |
|
---|
| 137 | MeshProfileIntersection_SOURCES = ../MeshProfileIntersection/MeshProfileIntersection.cpp\
|
---|
| 138 | ../MeshProfileIntersection/MeshProfileIntersection.h
|
---|
| 139 |
|
---|
| 140 | NodeConnectivity_SOURCES = ../NodeConnectivity/NodeConnectivity.cpp\
|
---|
| 141 | ../NodeConnectivity/NodeConnectivity.h
|
---|
| 142 |
|
---|
| 143 | PointCloudFindNeighbors_SOURCES = ../PointCloudFindNeighbors/PointCloudFindNeighbors.cpp\
|
---|
| 144 | ../PointCloudFindNeighbors/PointCloudFindNeighbors.h
|
---|
| 145 |
|
---|
| 146 | PropagateFlagsFromConnectivity_SOURCES = ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.cpp\
|
---|
| 147 | ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.h
|
---|
| 148 |
|
---|
| 149 | Scotch_SOURCES = ../Scotch/Scotch.cpp\
|
---|
| 150 | ../Scotch/Scotch.h
|
---|
| 151 |
|
---|
| 152 | Shp2Kml_SOURCES = ../Shp2Kml/Shp2Kml.cpp\
|
---|
| 153 | ../Shp2Kml/Shp2Kml.h
|
---|
| 154 |
|
---|
| 155 | TriaSearch_SOURCES = ../TriaSearch/TriaSearch.cpp\
|
---|
| 156 | ../TriaSearch/TriaSearch.h
|
---|
| 157 |
|
---|
| 158 | TriMesh_SOURCES = ../TriMesh/TriMesh.cpp\
|
---|
| 159 | ../TriMesh/TriMesh.h
|
---|
| 160 |
|
---|
| 161 | TriMeshProcessRifts_SOURCES = ../TriMeshProcessRifts/TriMeshProcessRifts.cpp\
|
---|
| 162 | ../TriMeshProcessRifts/TriMeshProcessRifts.h
|
---|
| 163 | #}}}
|
---|