Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / MedClient / src / Makefile.am
index 25b12c0e10b1fa5b4b70798278342faaa393e230..80fc7bee8cf4f2443d70a83403f0bfce8c1388b6 100644 (file)
@@ -1,31 +1,31 @@
-#  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 #
-#  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
 #
-#  This library is free software; you can redistribute it and/or
-#  modify it under the terms of the GNU Lesser General Public
-#  License as published by the Free Software Foundation; either
-#  version 2.1 of the License.
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
 #
-#  This library is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-#  Lesser General Public License for more details.
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
-#  You should have received a copy of the GNU Lesser General Public
-#  License along with this library; if not, write to the Free Software
-#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-#
-#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 #  MED MedClient : tool to transfer MED CORBA from server producer of MED object to a client using those MED object
 #
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 salomeinclude_HEADERS = \
+       MEDClient.hxx \
        COORDINATEClient.hxx \
        CONNECTIVITYClient.hxx \
+       GMESHClient.hxx \
        MESHClient.hxx \
        SUPPORTClient.hxx \
        FAMILYClient.hxx \
@@ -58,6 +58,7 @@ lib_LTLIBRARIES = libMEDClientcmodule.la _libMEDClient.la
 dist_libMEDClientcmodule_la_SOURCES = \
        COORDINATEClient.cxx \
        CONNECTIVITYClient.cxx \
+       GMESHClient.cxx \
        MESHClient.cxx \
        SUPPORTClient.cxx \
        FAMILYClient.cxx \
@@ -67,14 +68,23 @@ dist__libMEDClient_la_SOURCES = libMEDClient.i
 nodist__libMEDClient_la_SOURCES = libMEDClient_wrap.cxx
 
 libMEDClientcmodule_la_CPPFLAGS = $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
-       $(MED2_INCLUDES) $(HDF5_INCLUDES) $(PYTHON_INCLUDES) ${KERNEL_CXXFLAGS} \
-       -I$(srcdir)/../../MEDMEM_I -I$(srcdir)/../../MEDMEM -I$(top_builddir)/salome_adm/unix -I$(top_builddir)/idl \
-       -I$(srcdir)/../../MEDWrapper/V2_1/Core -I$(srcdir)/../../MEDMEM_SWIG -I$(srcdir)/../../MED -I$(srcdir)/../../INTERP_KERNEL -I$(srcdir)/../../MED -I$(srcdir)/../../INTERP_KERNEL/Bases
-libMEDClientcmodule_la_LDFLAGS  = ${KERNEL_LDFLAGS} -lOpUtil -lSalomeCommunication ../../MEDMEM/libmedmem.la \
-                                  ../../MEDMEM_I/libMEDMEMImpl.la ../../INTERP_KERNEL/libinterpkernel.la ../../MED/libMEDEngine.la
+       $(MED3_INCLUDES) $(HDF5_INCLUDES) $(PYTHON_INCLUDES) ${KERNEL_CXXFLAGS} \
+       -I$(srcdir)/../../MEDMEM_I -I$(srcdir)/../../MEDMEM -I$(top_builddir)/idl \
+       -I$(srcdir)/../../MEDMEM_SWIG \
+       -I$(srcdir)/../../MED \
+       -I$(srcdir)/../../INTERP_KERNEL \
+       -I$(srcdir)/../../INTERP_KERNEL/Bases \
+       -I$(srcdir)/../../INTERP_KERNEL/GaussPoints
+
+libMEDClientcmodule_la_LDFLAGS  = ${KERNEL_LDFLAGS} -lOpUtil -lSalomeCommunication \
+       ../../MEDMEM/libmedmem.la \
+       ../../MEDMEM_I/libMEDMEMImpl.la \
+       ../../INTERP_KERNEL/libinterpkernel.la \
+       ../../MED/libMEDEngine.la
 
 _libMEDClient_la_CPPFLAGS = $(libMEDClientcmodule_la_CPPFLAGS)
-_libMEDClient_la_LDFLAGS  =  -module $(libMEDClientcmodule_la_LDFLAGS) -lMEDClientcmodule
+_libMEDClient_la_LDFLAGS  = $(PYTHON_LIBS) -module $(libMEDClientcmodule_la_LDFLAGS)
+_libMEDClient_la_LIBADD   = libMEDClientcmodule.la
 
 SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) -I$(srcdir)/../../MedCorba_Swig -I$(srcdir)/../../MEDMEM_SWIG
 SWIG_DEP   = $(srcdir)/../../MedCorba_Swig/libMedCorba_Swig.i $(srcdir)/../../MEDMEM_SWIG/libMEDMEM_Swig.i