Salome HOME
++myWindowID; // pb when a GEOM is a sole module: CreationInfoWdg replaces Python...
[modules/geom.git] / src / GEOMGUI / Makefile.am
index 798553d307b22297654d1ae511fb6e7f6cb05e89..54f6e94fb95ee0186928aed40599463bbd750cdc 100644 (file)
-#  GEOM GEOMGUI : GUI for Geometry component
+# Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 #
-#  Copyright (C) 2003  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 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 
-# 
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 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.
 #
+# 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
 #
-#  File   : Makefile.in
-#  Author : Marc Tajchman (CEA)
-#  Modified by : Alexander BORODIN (OCN) - autotools usage
-#  Module : GEOM
-#  $Header$
 
+# GEOM GEOMGUI : GUI for Geometry component
+# File    : Makefile.am
+# Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
+# Package : GEOMGUI
+#
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 # Libraries targets
 lib_LTLIBRARIES = libGEOM.la
 
 # header files 
-salomeinclude_HEADERS = \
-       GeometryGUI.h \
-       GEOMGUI.h \
-       GEOM_Displayer.h \
-       GEOMGUI_OCCSelector.h \
-       GEOMGUI_Selection.h \
-       GeometryGUI_Swig.hxx \
-       GeometryGUI_Swig.i \
-       GEOM_GEOMGUI.hxx
+salomeinclude_HEADERS =        \
+       GeometryGUI.h           \
+       GeometryGUI_Operations.h\
+       GEOMGUI.h               \
+       GEOM_Displayer.h        \
+       GEOMGUI_OCCSelector.h   \
+       GEOMGUI_Selection.h     \
+       GEOM_GEOMGUI.hxx        \
+       GEOMGUI_CreationInfoWdg.h
 
-dist_libGEOM_la_SOURCES = \
-       GeometryGUI.cxx \
-       GEOMGUI.cxx \
-       GEOM_Displayer.cxx \
-        GEOMGUI_OCCSelector.cxx \
-       GEOMGUI_Selection.cxx \
-       GeometryGUI_Swig.cxx
+dist_libGEOM_la_SOURCES =      \
+       GeometryGUI.cxx         \
+       GEOMGUI.cxx             \
+       GEOM_Displayer.cxx      \
+        GEOMGUI_OCCSelector.cxx        \
+       GEOMGUI_Selection.cxx   \
+       GEOMGUI_CreationInfoWdg.cxx
 
-MOC_FILES = \
+MOC_FILES =                    \
+       GEOMGUI_CreationInfoWdg_moc.cxx \
        GeometryGUI_moc.cxx
 
-
-nodist_libGEOM_la_SOURCES= \
+nodist_libGEOM_la_SOURCES =    \
        $(MOC_FILES)
 
 # resources files
-nodist_salomeres_DATA= \
-       GEOM_images.qm \
-       GEOM_msg_en.qm \
-       GEOM_msg_fr.qm
-
-#LIB_CLIENT_IDL = SALOME_Exception.idl \
-#               SALOMEDS.idl \
-#               SALOMEDS_Attributes.idl \
-#               SALOME_GenericObj.idl \
-#               SALOME_Component.idl \
-#               GEOM_Gen.idl
+nodist_salomeres_DATA =        \
+       GEOM_images.qm  \
+       GEOM_msg_en.qm  \
+       GEOM_msg_fr.qm  \
+       GEOM_msg_ja.qm
 
-#LIB_SERVER_IDL =  
+# additional information to compile and link file
 
-# additionnal information to compil and link file
+libGEOM_la_CPPFLAGS =                          \
+       $(QT_INCLUDES)                          \
+       $(VTK_INCLUDES)                         \
+       $(CAS_CPPFLAGS)                         \
+       $(PYTHON_INCLUDES)                      \
+       $(BOOST_CPPFLAGS)                       \
+       $(KERNEL_CXXFLAGS)                      \
+       $(GUI_CXXFLAGS)                         \
+       $(CORBA_CXXFLAGS)                       \
+       $(CORBA_INCLUDES)                       \
+       $(OPENCV_INCLUDES)                      \
+       -I$(srcdir)/../OBJECT                   \
+       -I$(srcdir)/../GEOMFiltersSelection     \
+       -I$(srcdir)/../Material                 \
+       -I$(srcdir)/../GEOMClient               \
+       -I$(srcdir)/../GEOMImpl                 \
+       -I$(top_builddir)/idl                   \
+       -I$(top_builddir)
 
-libGEOM_la_CPPFLAGS = \
-       $(QT_INCLUDES) \
-       $(VTK_INCLUDES) \
-       $(CAS_CPPFLAGS) \
-       $(PYTHON_INCLUDES) \
-       $(BOOST_CPPFLAGS) \
-       $(KERNEL_CXXFLAGS) \
-       $(GUI_CXXFLAGS) \
-       $(CORBA_CXXFLAGS) \
-       $(CORBA_INCLUDES) \
-       -I$(srcdir)/../OBJECT \
-       -I$(srcdir)/../GEOMFiltersSelection \
-       -I$(srcdir)/../GEOMClient \
-       -I$(srcdir)/../GEOMImpl \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+libGEOM_la_LDFLAGS =                                           \
+       $(PYTHON_LIBS)                                          \
+       ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
+       ../Material/libMaterial.la                              \
+       ../GEOMClient/libGEOMClient.la                          \
+       ../OBJECT/libGEOMObject.la                              \
+       $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lSalomeDSClient            \
+       $(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent -lSalomePrs -lstd    \
+       $(OPENCV_LIBS)
 
-libGEOM_la_LDFLAGS  = \
-       ../GEOMFiltersSelection/libGEOMFiltersSelection.la \
-       ../GEOMClient/libGEOMClient.la \
-       ../OBJECT/libGEOMObject.la \
-       $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA \
-       $(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent
 # -lSalomeApp 
 # -lToolsGUI
 #      $(CORBA_LIBS) \