1 # Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
18 # See http://www.salome-platform.org/
22 # Author : Nadir Bouhamou (CEA)
29 top_srcdir=@top_srcdir@
39 # additionnal information to compil and link file
40 CPPFLAGS += -DSOLIDGEOM -DLINUX $(OCC_INCLUDES)
41 CXXFLAGS += -DSOLIDGEOM -DLINUX $(OCC_CXXFLAGS)
43 LDFLAGS += $(OCC_KERNEL_LIBS) $(OCC_MODELER_LIBS) -lg2c
45 NETGEN_LIBS_DIR=@NETGEN_LIBS_DIR@
47 LIB_OBJ_O = linopt.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
158 LIB_OBJ_LO = $(LIB_OBJ_O:%.o=%.lo)
167 $(LIB): $(LIB_OBJ_O) $(LIB_OBJ_LO)
168 @$(LT) --mode=link $(CXX) -rpath $(libdir) -o $@ $(CXXFLAGS) $(LIB_OBJ_LO) $(LDFLAGS) $(LIBS)
170 mostlyclean: cleandep
171 -$(RM) $(LIB_OBJ_O) $(LIB_OBJ_LO)