Salome HOME
ADD a end user module (services.py) to help the manipulation of SALOME KERNEL service...
[modules/kernel.git] / src / SALOMEDSImpl / Makefile.am
index 22cd3b6ea3ecfc3e5dea8980a03a569225291c82..231e3f598449dca3866ded79ba5e492c4b966d02 100644 (file)
@@ -1,7 +1,29 @@
+# Copyright (C) 2007-2011  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
+#
+
 #  File   : Makefile.am
 #  Author : Guillaume Boulant (CSSI)
 #  Module : KERNEL
-
+#
 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 
 #
@@ -35,6 +57,7 @@ salomeinclude_HEADERS= \
        SALOMEDSImpl_AttributePixMap.hxx \
        SALOMEDSImpl_AttributeLocalID.hxx \
        SALOMEDSImpl_AttributeTarget.hxx \
+       SALOMEDSImpl_AttributeTable.hxx \
        SALOMEDSImpl_AttributeTableOfInteger.hxx \
        SALOMEDSImpl_AttributeTableOfReal.hxx \
        SALOMEDSImpl_AttributeTableOfString.hxx \
@@ -48,16 +71,19 @@ salomeinclude_HEADERS= \
        SALOMEDSImpl_AttributeComment.hxx \
        SALOMEDSImpl_AttributeReference.hxx \
        SALOMEDSImpl_AttributeParameter.hxx \
+       SALOMEDSImpl_AttributeString.hxx \
        SALOMEDSImpl_UseCaseBuilder.hxx \
        SALOMEDSImpl_UseCaseIterator.hxx \
        SALOMEDSImpl_SComponentIterator.hxx \
        SALOMEDSImpl_StudyBuilder.hxx \
        SALOMEDSImpl_Study.hxx \
        SALOMEDSImpl_StudyManager.hxx \
-       SALOMEDSImpl_OCAFApplication.hxx \
        SALOMEDSImpl_ChildNodeIterator.hxx \
+       SALOMEDSImpl_Defines.hxx \
        SALOMEDSImpl_IParameters.hxx \
-       SALOMEDSImpl_TMPFile.hxx
+       SALOMEDSImpl_TMPFile.hxx \
+       SALOMEDSImpl_GenericVariable.hxx \
+       SALOMEDSImpl_ScalarVariable.hxx
 
 #
 # ===============================================================
@@ -67,21 +93,24 @@ salomeinclude_HEADERS= \
 
 # This local variable defines the list of CPPFLAGS common to all target in this package.
 COMMON_CPPFLAGS=\
-       @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
        -I$(srcdir)/../Basics \
        -I$(srcdir)/../SALOMELocalTrace \
        -I$(srcdir)/../HDFPersist \
-       @HDF5_INCLUDES@
-
-# This flag is used to resolve the dependencies of OCC libraries.
-LDXMUFLAGS = -L/usr/X11R6/lib -lXmu
+       -I$(srcdir)/../DF \
+       -I$(srcdir)/../GenericObj \
+       -I$(top_builddir)/idl \
+       -I$(top_builddir) \
+       @HDF5_INCLUDES@ \
+       @BOOST_CPPFLAGS@ @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
 
 # This local variable defines the list of dependant libraries common to all target in this package.
 COMMON_LIBS =\
+       ../Basics/libSALOMEBasics.la \
        ../HDFPersist/libSalomeHDFPersist.la \
-       @CAS_OCAF@ \
-       @HDF5_LIBS@ \
-       $(LDXMUFLAGS)
+       ../DF/libDF.la \
+       ../GenericObj/libSalomeGenericObj.la \
+       $(top_builddir)/idl/libSalomeIDLKernel.la \
+       @HDF5_LIBS@ 
 
 
 #
@@ -98,7 +127,6 @@ libSalomeDSImpl_la_SOURCES =\
        SALOMEDSImpl_SObject.cxx \
        SALOMEDSImpl_SComponent.cxx \
        SALOMEDSImpl_ChildIterator.cxx \
-       SALOMEDSImpl_OCAFApplication.cxx \
        SALOMEDSImpl_AttributeIOR.cxx \
        SALOMEDSImpl_AttributeExternalFileDef.cxx \
        SALOMEDSImpl_AttributeFileType.cxx \
