1 # Copyright (C) 2005 OPEN CASCADE, CEA, EDF R&D, LEG
2 # PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 # Author : Guillaume Boulant (CSSI)
24 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
27 # ===============================================================
28 # Files to be installed
29 # ===============================================================
32 salomeinclude_HEADERS= \
33 SALOMEDS_StudyManager_i.hxx \
34 SALOMEDS_Driver_i.hxx \
35 SALOMEDS_StudyManager.hxx \
36 SALOMEDS_Study_i.hxx \
38 SALOMEDS_SObject_i.hxx \
39 SALOMEDS_SObject.hxx \
40 SALOMEDS_SComponent_i.hxx \
41 SALOMEDS_SComponent.hxx \
42 SALOMEDS_GenericAttribute_i.hxx \
43 SALOMEDS_GenericAttribute.hxx \
44 SALOMEDS_IParameters.hxx \
47 # Scripts to be installed
48 dist_salomescript_DATA = SALOME_DriverPy.py
51 # ===============================================================
53 # ===============================================================
56 # This local variable defines the list of CPPFLAGS common to all target in this package.
58 @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
60 -I$(srcdir)/../HDFPersist \
62 -I$(srcdir)/../Basics \
63 -I$(srcdir)/../SALOMELocalTrace \
64 -I$(srcdir)/../Utils \
65 -I$(srcdir)/../SALOMEDSImpl \
66 -I$(srcdir)/../NamingService \
67 -I$(srcdir)/../GenericObj \
68 -I$(srcdir)/../SALOMEDSClient \
69 -I$(srcdir)/../LifeCycleCORBA \
70 -I$(top_builddir)/salome_adm/unix \
71 -I$(top_builddir)/idl \
72 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
74 # This flag is used to resolve the dependencies of OCC libraries.
75 LDXMUFLAGS = -L/usr/X11R6/lib@LIB_LOCATION_SUFFIX@ -lXmu
77 # This local variable defines the list of dependant libraries common to all target in this package.
79 ../TOOLSDS/libTOOLSDS.la \
80 ../NamingService/libSalomeNS.la \
81 ../Utils/libOpUtil.la \
82 ../SALOMELocalTrace/libSALOMELocalTrace.la \
83 ../Basics/libSALOMEBasics.la \
84 ../HDFPersist/libSalomeHDFPersist.la \
85 ../SALOMEDSImpl/libSalomeDSImpl.la \
86 ../GenericObj/libSalomeGenericObj.la \
87 ../LifeCycleCORBA/libSalomeLifeCycleCORBA.la \
88 $(top_builddir)/idl/libSalomeIDLKernel.la\
94 #LDFLAGS+= -lSalomeGenericObj -lSalomeLifeCycleCORBA
97 # ===============================================================
99 # ===============================================================
101 lib_LTLIBRARIES = libSalomeDS.la
102 libSalomeDS_la_SOURCES = \
104 SALOMEDS_Driver_i.cxx \
105 SALOMEDS_StudyManager_i.cxx \
106 SALOMEDS_UseCaseBuilder_i.cxx \
107 SALOMEDS_UseCaseIterator_i.cxx \
108 SALOMEDS_ChildIterator_i.cxx \
109 SALOMEDS_SComponentIterator_i.cxx \
110 SALOMEDS_Study_i.cxx \
111 SALOMEDS_StudyBuilder_i.cxx \
112 SALOMEDS_SObject_i.cxx \
113 SALOMEDS_SComponent_i.cxx \
114 SALOMEDS_GenericAttribute_i.cxx \
115 SALOMEDS_AttributeComment_i.cxx \
116 SALOMEDS_AttributeExternalFileDef_i.cxx \
117 SALOMEDS_AttributeFileType_i.cxx \
118 SALOMEDS_AttributeIOR_i.cxx \
119 SALOMEDS_AttributeInteger_i.cxx \
120 SALOMEDS_AttributeName_i.cxx \
121 SALOMEDS_AttributePersistentRef_i.cxx \
122 SALOMEDS_AttributeReal_i.cxx \
123 SALOMEDS_AttributeSequenceOfReal_i.cxx \
124 SALOMEDS_AttributeSequenceOfInteger_i.cxx \
125 SALOMEDS_AttributeDrawable_i.cxx \
126 SALOMEDS_AttributeSelectable_i.cxx \
127 SALOMEDS_AttributeOpened_i.cxx \
128 SALOMEDS_AttributeFlags_i.cxx \
129 SALOMEDS_AttributeGraphic_i.cxx \
130 SALOMEDS_AttributeExpandable_i.cxx \
131 SALOMEDS_AttributeTextColor_i.cxx \
132 SALOMEDS_AttributeTextHighlightColor_i.cxx \
133 SALOMEDS_AttributePixMap_i.cxx \
134 SALOMEDS_AttributeTreeNode_i.cxx \
135 SALOMEDS_AttributeLocalID_i.cxx \
136 SALOMEDS_AttributeUserID_i.cxx \
137 SALOMEDS_AttributeTarget_i.cxx \
138 SALOMEDS_AttributeTableOfInteger_i.cxx \
139 SALOMEDS_AttributeTableOfReal_i.cxx \
140 SALOMEDS_AttributeTableOfString_i.cxx \
141 SALOMEDS_AttributeStudyProperties_i.cxx \
142 SALOMEDS_AttributePythonObject_i.cxx \
143 SALOMEDS_AttributeParameter_i.cxx \
144 SALOMEDS_AttributeString_i.cxx \
145 SALOMEDS_SObject.cxx \
146 SALOMEDS_SComponent.cxx \
147 SALOMEDS_GenericAttribute.cxx \
148 SALOMEDS_ChildIterator.cxx \
149 SALOMEDS_SComponentIterator.cxx \
150 SALOMEDS_UseCaseIterator.cxx \
151 SALOMEDS_UseCaseBuilder.cxx \
152 SALOMEDS_StudyBuilder.cxx \
154 SALOMEDS_StudyManager.cxx \
155 SALOMEDS_AttributeStudyProperties.cxx \
156 SALOMEDS_AttributeComment.cxx \
157 SALOMEDS_AttributeDrawable.cxx \
158 SALOMEDS_AttributeExpandable.cxx \
159 SALOMEDS_AttributeExternalFileDef.cxx \
160 SALOMEDS_AttributeFileType.cxx \
161 SALOMEDS_AttributeFlags.cxx \
162 SALOMEDS_AttributeGraphic.cxx \
163 SALOMEDS_AttributeIOR.cxx \
164 SALOMEDS_AttributeInteger.cxx \
165 SALOMEDS_AttributeLocalID.cxx \
166 SALOMEDS_AttributeName.cxx \
167 SALOMEDS_AttributeOpened.cxx \
168 SALOMEDS_AttributePythonObject.cxx \
169 SALOMEDS_AttributeReal.cxx \
170 SALOMEDS_AttributeSelectable.cxx \
171 SALOMEDS_AttributeSequenceOfInteger.cxx \
172 SALOMEDS_AttributePersistentRef.cxx \
173 SALOMEDS_AttributePixMap.cxx \
174 SALOMEDS_AttributeSequenceOfReal.cxx \
175 SALOMEDS_AttributeTableOfInteger.cxx \
176 SALOMEDS_AttributeTableOfReal.cxx \
177 SALOMEDS_AttributeTableOfString.cxx \
178 SALOMEDS_AttributeTarget.cxx \
179 SALOMEDS_AttributeTextColor.cxx \
180 SALOMEDS_AttributeTextHighlightColor.cxx \
181 SALOMEDS_AttributeTreeNode.cxx \
182 SALOMEDS_AttributeUserID.cxx \
183 SALOMEDS_TMPFile_i.cxx \
184 SALOMEDS_AttributeParameter.cxx \
185 SALOMEDS_AttributeString.cxx \
186 SALOMEDS_IParameters.cxx \
188 Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx \
189 Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx \
190 Handle_SALOMEDS_DrawableAttribute.hxx \
191 Handle_SALOMEDS_ExpandableAttribute.hxx \
192 Handle_SALOMEDS_ExternalFileDef.hxx \
193 Handle_SALOMEDS_FileType.hxx \
194 Handle_SALOMEDS_IORAttribute.hxx \
195 Handle_SALOMEDS_LocalIDAttribute.hxx \
196 Handle_SALOMEDS_OCAFApplication.hxx \
197 Handle_SALOMEDS_OpenedAttribute.hxx \
198 Handle_SALOMEDS_PersRefAttribute.hxx \
199 Handle_SALOMEDS_PixMapAttribute.hxx \
200 Handle_SALOMEDS_PythonObjectAttribute.hxx \
201 Handle_SALOMEDS_SelectableAttribute.hxx \
202 Handle_SALOMEDS_SequenceOfIntegerAttribute.hxx \
203 Handle_SALOMEDS_SequenceOfRealAttribute.hxx \
204 Handle_SALOMEDS_StudyPropertiesAttribute.hxx \
205 Handle_SALOMEDS_TableOfIntegerAttribute.hxx \
206 Handle_SALOMEDS_TableOfRealAttribute.hxx \
207 Handle_SALOMEDS_TableOfStringAttribute.hxx \
208 Handle_SALOMEDS_TargetAttribute.hxx \
209 Handle_SALOMEDS_TextColorAttribute.hxx \
210 Handle_SALOMEDS_TextHighlightColorAttribute.hxx \
211 SALOMEDS_AttLong_i.hxx \
212 SALOMEDS_AttReal_i.hxx \
213 SALOMEDS_AttributeComment.hxx \
214 SALOMEDS_AttributeComment_i.hxx \
215 SALOMEDS_AttributeDrawable.hxx \
216 SALOMEDS_AttributeDrawable_i.hxx \
217 SALOMEDS_AttributeExpandable.hxx \
218 SALOMEDS_AttributeExpandable_i.hxx \
219 SALOMEDS_AttributeExternalFileDef.hxx \
220 SALOMEDS_AttributeExternalFileDef_i.hxx \
221 SALOMEDS_AttributeFileType.hxx \
222 SALOMEDS_AttributeFileType_i.hxx \
223 SALOMEDS_AttributeFlags.hxx \
224 SALOMEDS_AttributeFlags_i.hxx \
225 SALOMEDS_AttributeGraphic.hxx \
226 SALOMEDS_AttributeGraphic_i.hxx \
227 SALOMEDS_AttributeInteger.hxx \
228 SALOMEDS_AttributeInteger_i.hxx \
229 SALOMEDS_AttributeIOR.hxx \
230 SALOMEDS_AttributeIOR_i.hxx \
231 SALOMEDS_AttributeLocalID.hxx \
232 SALOMEDS_AttributeLocalID_i.hxx \
233 SALOMEDS_AttributeName.hxx \
234 SALOMEDS_AttributeName_i.hxx \
235 SALOMEDS_AttributeOpened.hxx \
236 SALOMEDS_AttributeOpened_i.hxx \
237 SALOMEDS_AttributePersistentRef.hxx \
238 SALOMEDS_AttributePersistentRef_i.hxx \
239 SALOMEDS_AttributePixMap.hxx \
240 SALOMEDS_AttributePixMap_i.hxx \
241 SALOMEDS_AttributePythonObject.hxx \
242 SALOMEDS_AttributePythonObject_i.hxx \
243 SALOMEDS_AttributeReal.hxx \
244 SALOMEDS_AttributeReal_i.hxx \
245 SALOMEDS_AttributeSelectable.hxx \
246 SALOMEDS_AttributeSelectable_i.hxx \
247 SALOMEDS_AttributeSequenceOfInteger.hxx \
248 SALOMEDS_AttributeSequenceOfInteger_i.hxx \
249 SALOMEDS_AttributeSequenceOfReal.hxx \
250 SALOMEDS_AttributeSequenceOfReal_i.hxx \
251 SALOMEDS_Attributes.hxx \
252 SALOMEDS_AttributeStudyProperties.hxx \
253 SALOMEDS_AttributeStudyProperties_i.hxx \
254 SALOMEDS_AttributeTableOfInteger.hxx \
255 SALOMEDS_AttributeTableOfInteger_i.hxx \
256 SALOMEDS_AttributeTableOfReal.hxx \
257 SALOMEDS_AttributeTableOfReal_i.hxx \
258 SALOMEDS_AttributeTableOfString.hxx \
259 SALOMEDS_AttributeTableOfString_i.hxx \
260 SALOMEDS_AttributeTarget.hxx \
261 SALOMEDS_AttributeTarget_i.hxx \
262 SALOMEDS_AttributeTextColor.hxx \
263 SALOMEDS_AttributeTextColor_i.hxx \
264 SALOMEDS_AttributeTextHighlightColor.hxx \
265 SALOMEDS_AttributeTextHighlightColor_i.hxx \
266 SALOMEDS_AttributeTreeNode.hxx \
267 SALOMEDS_AttributeTreeNode_i.hxx \
268 SALOMEDS_AttributeUserID.hxx \
269 SALOMEDS_AttributeUserID_i.hxx \
270 SALOMEDS_BasicAttributeFactory.hxx \
271 SALOMEDS_BasicAttribute_i.hxx \
272 SALOMEDS_Callback_i.hxx \
273 SALOMEDS_ChildIterator.hxx \
274 SALOMEDS_ChildIterator_i.hxx \
275 SALOMEDS_ClientAttributes.hxx \
276 SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx \
277 SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx \
278 SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx \
279 SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx \
280 SALOMEDS_DataMapOfIntegerString.hxx \
281 SALOMEDS_DataMapStringLabel.hxx \
282 SALOMEDS_DrawableAttribute.hxx \
283 SALOMEDS_Driver_i.hxx \
284 SALOMEDS_ExpandableAttribute.hxx \
285 SALOMEDS_ExternalFileDef.hxx \
286 SALOMEDS_FileType.hxx \
287 SALOMEDS_FlagsAttribute.hxx \
288 SALOMEDS_GenericAttribute.hxx \
289 SALOMEDS_GenericAttribute_i.hxx \
290 SALOMEDS_GraphicAttribute.hxx \
292 SALOMEDS_IORAttribute.hxx \
293 SALOMEDS_LocalIDAttribute.hxx \
294 SALOMEDS_OCAFApplication.hxx \
295 SALOMEDS_OpenedAttribute.hxx \
296 SALOMEDS_PersRefAttribute.hxx \
297 SALOMEDS_PixMapAttribute.hxx \
298 SALOMEDS_PythonObjectAttribute.hxx \
299 SALOMEDS_SAttribute_i.hxx \
300 SALOMEDS_SComponent.hxx \
301 SALOMEDS_SComponent_i.hxx \
302 SALOMEDS_SComponentIterator.hxx \
303 SALOMEDS_SComponentIterator_i.hxx \
304 SALOMEDS_SelectableAttribute.hxx \
305 SALOMEDS_SequenceOfIntegerAttribute.hxx \
306 SALOMEDS_SequenceOfRealAttribute.hxx \
307 SALOMEDS_SObject.hxx \
308 SALOMEDS_SObject_i.hxx \
309 SALOMEDS_StudyBuilder.hxx \
310 SALOMEDS_StudyBuilder_i.hxx \
312 SALOMEDS_Study_i.hxx \
313 SALOMEDS_StudyManager.hxx \
314 SALOMEDS_StudyManager_i.hxx \
315 SALOMEDS_StudyPropertiesAttribute.hxx \
316 SALOMEDS_TableOfIntegerAttribute.hxx \
317 SALOMEDS_TableOfRealAttribute.hxx \
318 SALOMEDS_TableOfStringAttribute.hxx \
319 SALOMEDS_TargetAttribute.hxx \
320 SALOMEDS_TextColorAttribute.hxx \
321 SALOMEDS_TextHighlightColorAttribute.hxx \
322 SALOMEDS_UseCaseBuilder.hxx \
323 SALOMEDS_UseCaseBuilder_i.hxx \
324 SALOMEDS_UseCaseIterator.hxx \
325 SALOMEDS_UseCaseIterator_i.hxx \
326 SALOMEDS_AttributeParameter.hxx \
327 SALOMEDS_AttributeParameter_i.hxx \
328 SALOMEDS_AttributeString.hxx \
329 SALOMEDS_AttributeString_i.hxx \
330 SALOMEDS_TMPFile_i.hxx
332 libSalomeDS_la_CPPFLAGS = $(COMMON_CPPFLAGS)
333 libSalomeDS_la_LDFLAGS = -Wl,-E -no-undefined -version-info=0:0:0 @LDEXPDYNFLAGS@
334 libSalomeDS_la_LIBADD = $(COMMON_LIBS)
337 # ===============================================================
338 # Executables targets
339 # ===============================================================
341 bin_PROGRAMS = SALOMEDS_Server SALOMEDS_Client
343 SALOMEDS_Server_SOURCES = SALOMEDS_Server.cxx
344 SALOMEDS_Server_CPPFLAGS = $(COMMON_CPPFLAGS)
345 SALOMEDS_Server_LDADD = \
346 libSalomeDS.la $(COMMON_LIBS) \
347 ../ResourcesManager/libSalomeResourcesManager.la \
351 SALOMEDS_Client_SOURCES = SALOMEDS_Client.cxx
352 SALOMEDS_Client_CPPFLAGS = $(COMMON_CPPFLAGS)
353 SALOMEDS_Client_LDADD = \
354 libSalomeDS.la $(COMMON_LIBS) \
355 ../ResourcesManager/libSalomeResourcesManager.la \