Salome HOME
Update copyright information
[modules/superv.git] / src / GraphBase / Makefile.in
index 6b44cf6f4a5b23b80a28166bf670b7cb3d9d8419..e20d680935482a6f76b4521574f688a2f9ea9cff 100644 (file)
@@ -1,41 +1,62 @@
-#==============================================================================
-#  File      : Makefile.in
-#  Created   : aug 21 2001
-#  Author    : , CEA
-#  Project   : SALOME
-#  Copyright : CEA 2001
+#  Copyright (C) 2007-2008  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 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
+#
+#  SUPERV GraphBase : contains fondamental classes for Services, Input Ports, Output Ports Links and Nodes.
+#  File   : Makefile.in
+#  Author : , CEA
+#  Module : SUPERV
 #  $Header: 
-#==============================================================================
-
-# source path
+#
 top_srcdir=@top_srcdir@
 top_builddir=../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@:@top_srcdir@/idl
-
+# KERNEL_CXXFLAGS=@KERNEL_CXXFLAGS@
 
 @COMMENCE@
 
 EXPORT_HEADERS = \
-               DataFlowBase_Base.hxx \
-               DataFlowBase_ServicesParameter.hxx \
-               DataFlowBase_Port.hxx \
-               DataFlowBase_DataPort.hxx \
-               DataFlowBase_InPort.hxx \
-               DataFlowBase_OutPort.hxx \
-               DataFlowBase_Service.hxx \
-               DataFlowBase_PortsOfNode.hxx \
-               DataFlowBase_ComputingNode.hxx \
-               DataFlowBase_FactoryNode.hxx \
-               DataFlowBase_InLineNode.hxx \
-               DataFlowBase_GOTONode.hxx \
-               DataFlowBase_LoopNode.hxx \
-               DataFlowBase_EndOfLoopNode.hxx \
-               DataFlowBase_SwitchNode.hxx \
-               DataFlowBase_EndOfSwitchNode.hxx \
-               DataFlowBase_DataNode.hxx \
-               DataFlowBase_XmlHandler.hxx \
-               DataFlowBase_Graph.hxx
+       DataFlowBase_Base.hxx \
+       DataFlowBase_ServicesParameter.hxx \
+       DataFlowBase_Port.hxx \
+       DataFlowBase_DataPort.hxx \
+       DataFlowBase_InPort.hxx \
+       DataFlowBase_InDataStreamPort.hxx \
+       DataFlowBase_OutPort.hxx \
+       DataFlowBase_OutDataStreamPort.hxx \
+       DataFlowBase_Service.hxx \
+       DataFlowBase_PortsOfNode.hxx \
+       DataFlowBase_StreamNode.hxx \
+       DataFlowBase_ComputingNode.hxx \
+       DataFlowBase_FactoryNode.hxx \
+       DataFlowBase_InLineNode.hxx \
+       DataFlowBase_GOTONode.hxx \
+       DataFlowBase_LoopNode.hxx \
+       DataFlowBase_EndOfLoopNode.hxx \
+       DataFlowBase_SwitchNode.hxx \
+       DataFlowBase_EndOfSwitchNode.hxx \
+       DataFlowBase_DataNode.hxx \
+       DataFlowBase_XmlHandler.hxx \
+       DataFlowBase_Graph.hxx \
+       DataFlowBase_StreamGraph.hxx
 
 # Libraries targets
 LIB = libSalomeSuperVisionBase.la
@@ -44,9 +65,12 @@ LIB_SRC = \
        DataFlowBase_Port.cxx \
        DataFlowBase_DataPort.cxx \
        DataFlowBase_InPort.cxx \
+       DataFlowBase_InDataStreamPort.cxx \
        DataFlowBase_OutPort.cxx \
+       DataFlowBase_OutDataStreamPort.cxx \
        DataFlowBase_Service.cxx \
        DataFlowBase_PortsOfNode.cxx \
+       DataFlowBase_StreamNode.cxx \
        DataFlowBase_ComputingNode.cxx \
        DataFlowBase_FactoryNode.cxx \
        DataFlowBase_InLineNode.cxx \
@@ -58,31 +82,34 @@ LIB_SRC = \
        DataFlowBase_DataNode.cxx \
        DataFlowBase_XmlHandler.cxx \
        DataFlowBase_LoadXml.cxx \
-       DataFlowBase_Graph.cxx 
+       DataFlowBase_Graph.cxx \
+       DataFlowBase_StreamGraph.cxx
 
 LIB_CLIENT_IDL = Logger.idl \
-                SALOME_ModuleCatalog.idl \
-                SALOME_Component.idl \
-                SALOMEDS.idl \
-                SUPERV.idl \
-                SALOMEDS_Attributes.idl \
-                SALOME_Exception.idl
+       SALOME_ModuleCatalog.idl \
+       SALOME_Component.idl \
+       SALOMEDS.idl \
+       SUPERV.idl \
+       SALOMEDS_Attributes.idl \
+       SALOME_Exception.idl \
+       SALOME_GenericObj.idl
 # Executables targets
 BIN = SuperVisionBase_CheckOfUndefined
 BIN_SRC = 
-BIN_SERVER_IDL = 
+BIN_CLIENT_IDL = SALOME_Component.idl
 
-CPPFLAGS+= $(PYTHON_INCLUDES) $(QT_MT_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) \
-        -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ -ftemplate-depth-42 \
-        -I${KERNEL_ROOT_DIR}/include/salome
-#LDFLAGS= -L../../../lib $(CORBA_LIBS) -lomniORB3 -ltcpwrapGK -lomniDynamic3 -lomnithread -lCOS3 -lCOSDynamic3 -lSalomeNS -lSalomeLifeCycleCORBA -lOpUtil -lSalomeLoggerServer -lc $(PYTHON_LIBS) $(QT_MT_LIBS) $(OGL_LIBS)
-LDFLAGS= $(CORBA_LIBS) -lomniORB3 -ltcpwrapGK -lomniDynamic3 -lomnithread -lCOS3 \
-       -lCOSDynamic3 -lSalomeNS -lSalomeLifeCycleCORBA -lOpUtil -lSalomeLoggerServer \
-        -lc $(QT_MT_LIBS) -L${KERNEL_ROOT_DIR}/lib/salome
+CPPFLAGS+= $(PYTHON_INCLUDES) $(QT_MT_INCLUDES) $(KERNEL_CXXFLAGS)
+CXXFLAGS+= -g -D__x86__ -D__linux__ -ftemplate-depth-42 -Wall \
+       $(KERNEL_CXXFLAGS)
 
-LIBS += -L../../lib/salome
+ifeq ($(OS),REDHAT)
+       CXXFLAGS+= -DREDHAT
+endif
 
-@CONCLUDE@
+LDFLAGS+= $(SUPERV_LDFLAGS) $(CORBA_LIBS) -lSalomeNS -lSalomeLifeCycleCORBA -lOpUtil -lSALOMELocalTrace \
+       -lc $(PYTHON_LIBS) $(QT_MT_LIBS) $(KERNEL_LDFLAGS)
+LDFLAGSFORBIN= $(LDFLAGS) -lSalomeContainer -lSalomeResourcesManager -lRegistry -lSalomeNotification -lSALOMEBasics -lSalomeSuperVisionBase -lSalomeIDLKernel
 
+//LIBS += -Xlinker -export-dynamic $(PYTHON_LIBS)
 
+@CONCLUDE@