@@ -129,6 +157,7 @@ libSalomeDSImpl_la_SOURCES =\
        SALOMEDSImpl_AttributeComment.cxx \
        SALOMEDSImpl_AttributeReference.cxx \
        SALOMEDSImpl_AttributeParameter.cxx \
+       SALOMEDSImpl_AttributeString.cxx \
        SALOMEDSImpl_ChildNodeIterator.cxx \
        SALOMEDSImpl_UseCaseBuilder.cxx \
        SALOMEDSImpl_UseCaseIterator.cxx \
@@ -138,6 +167,8 @@ libSalomeDSImpl_la_SOURCES =\
        SALOMEDSImpl_StudyManager.cxx \
        SALOMEDSImpl_IParameters.cxx \
        SALOMEDSImpl_TMPFile.cxx \
+       SALOMEDSImpl_GenericVariable.cxx \
+       SALOMEDSImpl_ScalarVariable.cxx \
        \
        SALOMEDSImpl_AttributeComment.hxx \
        SALOMEDSImpl_AttributeDrawable.hxx \
@@ -161,6 +192,7 @@ libSalomeDSImpl_la_SOURCES =\
        SALOMEDSImpl_AttributeSequenceOfReal.hxx \
        SALOMEDSImpl_Attributes.hxx \
        SALOMEDSImpl_AttributeStudyProperties.hxx \
+       SALOMEDSImpl_AttributeTable.hxx \
        SALOMEDSImpl_AttributeTableOfInteger.hxx \
        SALOMEDSImpl_AttributeTableOfReal.hxx \
        SALOMEDSImpl_AttributeTableOfString.hxx \
@@ -169,12 +201,14 @@ libSalomeDSImpl_la_SOURCES =\
        SALOMEDSImpl_AttributeTextHighlightColor.hxx \
        SALOMEDSImpl_AttributeTreeNode.hxx \
        SALOMEDSImpl_AttributeUserID.hxx \
+       SALOMEDSImpl_AttributeParameter.hxx \
+       SALOMEDSImpl_AttributeString.hxx \
        SALOMEDSImpl_Callback.hxx \
        SALOMEDSImpl_ChildIterator.hxx \
        SALOMEDSImpl_ChildNodeIterator.hxx \
+       SALOMEDSImpl_Defines.hxx \
        SALOMEDSImpl_Driver.hxx \
        SALOMEDSImpl_GenericAttribute.hxx \
-       SALOMEDSImpl_OCAFApplication.hxx \
        SALOMEDSImpl_SComponent.hxx \
        SALOMEDSImpl_SComponentIterator.hxx \
        SALOMEDSImpl_SObject.hxx \
@@ -184,11 +218,13 @@ libSalomeDSImpl_la_SOURCES =\
        SALOMEDSImpl_StudyManager.hxx \
        SALOMEDSImpl_Tool.hxx \
        SALOMEDSImpl_UseCaseBuilder.hxx \
-       SALOMEDSImpl_UseCaseIterator.hxx
+       SALOMEDSImpl_UseCaseIterator.hxx \
+       SALOMEDSImpl_GenericVariable.hxx \
+       SALOMEDSImpl_ScalarVariable.hxx
 
 libSalomeDSImpl_la_CPPFLAGS = $(COMMON_CPPFLAGS)
 libSalomeDSImpl_la_LDFLAGS  = -no-undefined -version-info=0:0:0
-libSalomeDSImpl_la_LIBADD    = $(COMMON_LIBS)
+libSalomeDSImpl_la_LIBADD    = $(COMMON_LIBS) $(CORBA_LIBS)
 
 #
 # ===============================================================
@@ -198,4 +234,5 @@ libSalomeDSImpl_la_LIBADD    = $(COMMON_LIBS)
 bin_PROGRAMS = testDS
 testDS_SOURCES  = testDS.cxx
 testDS_CPPFLAGS = $(COMMON_CPPFLAGS)
-testDS_LDADD    = libSalomeDSImpl.la $(COMMON_LIBS)
+testDS_LDADD    = libSalomeDSImpl.la ../DF/libDF.la \
+       $(COMMON_LIBS) $(CORBA_LIBS)