1 | INCLUDES = @MATLABINCL@ @PETSCINCL@ @MPIINCL@ @SPOOLESINCL@ @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 \
|
---|
26 | Kriging \
|
---|
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) $(SPOOLESLIB) $(MUMPSLIB) $(SUPERLULIB) $(SPAILIB) $(PROMETHEUSLIB) $(PASTIXLIB) $(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 | LDADD += ../../c/libISSMCore.a
|
---|
53 | if CIRCULAR_DEPENDENCIES
|
---|
54 | LDADD += $(TRIANGLELIB) $(PETSCLIB) $(FLIBS) $(PLAPACKLIB) $(SPOOLESLIB) $(MUMPSLIB) $(SUPERLULIB) $(SPAILIB) $(PROMETHEUSLIB) $(PASTIXLIB) $(SCALAPACKLIB) $(BLACSLIB) $(HYPRELIB) $(MLLIB) $(DAKOTALIB) $(METISLIB) $(CHACOLIB) $(SCOTCHLIB) $(BLASLAPACKLIB) $(MPILIB) $(MATHLIB) $(FORTRANLIB) $(GRAPHICSLIB) $(MULTITHREADINGLIB) $(SHAPELIBLIB) $(GSLLIB)
|
---|
55 | endif
|
---|
56 | LDADD += ../../c/libISSMModules.a
|
---|
57 |
|
---|
58 | #Optimization flags:
|
---|
59 | AM_CXXFLAGS += $(CXXOPTFLAGS)
|
---|
60 | #}}}
|
---|
61 | #Bin sources {{{1
|
---|
62 | AverageFilter_SOURCES = ../AverageFilter/AverageFilter.cpp\
|
---|
63 | ../AverageFilter/AverageFilter.h
|
---|
64 |
|
---|
65 | BamgMesher_SOURCES = ../BamgMesher/BamgMesher.cpp\
|
---|
66 | ../BamgMesher/BamgMesher.h
|
---|
67 |
|
---|
68 | BamgConvertMesh_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp\
|
---|
69 | ../BamgConvertMesh/BamgConvertMesh.h
|
---|
70 |
|
---|
71 | BamgTriangulate_SOURCES = ../BamgTriangulate/BamgTriangulate.cpp\
|
---|
72 | ../BamgTriangulate/BamgTriangulate.h
|
---|
73 |
|
---|
74 | Chaco_SOURCES = ../Chaco/Chaco.cpp\
|
---|
75 | ../Chaco/Chaco.h
|
---|
76 |
|
---|
77 | ContourToMesh_SOURCES = ../ContourToMesh/ContourToMesh.cpp\
|
---|
78 | ../ContourToMesh/ContourToMesh.h
|
---|
79 |
|
---|
80 | ContourToNodes_SOURCES = ../ContourToNodes/ContourToNodes.cpp\
|
---|
81 | ../ContourToNodes/ContourToNodes.h
|
---|
82 |
|
---|
83 | ElementConnectivity_SOURCES = ../ElementConnectivity/ElementConnectivity.cpp\
|
---|
84 | ../ElementConnectivity/ElementConnectivity.h
|
---|
85 |
|
---|
86 | EnumToString_SOURCES = ../EnumToString/EnumToString.cpp\
|
---|
87 | ../EnumToString/EnumToString.h
|
---|
88 |
|
---|
89 | StringToEnum_SOURCES = ../StringToEnum/StringToEnum.cpp\
|
---|
90 | ../StringToEnum/StringToEnum.h
|
---|
91 |
|
---|
92 | HoleFiller_SOURCES = ../HoleFiller/HoleFiller.cpp\
|
---|
93 | ../HoleFiller/HoleFiller.h
|
---|
94 |
|
---|
95 | InternalFront_SOURCES = ../InternalFront/InternalFront.cpp\
|
---|
96 | ../InternalFront/InternalFront.h
|
---|
97 |
|
---|
98 | InterpFromGridToMesh_SOURCES = ../InterpFromGridToMesh/InterpFromGridToMesh.cpp\
|
---|
99 | ../InterpFromGridToMesh/InterpFromGridToMesh.h
|
---|
100 |
|
---|
101 | InterpFromMeshToMesh2d_SOURCES = ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp\
|
---|
102 | ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h
|
---|
103 |
|
---|
104 | InterpFromMeshToMesh3d_SOURCES = ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.cpp\
|
---|
105 | ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.h
|
---|
106 |
|
---|
107 | InterpFromMeshToGrid_SOURCES = ../InterpFromMeshToGrid/InterpFromMeshToGrid.cpp\
|
---|
108 | ../InterpFromMeshToGrid/InterpFromMeshToGrid.h
|
---|
109 |
|
---|
110 | InterpFromMesh2d_SOURCES = ../InterpFromMesh2d/InterpFromMesh2d.cpp\
|
---|
111 | ../InterpFromMesh2d/InterpFromMesh2d.h
|
---|
112 |
|
---|
113 | KMLFileRead_SOURCES = ../KMLFileRead/KMLFileRead.cpp\
|
---|
114 | ../KMLFileRead/KMLFileRead.h
|
---|
115 |
|
---|
116 | KMLMeshWrite_SOURCES = ../KMLMeshWrite/KMLMeshWrite.cpp\
|
---|
117 | ../KMLMeshWrite/KMLMeshWrite.h
|
---|
118 |
|
---|
119 | KMLOverlay_SOURCES = ../KMLOverlay/KMLOverlay.cpp\
|
---|
120 | ../KMLOverlay/KMLOverlay.h
|
---|
121 |
|
---|
122 | Xy2ll_SOURCES = ../Xy2ll/Xy2ll.cpp\
|
---|
123 | ../Xy2ll/Xy2ll.h
|
---|
124 |
|
---|
125 | Ll2xy_SOURCES = ../Ll2xy/Ll2xy.cpp\
|
---|
126 | ../Ll2xy/Ll2xy.h
|
---|
127 |
|
---|
128 | Exp2Kml_SOURCES = ../Exp2Kml/Exp2Kml.cpp\
|
---|
129 | ../Exp2Kml/Exp2Kml.h
|
---|
130 |
|
---|
131 | Kml2Exp_SOURCES = ../Kml2Exp/Kml2Exp.cpp\
|
---|
132 | ../Kml2Exp/Kml2Exp.h
|
---|
133 |
|
---|
134 | Kriging_SOURCES = ../Kriging/Kriging.cpp\
|
---|
135 | ../Kriging/Kriging.h
|
---|
136 |
|
---|
137 | MeshPartition_SOURCES = ../MeshPartition/MeshPartition.cpp\
|
---|
138 | ../MeshPartition/MeshPartition.h
|
---|
139 |
|
---|
140 | MeshProfileIntersection_SOURCES = ../MeshProfileIntersection/MeshProfileIntersection.cpp\
|
---|
141 | ../MeshProfileIntersection/MeshProfileIntersection.h
|
---|
142 |
|
---|
143 | NodeConnectivity_SOURCES = ../NodeConnectivity/NodeConnectivity.cpp\
|
---|
144 | ../NodeConnectivity/NodeConnectivity.h
|
---|
145 |
|
---|
146 | PointCloudFindNeighbors_SOURCES = ../PointCloudFindNeighbors/PointCloudFindNeighbors.cpp\
|
---|
147 | ../PointCloudFindNeighbors/PointCloudFindNeighbors.h
|
---|
148 |
|
---|
149 | PropagateFlagsFromConnectivity_SOURCES = ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.cpp\
|
---|
150 | ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.h
|
---|
151 |
|
---|
152 | Scotch_SOURCES = ../Scotch/Scotch.cpp\
|
---|
153 | ../Scotch/Scotch.h
|
---|
154 |
|
---|
155 | Shp2Kml_SOURCES = ../Shp2Kml/Shp2Kml.cpp\
|
---|
156 | ../Shp2Kml/Shp2Kml.h
|
---|
157 |
|
---|
158 | TriaSearch_SOURCES = ../TriaSearch/TriaSearch.cpp\
|
---|
159 | ../TriaSearch/TriaSearch.h
|
---|
160 |
|
---|
161 | TriMesh_SOURCES = ../TriMesh/TriMesh.cpp\
|
---|
162 | ../TriMesh/TriMesh.h
|
---|
163 |
|
---|
164 | TriMeshProcessRifts_SOURCES = ../TriMeshProcessRifts/TriMeshProcessRifts.cpp\
|
---|
165 | ../TriMeshProcessRifts/TriMeshProcessRifts.h
|
---|
166 | #}}}
|
---|