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 \
66 -I$(srcdir)/../SALOMEDSImpl \
67 -I$(srcdir)/../NamingService \
68 -I$(srcdir)/../GenericObj \
69 -I$(srcdir)/../SALOMEDSClient \
70 -I$(srcdir)/../LifeCycleCORBA \
71 -I$(top_builddir)/salome_adm/unix \
72 -I$(top_builddir)/idl \
73 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
75 # This flag is used to resolve the dependencies of OCC libraries.
76 LDXMUFLAGS = -L/usr/X11R6/lib@LIB_LOCATION_SUFFIX@ -lXmu
78 # This local variable defines the list of dependant libraries common to all target in this package.
80 ../TOOLSDS/libTOOLSDS.la \
81 ../NamingService/libSalomeNS.la \
82 ../Utils/libOpUtil.la \
83 ../SALOMELocalTrace/libSALOMELocalTrace.la \
84 ../Basics/libSALOMEBasics.la \
85 ../HDFPersist/libSalomeHDFPersist.la \
87 ../SALOMEDSImpl/libSalomeDSImpl.la \
88 ../GenericObj/libSalomeGenericObj.la \
89 ../LifeCycleCORBA/libSalomeLifeCycleCORBA.la \
90 $(top_builddir)/idl/libSalomeIDLKernel.la\
96 #LDFLAGS+= -lSalomeGenericObj -lSalomeLifeCycleCORBA
99 # ===============================================================
101 # ===============================================================
103 lib_LTLIBRARIES = libSalomeDS.la
104 libSalomeDS_la_SOURCES = \
106 SALOMEDS_Driver_i.cxx \
107 SALOMEDS_StudyManager_i.cxx \
108 SALOMEDS_UseCaseBuilder_i.cxx \
109 SALOMEDS_UseCaseIterator_i.cxx \
110 SALOMEDS_ChildIterator_i.cxx \
111 SALOMEDS_SComponentIterator_i.cxx \
112 SALOMEDS_Study_i.cxx \
113 SALOMEDS_StudyBuilder_i.cxx \
114 SALOMEDS_SObject_i.cxx \
115 SALOMEDS_SComponent_i.cxx \
116 SALOMEDS_GenericAttribute_i.cxx \
117 SALOMEDS_AttributeComment_i.cxx \
118 SALOMEDS_AttributeExternalFileDef_i.cxx \
119 SALOMEDS_AttributeFileType_i.cxx \
120 SALOMEDS_AttributeIOR_i.cxx \
121 SALOMEDS_AttributeInteger_i.cxx \
122 SALOMEDS_AttributeName_i.cxx \
123 SALOMEDS_AttributePersistentRef_i.cxx \
124 SALOMEDS_AttributeReal_i.cxx \
125 SALOMEDS_AttributeSequenceOfReal_i.cxx \
126 SALOMEDS_AttributeSequenceOfInteger_i.cxx \
127 SALOMEDS_AttributeDrawable_i.cxx \
128 SALOMEDS_AttributeSelectable_i.cxx \
129 SALOMEDS_AttributeOpened_i.cxx \
130 SALOMEDS_AttributeFlags_i.cxx \
131 SALOMEDS_AttributeGraphic_i.cxx \
132 SALOMEDS_AttributeExpandable_i.cxx \
133 SALOMEDS_AttributeTextColor_i.cxx \
134 SALOMEDS_AttributeTextHighlightColor_i.cxx \
135 SALOMEDS_AttributePixMap_i.cxx \
136 SALOMEDS_AttributeTreeNode_i.cxx \
137 SALOMEDS_AttributeLocalID_i.cxx \
138 SALOMEDS_AttributeUserID_i.cxx \
139 SALOMEDS_AttributeTarget_i.cxx \
140 SALOMEDS_AttributeTableOfInteger_i.cxx \
141 SALOMEDS_AttributeTableOfReal_i.cxx \
142 SALOMEDS_AttributeTableOfString_i.cxx \
143 SALOMEDS_AttributeStudyProperties_i.cxx \
144 SALOMEDS_AttributePythonObject_i.cxx \
145 SALOMEDS_AttributeParameter_i.cxx \
146 SALOMEDS_AttributeString_i.cxx \
147 SALOMEDS_SObject.cxx \
148 SALOMEDS_SComponent.cxx \
149 SALOMEDS_GenericAttribute.cxx \
150 SALOMEDS_ChildIterator.cxx \
151 SALOMEDS_SComponentIterator.cxx \
152 SALOMEDS_UseCaseIterator.cxx \
153 SALOMEDS_UseCaseBuilder.cxx \
154 SALOMEDS_StudyBuilder.cxx \
156 SALOMEDS_StudyManager.cxx \
157 SALOMEDS_AttributeStudyProperties.cxx \
158 SALOMEDS_AttributeComment.cxx \
159 SALOMEDS_AttributeDrawable.cxx \
160 SALOMEDS_AttributeExpandable.cxx \
161 SALOMEDS_AttributeExternalFileDef.cxx \
162 SALOMEDS_AttributeFileType.cxx \
163 SALOMEDS_AttributeFlags.cxx \
164 SALOMEDS_AttributeGraphic.cxx \
165 SALOMEDS_AttributeIOR.cxx \
166 SALOMEDS_AttributeInteger.cxx \
167 SALOMEDS_AttributeLocalID.cxx \
168 SALOMEDS_AttributeName.cxx \
169 SALOMEDS_AttributeOpened.cxx \
170 SALOMEDS_AttributePythonObject.cxx \
171 SALOMEDS_AttributeReal.cxx \
172 SALOMEDS_AttributeSelectable.cxx \
173 SALOMEDS_AttributeSequenceOfInteger.cxx \
174 SALOMEDS_AttributePersistentRef.cxx \
175 SALOMEDS_AttributePixMap.cxx \
176 SALOMEDS_AttributeSequenceOfReal.cxx \
177 SALOMEDS_AttributeTableOfInteger.cxx \
178 SALOMEDS_AttributeTableOfReal.cxx \
179 SALOMEDS_AttributeTableOfString.cxx \
180 SALOMEDS_AttributeTarget.cxx \
181 SALOMEDS_AttributeTextColor.cxx \
182 SALOMEDS_AttributeTextHighlightColor.cxx \
183 SALOMEDS_AttributeTreeNode.cxx \
184 SALOMEDS_AttributeUserID.cxx \
185 SALOMEDS_TMPFile_i.cxx \
186 SALOMEDS_AttributeParameter.cxx \
187 SALOMEDS_AttributeString.cxx \
188 SALOMEDS_IParameters.cxx \
189 SALOMEDS_AttLong_i.hxx \
190 SALOMEDS_AttReal_i.hxx \
191 SALOMEDS_AttributeComment.hxx \
192 SALOMEDS_AttributeComment_i.hxx \
193 SALOMEDS_AttributeDrawable.hxx \
194 SALOMEDS_AttributeDrawable_i.hxx \
195 SALOMEDS_AttributeExpandable.hxx \
196 SALOMEDS_AttributeExpandable_i.hxx \
197 SALOMEDS_AttributeExternalFileDef.hxx \
198 SALOMEDS_AttributeExternalFileDef_i.hxx \
199 SALOMEDS_AttributeFileType.hxx \
200 SALOMEDS_AttributeFileType_i.hxx \
201 SALOMEDS_AttributeFlags.hxx \
202 SALOMEDS_AttributeFlags_i.hxx \
203 SALOMEDS_AttributeGraphic.hxx \
204 SALOMEDS_AttributeGraphic_i.hxx \
205 SALOMEDS_AttributeInteger.hxx \
206 SALOMEDS_AttributeInteger_i.hxx \
207 SALOMEDS_AttributeIOR.hxx \
208 SALOMEDS_AttributeIOR_i.hxx \
209 SALOMEDS_AttributeLocalID.hxx \
210 SALOMEDS_AttributeLocalID_i.hxx \
211 SALOMEDS_AttributeName.hxx \
212 SALOMEDS_AttributeName_i.hxx \
213 SALOMEDS_AttributeOpened.hxx \
214 SALOMEDS_AttributeOpened_i.hxx \
215 SALOMEDS_AttributePersistentRef.hxx \
216 SALOMEDS_AttributePersistentRef_i.hxx \
217 SALOMEDS_AttributePixMap.hxx \
218 SALOMEDS_AttributePixMap_i.hxx \
219 SALOMEDS_AttributePythonObject.hxx \
220 SALOMEDS_AttributePythonObject_i.hxx \
221 SALOMEDS_AttributeReal.hxx \
222 SALOMEDS_AttributeReal_i.hxx \
223 SALOMEDS_AttributeSelectable.hxx \
224 SALOMEDS_AttributeSelectable_i.hxx \
225 SALOMEDS_AttributeSequenceOfInteger.hxx \
226 SALOMEDS_AttributeSequenceOfInteger_i.hxx \
227 SALOMEDS_AttributeSequenceOfReal.hxx \
228 SALOMEDS_AttributeSequenceOfReal_i.hxx \
229 SALOMEDS_Attributes.hxx \
230 SALOMEDS_AttributeStudyProperties.hxx \
231 SALOMEDS_AttributeStudyProperties_i.hxx \
232 SALOMEDS_AttributeTableOfInteger.hxx \
233 SALOMEDS_AttributeTableOfInteger_i.hxx \
234 SALOMEDS_AttributeTableOfReal.hxx \
235 SALOMEDS_AttributeTableOfReal_i.hxx \
236 SALOMEDS_AttributeTableOfString.hxx \
237 SALOMEDS_AttributeTableOfString_i.hxx \
238 SALOMEDS_AttributeTarget.hxx \
239 SALOMEDS_AttributeTarget_i.hxx \
240 SALOMEDS_AttributeTextColor.hxx \
241 SALOMEDS_AttributeTextColor_i.hxx \
242 SALOMEDS_AttributeTextHighlightColor.hxx \
243 SALOMEDS_AttributeTextHighlightColor_i.hxx \
244 SALOMEDS_AttributeTreeNode.hxx \
245 SALOMEDS_AttributeTreeNode_i.hxx \
246 SALOMEDS_AttributeUserID.hxx \
247 SALOMEDS_AttributeUserID_i.hxx \
248 SALOMEDS_BasicAttributeFactory.hxx \
249 SALOMEDS_BasicAttribute_i.hxx \
250 SALOMEDS_Callback_i.hxx \
251 SALOMEDS_ChildIterator.hxx \
252 SALOMEDS_ChildIterator_i.hxx \
253 SALOMEDS_ClientAttributes.hxx \
254 SALOMEDS_Driver_i.hxx \
255 SALOMEDS_FileType.hxx \
256 SALOMEDS_GenericAttribute.hxx \
257 SALOMEDS_GenericAttribute_i.hxx \
259 SALOMEDS_SComponent.hxx \
260 SALOMEDS_SComponent_i.hxx \
261 SALOMEDS_SComponentIterator.hxx \
262 SALOMEDS_SComponentIterator_i.hxx \
263 SALOMEDS_SObject.hxx \
264 SALOMEDS_SObject_i.hxx \
265 SALOMEDS_StudyBuilder.hxx \
266 SALOMEDS_StudyBuilder_i.hxx \
268 SALOMEDS_Study_i.hxx \
269 SALOMEDS_StudyManager.hxx \
270 SALOMEDS_StudyManager_i.hxx \
271 SALOMEDS_UseCaseBuilder.hxx \
272 SALOMEDS_UseCaseBuilder_i.hxx \
273 SALOMEDS_UseCaseIterator.hxx \
274 SALOMEDS_UseCaseIterator_i.hxx \
275 SALOMEDS_AttributeParameter.hxx \
276 SALOMEDS_AttributeParameter_i.hxx \
277 SALOMEDS_AttributeString.hxx \
278 SALOMEDS_AttributeString_i.hxx \
279 SALOMEDS_TMPFile_i.hxx
281 libSalomeDS_la_CPPFLAGS = $(COMMON_CPPFLAGS)
282 libSalomeDS_la_LDFLAGS = -Wl,-E -no-undefined -version-info=0:0:0 @LDEXPDYNFLAGS@
283 libSalomeDS_la_LIBADD = $(COMMON_LIBS)
286 # ===============================================================
287 # Executables targets
288 # ===============================================================
290 bin_PROGRAMS = SALOMEDS_Server SALOMEDS_Client
292 SALOMEDS_Server_SOURCES = SALOMEDS_Server.cxx
293 SALOMEDS_Server_CPPFLAGS = $(COMMON_CPPFLAGS)
294 SALOMEDS_Server_LDADD = \
295 libSalomeDS.la $(COMMON_LIBS) \
296 ../ResourcesManager/libSalomeResourcesManager.la \
299 SALOMEDS_Client_SOURCES = SALOMEDS_Client.cxx
300 SALOMEDS_Client_CPPFLAGS = $(COMMON_CPPFLAGS)
301 SALOMEDS_Client_LDADD = \
302 libSalomeDS.la $(COMMON_LIBS) \
303 ../ResourcesManager/libSalomeResourcesManager.la \