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