1 # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 # Author : Guillaume Boulant (CSSI)
27 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
30 # ===============================================================
31 # Files to be installed
32 # ===============================================================
35 salomeinclude_HEADERS= \
36 SALOMEDS_StudyManager_i.hxx \
37 SALOMEDS_Driver_i.hxx \
38 SALOMEDS_StudyManager.hxx \
39 SALOMEDS_Study_i.hxx \
41 SALOMEDS_SObject_i.hxx \
42 SALOMEDS_SObject.hxx \
43 SALOMEDS_SComponent_i.hxx \
44 SALOMEDS_SComponent.hxx \
45 SALOMEDS_GenericAttribute_i.hxx \
46 SALOMEDS_GenericAttribute.hxx \
47 SALOMEDS_IParameters.hxx \
50 # Scripts to be installed
51 dist_salomescript_PYTHON = SALOME_DriverPy.py
54 # ===============================================================
56 # ===============================================================
59 # This local variable defines the list of CPPFLAGS common to all target in this package.
62 -I$(srcdir)/../HDFPersist \
64 -I$(srcdir)/../Basics \
65 -I$(srcdir)/../SALOMELocalTrace \
66 -I$(srcdir)/../Utils \
68 -I$(srcdir)/../SALOMEDSImpl \
69 -I$(srcdir)/../NamingService \
70 -I$(srcdir)/../GenericObj \
71 -I$(srcdir)/../SALOMEDSClient \
72 -I$(srcdir)/../LifeCycleCORBA \
73 -I$(top_builddir)/idl \
74 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
76 # This local variable defines the list of dependant libraries common to all target in this package.
78 ../TOOLSDS/libTOOLSDS.la \
79 ../NamingService/libSalomeNS.la \
80 ../Utils/libOpUtil.la \
81 ../SALOMELocalTrace/libSALOMELocalTrace.la \
82 ../Basics/libSALOMEBasics.la \
83 ../HDFPersist/libSalomeHDFPersist.la \
85 ../SALOMEDSImpl/libSalomeDSImpl.la \
86 ../GenericObj/libSalomeGenericObj.la \
87 ../LifeCycleCORBA/libSalomeLifeCycleCORBA.la \
88 $(top_builddir)/idl/libSalomeIDLKernel.la\
92 #LDFLAGS+= -lSalomeGenericObj -lSalomeLifeCycleCORBA
95 # ===============================================================
97 # ===============================================================
99 lib_LTLIBRARIES = libSalomeDS.la
100 libSalomeDS_la_SOURCES = \
102 SALOMEDS_Driver_i.cxx \
103 SALOMEDS_StudyManager_i.cxx \
104 SALOMEDS_UseCaseBuilder_i.cxx \
105 SALOMEDS_UseCaseIterator_i.cxx \
106 SALOMEDS_ChildIterator_i.cxx \
107 SALOMEDS_SComponentIterator_i.cxx \
108 SALOMEDS_Study_i.cxx \
109 SALOMEDS_StudyBuilder_i.cxx \
110 SALOMEDS_SObject_i.cxx \
111 SALOMEDS_SComponent_i.cxx \
112 SALOMEDS_GenericAttribute_i.cxx \
113 SALOMEDS_AttributeComment_i.cxx \
114 SALOMEDS_AttributeExternalFileDef_i.cxx \
115 SALOMEDS_AttributeFileType_i.cxx \
116 SALOMEDS_AttributeIOR_i.cxx \
117 SALOMEDS_AttributeInteger_i.cxx \
118 SALOMEDS_AttributeName_i.cxx \
119 SALOMEDS_AttributePersistentRef_i.cxx \
120 SALOMEDS_AttributeReal_i.cxx \
121 SALOMEDS_AttributeSequenceOfReal_i.cxx \
122 SALOMEDS_AttributeSequenceOfInteger_i.cxx \
123 SALOMEDS_AttributeDrawable_i.cxx \
124 SALOMEDS_AttributeSelectable_i.cxx \
125 SALOMEDS_AttributeOpened_i.cxx \
126 SALOMEDS_AttributeFlags_i.cxx \
127 SALOMEDS_AttributeGraphic_i.cxx \
128 SALOMEDS_AttributeExpandable_i.cxx \
129 SALOMEDS_AttributeTextColor_i.cxx \
130 SALOMEDS_AttributeTextHighlightColor_i.cxx \
131 SALOMEDS_AttributePixMap_i.cxx \
132 SALOMEDS_AttributeTreeNode_i.cxx \
133 SALOMEDS_AttributeLocalID_i.cxx \
134 SALOMEDS_AttributeUserID_i.cxx \
135 SALOMEDS_AttributeTarget_i.cxx \
136 SALOMEDS_AttributeTableOfInteger_i.cxx \
137 SALOMEDS_AttributeTableOfReal_i.cxx \
138 SALOMEDS_AttributeTableOfString_i.cxx \
139 SALOMEDS_AttributeStudyProperties_i.cxx \
140 SALOMEDS_AttributePythonObject_i.cxx \
141 SALOMEDS_AttributeParameter_i.cxx \
142 SALOMEDS_AttributeString_i.cxx \
143 SALOMEDS_SObject.cxx \
144 SALOMEDS_SComponent.cxx \
145 SALOMEDS_GenericAttribute.cxx \
146 SALOMEDS_ChildIterator.cxx \
147 SALOMEDS_SComponentIterator.cxx \
148 SALOMEDS_UseCaseIterator.cxx \
149 SALOMEDS_UseCaseBuilder.cxx \
150 SALOMEDS_StudyBuilder.cxx \
152 SALOMEDS_StudyManager.cxx \
153 SALOMEDS_AttributeStudyProperties.cxx \
154 SALOMEDS_AttributeComment.cxx \
155 SALOMEDS_AttributeDrawable.cxx \
156 SALOMEDS_AttributeExpandable.cxx \
157 SALOMEDS_AttributeExternalFileDef.cxx \
158 SALOMEDS_AttributeFileType.cxx \
159 SALOMEDS_AttributeFlags.cxx \
160 SALOMEDS_AttributeGraphic.cxx \
161 SALOMEDS_AttributeIOR.cxx \
162 SALOMEDS_AttributeInteger.cxx \
163 SALOMEDS_AttributeLocalID.cxx \
164 SALOMEDS_AttributeName.cxx \
165 SALOMEDS_AttributeOpened.cxx \
166 SALOMEDS_AttributePythonObject.cxx \
167 SALOMEDS_AttributeReal.cxx \
168 SALOMEDS_AttributeSelectable.cxx \
169 SALOMEDS_AttributeSequenceOfInteger.cxx \
170 SALOMEDS_AttributePersistentRef.cxx \
171 SALOMEDS_AttributePixMap.cxx \
172 SALOMEDS_AttributeSequenceOfReal.cxx \
173 SALOMEDS_AttributeTableOfInteger.cxx \
174 SALOMEDS_AttributeTableOfReal.cxx \
175 SALOMEDS_AttributeTableOfString.cxx \
176 SALOMEDS_AttributeTarget.cxx \
177 SALOMEDS_AttributeTextColor.cxx \
178 SALOMEDS_AttributeTextHighlightColor.cxx \
179 SALOMEDS_AttributeTreeNode.cxx \
180 SALOMEDS_AttributeUserID.cxx \
181 SALOMEDS_TMPFile_i.cxx \
182 SALOMEDS_AttributeParameter.cxx \
183 SALOMEDS_AttributeString.cxx \
184 SALOMEDS_IParameters.cxx \
185 SALOMEDS_AttLong_i.hxx \
186 SALOMEDS_AttReal_i.hxx \
187 SALOMEDS_AttributeComment.hxx \
188 SALOMEDS_AttributeComment_i.hxx \
189 SALOMEDS_AttributeDrawable.hxx \
190 SALOMEDS_AttributeDrawable_i.hxx \
191 SALOMEDS_AttributeExpandable.hxx \
192 SALOMEDS_AttributeExpandable_i.hxx \
193 SALOMEDS_AttributeExternalFileDef.hxx \
194 SALOMEDS_AttributeExternalFileDef_i.hxx \
195 SALOMEDS_AttributeFileType.hxx \
196 SALOMEDS_AttributeFileType_i.hxx \
197 SALOMEDS_AttributeFlags.hxx \
198 SALOMEDS_AttributeFlags_i.hxx \
199 SALOMEDS_AttributeGraphic.hxx \
200 SALOMEDS_AttributeGraphic_i.hxx \
201 SALOMEDS_AttributeInteger.hxx \
202 SALOMEDS_AttributeInteger_i.hxx \
203 SALOMEDS_AttributeIOR.hxx \
204 SALOMEDS_AttributeIOR_i.hxx \
205 SALOMEDS_AttributeLocalID.hxx \
206 SALOMEDS_AttributeLocalID_i.hxx \
207 SALOMEDS_AttributeName.hxx \
208 SALOMEDS_AttributeName_i.hxx \
209 SALOMEDS_AttributeOpened.hxx \
210 SALOMEDS_AttributeOpened_i.hxx \
211 SALOMEDS_AttributePersistentRef.hxx \
212 SALOMEDS_AttributePersistentRef_i.hxx \
213 SALOMEDS_AttributePixMap.hxx \
214 SALOMEDS_AttributePixMap_i.hxx \
215 SALOMEDS_AttributePythonObject.hxx \
216 SALOMEDS_AttributePythonObject_i.hxx \
217 SALOMEDS_AttributeReal.hxx \
218 SALOMEDS_AttributeReal_i.hxx \
219 SALOMEDS_AttributeSelectable.hxx \
220 SALOMEDS_AttributeSelectable_i.hxx \
221 SALOMEDS_AttributeSequenceOfInteger.hxx \
222 SALOMEDS_AttributeSequenceOfInteger_i.hxx \
223 SALOMEDS_AttributeSequenceOfReal.hxx \
224 SALOMEDS_AttributeSequenceOfReal_i.hxx \
225 SALOMEDS_Attributes.hxx \
226 SALOMEDS_AttributeStudyProperties.hxx \
227 SALOMEDS_AttributeStudyProperties_i.hxx \
228 SALOMEDS_AttributeTableOfInteger.hxx \
229 SALOMEDS_AttributeTableOfInteger_i.hxx \
230 SALOMEDS_AttributeTableOfReal.hxx \
231 SALOMEDS_AttributeTableOfReal_i.hxx \
232 SALOMEDS_AttributeTableOfString.hxx \
233 SALOMEDS_AttributeTableOfString_i.hxx \
234 SALOMEDS_AttributeTarget.hxx \
235 SALOMEDS_AttributeTarget_i.hxx \
236 SALOMEDS_AttributeTextColor.hxx \
237 SALOMEDS_AttributeTextColor_i.hxx \
238 SALOMEDS_AttributeTextHighlightColor.hxx \
239 SALOMEDS_AttributeTextHighlightColor_i.hxx \
240 SALOMEDS_AttributeTreeNode.hxx \
241 SALOMEDS_AttributeTreeNode_i.hxx \
242 SALOMEDS_AttributeUserID.hxx \
243 SALOMEDS_AttributeUserID_i.hxx \
244 SALOMEDS_BasicAttributeFactory.hxx \
245 SALOMEDS_BasicAttribute_i.hxx \
246 SALOMEDS_Callback_i.hxx \
247 SALOMEDS_ChildIterator.hxx \
248 SALOMEDS_ChildIterator_i.hxx \
249 SALOMEDS_ClientAttributes.hxx \
250 SALOMEDS_Driver_i.hxx \
251 SALOMEDS_GenericAttribute.hxx \
252 SALOMEDS_GenericAttribute_i.hxx \
254 SALOMEDS_SComponent.hxx \
255 SALOMEDS_SComponent_i.hxx \
256 SALOMEDS_SComponentIterator.hxx \
257 SALOMEDS_SComponentIterator_i.hxx \
258 SALOMEDS_SObject.hxx \
259 SALOMEDS_SObject_i.hxx \
260 SALOMEDS_StudyBuilder.hxx \
261 SALOMEDS_StudyBuilder_i.hxx \
263 SALOMEDS_Study_i.hxx \
264 SALOMEDS_StudyManager.hxx \
265 SALOMEDS_StudyManager_i.hxx \
266 SALOMEDS_UseCaseBuilder.hxx \
267 SALOMEDS_UseCaseBuilder_i.hxx \
268 SALOMEDS_UseCaseIterator.hxx \
269 SALOMEDS_UseCaseIterator_i.hxx \
270 SALOMEDS_AttributeParameter.hxx \
271 SALOMEDS_AttributeParameter_i.hxx \
272 SALOMEDS_AttributeString.hxx \
273 SALOMEDS_AttributeString_i.hxx \
274 SALOMEDS_TMPFile_i.hxx
276 libSalomeDS_la_CPPFLAGS = $(COMMON_CPPFLAGS)
277 libSalomeDS_la_LDFLAGS = -Wl,-E -no-undefined -version-info=0:0:0 @LDEXPDYNFLAGS@
278 libSalomeDS_la_LIBADD = $(COMMON_LIBS)
281 # ===============================================================
282 # Executables targets
283 # ===============================================================
285 bin_PROGRAMS = SALOMEDS_Server SALOMEDS_Client
287 SALOMEDS_Server_SOURCES = SALOMEDS_Server.cxx
288 SALOMEDS_Server_CPPFLAGS = $(COMMON_CPPFLAGS)
289 SALOMEDS_Server_LDADD = libSalomeDS.la \
290 ../Basics/libSALOMEBasics.la \
294 SALOMEDS_Client_SOURCES = SALOMEDS_Client.cxx
295 SALOMEDS_Client_CPPFLAGS = $(COMMON_CPPFLAGS)
296 SALOMEDS_Client_LDADD = libSalomeDS.la \
297 ../Basics/libSALOMEBasics.la \