Salome HOME
PAL 14158 Add the Octree and OctreeNode classes to accelerate detection of close...
[modules/smesh.git] / src / NETGEN / Makefile.in
1 #  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 #
4 #  This library is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU Lesser General Public
6 #  License as published by the Free Software Foundation; either
7 #  version 2.1 of the License.
8 #
9 #  This library is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #  Lesser General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Lesser General Public
15 #  License along with this library; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20 # -* Makefile *- 
21 #
22 # Author : Nadir Bouhamou (CEA)
23 # Module : SMESH
24 # Date : 10/10/2003
25 #
26 #
27
28 # source path
29 top_srcdir=@top_srcdir@
30 top_builddir=../..
31 srcdir=@srcdir@
32 VPATH=.:@srcdir@
33
34 @COMMENCE@
35
36 # Libraries targets
37 LIB = libNETGEN.la
38
39 # additionnal information to compil and link file
40 CPPFLAGS += -DSOLIDGEOM -DLINUX $(OCC_INCLUDES)
41 CXXFLAGS += -DSOLIDGEOM -DLINUX $(OCC_CXXFLAGS)
42
43 LDFLAGS += $(OCC_KERNEL_LIBS) $(OCC_MODELER_LIBS) -lg2c
44
45 NETGEN_LIBS_DIR=@NETGEN_LIBS_DIR@
46
47 LIB_OBJ_O = linopt.o \
48         bfgs.o \
49         linsearch.o \
50         global.o \
51         bisect.o \
52         meshtool.o \
53         refine.o \
54         ruler3.o \
55         improve3.o \
56         adfront3.o \
57         tetrarls.o \
58         prism2rls.o \
59         pyramidrls.o \
60         pyramid2rls.o \
61         netrule3.o \
62         ruler2.o \
63         meshclass.o \
64         improve2.o \
65         adfront2.o \
66         netrule2.o \
67         triarls.o \
68         geomsearch.o \
69         secondorder.o \
70         meshtype.o \
71         parser3.o \
72         quadrls.o \
73         specials.o \
74         parser2.o \
75         meshing2.o \
76         meshing3.o \
77         meshfunc.o \
78         localh.o \
79         improve2gen.o \
80         delaunay.o \
81         boundarylayer.o \
82         msghandler.o \
83         meshfunc2d.o \
84         smoothing2.o \
85         smoothing3.o \
86         topology.o \
87         curvedelems.o \
88         clusters.o \
89         zrefine.o \
90         ngexception.o \
91         geomtest3d.o \
92         geom2d.o \
93         geom3d.o \
94         adtree.o \
95         transform3d.o \
96         geomfuncs.o \
97         polynomial.o \
98         densemat.o \
99         vector.o \
100         basemat.o \
101         sparsmat.o \
102         algprim.o \
103         brick.o \
104         manifold.o \
105         bspline2d.o \
106         meshsurf.o \
107         csgeom.o \
108         polyhedra.o \
109         curve2d.o \
110         singularref.o \
111         edgeflw.o \
112         solid.o \
113         explicitcurve2d.o \
114         specpoin.o \
115         gencyl.o \
116         revolution.o \
117         genmesh.o \
118         spline3d.o \
119         surface.o \
120         identify.o \
121         triapprox.o \
122         meshstlsurface.o \
123         stlline.o \
124         stltopology.o \
125         stltool.o \
126         stlgeom.o \
127         stlgeomchart.o \
128         stlgeommesh.o \
129         table.o \
130         optmem.o \
131         spbita2d.o \
132         hashtabl.o \
133         sort.o \
134         flags.o \
135         seti.o \
136         bitarray.o \
137         array.o \
138         symbolta.o \
139         mystring.o \
140         moveablemem.o \
141         spline2d.o \
142         splinegeometry2.o \
143         ngnewdelete.o \
144         nglib.o
145
146 $(LIB_OBJ_O):
147         ar x $(NETGEN_LIBS_DIR)/libnginterface.a
148         ar x $(NETGEN_LIBS_DIR)/libcsg.a
149         ar x $(NETGEN_LIBS_DIR)/libgprim.a
150         ar x $(NETGEN_LIBS_DIR)/libmesh.a
151         ar x $(NETGEN_LIBS_DIR)/libopti.a
152         ar x $(NETGEN_LIBS_DIR)/libgen.a
153         ar x $(NETGEN_LIBS_DIR)/libla.a
154         ar x $(NETGEN_LIBS_DIR)/libstlgeom.a
155         ar x $(NETGEN_LIBS_DIR)/libgeom2d.a
156         rm -rf sgparser.o hprefinement.o parthreads.o writediffpack.o writepermas.o writeuser.o dynamicmem.o importsolution.o readuser.o writefeap.o writetecplot.o wuchemnitz.o extrusion.o writeabaqus.o writefluent.o writetochnog.o csgparser.o geom2dmesh.o
157
158 LIB_OBJ_LO = $(LIB_OBJ_O:%.o=%.lo)
159
160 #implicits rules
161
162 .o.lo:
163         ln -s $< $@ || true
164
165 @CONCLUDE@
166
167 $(LIB): $(LIB_OBJ_O) $(LIB_OBJ_LO)
168         @$(LT) --mode=link $(CXX) -rpath $(libdir) -o $@ $(CXXFLAGS) $(LIB_OBJ_LO) $(LDFLAGS) $(LIBS)
169
170 mostlyclean: cleandep
171         -$(RM) $(LIB_OBJ_O) $(LIB_OBJ_LO)