1 # SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
3 # Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License.
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 # See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
25 # Author : Marc Tajchman
28 top_srcdir=@top_srcdir@
31 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_srcdir)/idl
37 SALOMEDS_StudyManager_i.hxx \
38 SALOMEDS_OCAFApplication.hxx \
39 Handle_SALOMEDS_OCAFApplication.hxx
45 SALOMEDS_StudyManager_i.cxx \
46 SALOMEDS_UseCaseBuilder_i.cxx \
47 SALOMEDS_UseCaseIterator_i.cxx \
48 SALOMEDS_ChildIterator_i.cxx \
49 SALOMEDS_SComponentIterator_i.cxx \
50 SALOMEDS_Study_i.cxx \
51 SALOMEDS_StudyBuilder_i.cxx \
52 SALOMEDS_SObject_i.cxx \
53 SALOMEDS_SComponent_i.cxx \
54 SALOMEDS_OCAFApplication.cxx \
55 SALOMEDS_GenericAttribute_i.cxx \
56 SALOMEDS_IORAttribute.cxx \
57 SALOMEDS_ExternalFileDef.cxx \
58 SALOMEDS_FileType.cxx \
59 SALOMEDS_PersRefAttribute.cxx \
60 SALOMEDS_AttributeComment_i.cxx \
61 SALOMEDS_AttributeExternalFileDef_i.cxx \
62 SALOMEDS_AttributeFileType_i.cxx \
63 SALOMEDS_AttributeIOR_i.cxx \
64 SALOMEDS_AttributeInteger_i.cxx \
65 SALOMEDS_AttributeName_i.cxx \
66 SALOMEDS_AttributePersistentRef_i.cxx \
67 SALOMEDS_AttributeReal_i.cxx \
68 SALOMEDS_AttributeSequenceOfReal_i.cxx \
69 SALOMEDS_AttributeSequenceOfInteger_i.cxx \
70 SALOMEDS_AttributeDrawable_i.cxx \
71 SALOMEDS_AttributeSelectable_i.cxx \
72 SALOMEDS_AttributeOpened_i.cxx \
73 SALOMEDS_AttributeFlags_i.cxx \
74 SALOMEDS_AttributeGraphic_i.cxx \
75 SALOMEDS_AttributeExpandable_i.cxx \
76 SALOMEDS_AttributeTextColor_i.cxx \
77 SALOMEDS_AttributeTextHighlightColor_i.cxx \
78 SALOMEDS_AttributePixMap_i.cxx \
79 SALOMEDS_AttributeTreeNode_i.cxx \
80 SALOMEDS_AttributeLocalID_i.cxx \
81 SALOMEDS_AttributeUserID_i.cxx \
82 SALOMEDS_AttributeTarget_i.cxx \
83 SALOMEDS_AttributeTableOfInteger_i.cxx \
84 SALOMEDS_AttributeTableOfReal_i.cxx \
85 SALOMEDS_AttributeTableOfString_i.cxx \
86 SALOMEDS_AttributeStudyProperties_i.cxx \
87 SALOMEDS_AttributePythonObject_i.cxx \
88 SALOMEDS_SequenceOfRealAttribute.cxx \
89 SALOMEDS_SequenceOfIntegerAttribute.cxx \
90 SALOMEDS_DrawableAttribute.cxx \
91 SALOMEDS_SelectableAttribute.cxx \
92 SALOMEDS_ExpandableAttribute.cxx \
93 SALOMEDS_OpenedAttribute.cxx \
94 SALOMEDS_FlagsAttribute.cxx \
95 SALOMEDS_GraphicAttribute.cxx \
96 SALOMEDS_TextColorAttribute.cxx \
97 SALOMEDS_TextHighlightColorAttribute.cxx \
98 SALOMEDS_PixMapAttribute.cxx \
99 SALOMEDS_LocalIDAttribute.cxx \
100 SALOMEDS_TargetAttribute.cxx \
101 SALOMEDS_TableOfIntegerAttribute.cxx \
102 SALOMEDS_TableOfRealAttribute.cxx \
103 SALOMEDS_TableOfStringAttribute.cxx \
104 SALOMEDS_StudyPropertiesAttribute.cxx \
105 SALOMEDS_PythonObjectAttribute.cxx \
106 SALOMEDS_DataMapOfIntegerString_0.cxx \
107 SALOMEDS_DataMapIteratorOfDataMapOfIntegerString_0.cxx \
108 SALOMEDS_DataMapNodeOfDataMapOfIntegerString_0.cxx \
109 SALOMEDS_DataMapIteratorOfDataMapStringLabel_0.cxx \
110 SALOMEDS_DataMapNodeOfDataMapStringLabel_0.cxx \
111 SALOMEDS_DataMapStringLabel_0.cxx
113 # Executables targets
114 BIN = SALOMEDS_Server SALOMEDS_Client
116 LIB_SERVER_IDL = SALOMEDS.idl SALOMEDS_Attributes.idl SALOME_Exception.idl SALOME_ContainerManager.idl
117 BIN_SERVER_IDL = SALOMEDS.idl SALOMEDS_Attributes.idl
119 LIB_CLIENT_IDL = SALOME_Component.idl SALOME_GenericObj.idl
121 CPPFLAGS+=$(OCC_INCLUDES) $(HDF5_INCLUDES)
122 CXXFLAGS+=$(OCC_CXXFLAGS)
123 LDFLAGS+= $(HDF5_LIBS) -lTOOLSDS -lSalomeNS -lSalomeHDFPersist -lOpUtil -lSALOMELocalTrace $(CAS_LDPATH) -lTKCAF -lTKBO -lTKStdSchema -lSalomeGenericObj -lSalomeLifeCycleCORBA -lSalomeContainer -lSalomeResourcesManager -lRegistry -lSalomeNotification -lSALOMETraceCollector
125 # _CS_gbo_090604 Ajout Spécifique Calibre 3, pour l'utilisation de la version 5.12 de la bibliothèque OCC.
126 # La bibliothèque OCC5.12 a été compilée sur Calibre 3 avec l'extention Xmu (impossible de compiler sans).
127 # On est donc obligé ici, pour permettre l'édition de lien avec les bibliothèques OCC, de spécifier le
128 # chemin d'accès aux bibliothèques Xmu
130 LDXMUFLAGS= -L/usr/X11R6/lib -lXmu
131 LDFLAGS+=$(LDXMUFLAGS)