]> SALOME platform Git repositories - plugins/netgenplugin.git/blob - src/NETGEN/Makefile.am
Salome HOME
IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
[plugins/netgenplugin.git] / src / NETGEN / Makefile.am
1 # Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 # -* Makefile *- 
21 # Author : Edward AGAPOV (OCC)
22 #  Modified by : Alexander BORODIN (OCN) - autotools usage
23 # Module : NETGENPLUGIN
24 # Date : 10/01/2004
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # build .so of NETGEN itself
29
30 lib_LTLIBRARIES = libNETGEN.la
31
32 LIB_OBJ_O = \
33         linopt.o bfgs.o linsearch.o global.o bisect.o meshtool.o refine.o ruler3.o \
34         improve3.o adfront3.o tetrarls.o prism2rls.o profiler.o pyramidrls.o pyramid2rls.o \
35         netrule3.o ruler2.o meshclass.o improve2.o adfront2.o netrule2.o triarls.o geomsearch.o \
36         secondorder.o meshtype.o parser3.o quadrls.o specials.o parser2.o meshing2.o meshing3.o \
37         meshfunc.o localh.o improve2gen.o delaunay.o boundarylayer.o msghandler.o \
38         meshfunc2d.o smoothing2.o smoothing3.o topology.o curvedelems_new.o clusters.o zrefine.o \
39         ngexception.o geomtest3d.o geom2d.o geom2dmesh.o geom3d.o adtree.o transform3d.o geomfuncs.o \
40         polynomial.o densemat.o vector.o basemat.o sparsmat.o algprim.o brick.o manifold.o bspline2d.o \
41         meshsurf.o csgeom.o polyhedra.o curve2d.o singularref.o edgeflw.o solid.o explicitcurve2d.o \
42         specpoin.o gencyl.o revolution.o genmesh.o genmesh2d.o spline3d.o surface.o identify.o \
43         triapprox.o meshstlsurface.o stlline.o stltopology.o stltool.o stlgeom.o stlgeomchart.o \
44         stlgeommesh.o table.o optmem.o spbita2d.o hashtabl.o sort.o flags.o seti.o bitarray.o \
45         array.o symbolta.o mystring.o moveablemem.o spline.o splinegeometry.o ngnewdelete.o nglib.o \
46         hprefinement.o Partition_Inter2d.o Partition_Loop.o Partition_Loop3d.o Partition_Inter3d.o \
47         Partition_Loop2d.o Partition_Spliter.o occgeom.o occgenmesh.o occmeshsurf.o
48
49 NETGEN_LIBS_DIR=@NETGEN_LIBS_DIR@
50
51 $(LIB_OBJ_O):
52         ar x $(NETGEN_LIBS_DIR)/libnginterface.a
53         ar x $(NETGEN_LIBS_DIR)/libocc.a
54         ar x $(NETGEN_LIBS_DIR)/libcsg.a
55         ar x $(NETGEN_LIBS_DIR)/libgprim.a
56         ar x $(NETGEN_LIBS_DIR)/libmesh.a
57         ar x $(NETGEN_LIBS_DIR)/libopti.a
58         ar x $(NETGEN_LIBS_DIR)/libgen.a
59         ar x $(NETGEN_LIBS_DIR)/libla.a
60         ar x $(NETGEN_LIBS_DIR)/libstlgeom.a
61         ar x $(NETGEN_LIBS_DIR)/libgeom2d.a
62         rm -rf csgparser.o dynamicmem.o extrusion.o occconstruction.o parthreads.o readuser.o writeabaqus.o writediffpack.o writeelmer.o writefeap.o writefluent.o writegmsh.o writejcm.o writepermas.o writetecplot.o writetochnog.o writeuser.o wuchemnitz.o
63
64 #LIB_OBJ_LO = $(LIB_OBJ_O:%.o=%.lo)
65 #%.lo: %.o; @ln -s $< $@
66
67 nodist_libNETGEN_la_SOURCES =
68
69 libNETGEN_la_LDFLAGS  = $(LIB_OBJ_O) \
70         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKShHealing -lTKSTEP -lTKXSBase -lTKIGES -lTKMesh -lTKSTL $(FCLIBS) $(STDLIB)
71
72 libNETGEN_la_DEPENDENCIES = $(LIB_OBJ_O)
73
74 EXTRA_DIST += \
75         ReadMeForNgUsers        \
76         netgen43ForSalome.patch \
77         netgen45ForSalome.patch \
78         netgen45lib64.patch