Salome HOME
Merge from V6_main 01/04/2013
[plugins/hybridplugin.git] / src / GUI / Makefile.am
index 83b7dd9942182346d0c2e70908b4ad8e725b80d5..5d912bb9dc305614da7842cb9deb470e031325c2 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2004-2008  CEA/DEN, EDF R&D
+# Copyright (C) 2004-2013  CEA/DEN, EDF R&D
 #
-#  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
 #
+
 # -* Makefile *- 
 # Author : Edward AGAPOV (OCC)
 # Modified by : Alexander BORODIN (OCN) - autotools usage
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 # header files 
-salomeinclude_HEADERS =
+salomeinclude_HEADERS = \
+       GHS3DPluginGUI_HypothesisCreator.h \
+       GHS3DPluginGUI_Enums.h
 
 # Libraries targets
 lib_LTLIBRARIES = libGHS3DPluginGUI.la
 
-dist_libGHS3DPluginGUI_la_SOURCES = GHS3DPluginGUI_HypothesisCreator.cxx
-
-MOC_FILES = GHS3DPluginGUI_HypothesisCreator_moc.cxx
-nodist_libGHS3DPluginGUI_la_SOURCES= $(MOC_FILES)
-
-libGHS3DPluginGUI_la_CPPFLAGS =  \
-       $(QT_INCLUDES)        \
-       $(KERNEL_CXXFLAGS)    \
-       $(GUI_CXXFLAGS)       \
-       $(GEOM_CXXFLAGS)      \
-       $(MED_CXXFLAGS)       \
-       $(SMESH_CXXFLAGS)     \
-       $(BOOST_CPPFLAGS)     \
-       $(CORBA_CXXFLAGS)     \
-       $(CORBA_INCLUDES)     \
-       $(CAS_CPPFLAGS)       \
-        -I$(srcdir)/..        \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+dist_libGHS3DPluginGUI_la_SOURCES = \
+       GHS3DPluginGUI.cxx \
+       GHS3DPluginGUI_HypothesisCreator.cxx
+
+MOC_FILES = \
+       GHS3DPluginGUI_HypothesisCreator_moc.cxx
+
+nodist_libGHS3DPluginGUI_la_SOURCES= \
+       $(MOC_FILES)
+
+libGHS3DPluginGUI_la_CPPFLAGS = \
+       $(QT_INCLUDES) \
+       $(CAS_CPPFLAGS) \
+       $(KERNEL_CXXFLAGS) \
+       $(GUI_CXXFLAGS) \
+       $(GEOM_CXXFLAGS) \
+       $(MED_CXXFLAGS) \
+       $(SMESH_CXXFLAGS) \
+       $(BOOST_CPPFLAGS) \
+       $(CORBA_CXXFLAGS) \
+       $(CORBA_INCLUDES) \
+       -I$(srcdir)/../GHS3DPlugin \
+       -I$(top_builddir)/idl
 
 libGHS3DPluginGUI_la_LDFLAGS  = \
        ../../idl/libSalomeIDLGHS3DPLUGIN.la \
-       $(SMESH_LDFLAGS) -lSMESH \
+       $(QT_LIBS) \
+       $(KERNEL_LDFLAGS) -lSALOMELocalTrace \
+       $(MED_LDFLAGS) -lSalomeIDLMED \
+       $(GEOM_LDFLAGS) -lGEOM \
+       $(SMESH_LDFLAGS) -lSMESH -lGeomSelectionTools  -lStdMeshersGUI -lSMESHFiltersSelection \
+       $(GUI_LDFLAGS) -lsuit -lqtx -lSalomeApp \
        $(CAS_KERNEL)
 
 # resources files
 nodist_salomeres_DATA= \
        GHS3DPlugin_images.qm \
-       GHS3DPlugin_msg_en.qm
+       GHS3DPlugin_msg_en.qm \
+       GHS3DPlugin_msg_fr.qm