]> SALOME platform Git repositories - modules/kernel.git/blob - src/SALOMEDS/Makefile.am
Salome HOME
Merge from V6_main 11/02/2013
[modules/kernel.git] / src / SALOMEDS / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
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.
10 #
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.
15 #
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
19 #
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22
23 #  File   : Makefile.am
24 #  Author : Guillaume Boulant (CSSI)
25 #  Module : KERNEL
26 #
27 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
28
29 #
30 # ===============================================================
31 # Files to be installed
32 # ===============================================================
33 #
34 # header files  
35 salomeinclude_HEADERS= \
36         SALOMEDS_StudyManager_i.hxx \
37         SALOMEDS_Driver_i.hxx \
38         SALOMEDS_StudyManager.hxx \
39         SALOMEDS_Study_i.hxx \
40         SALOMEDS_Study.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 \
48         SALOMEDS_Defines.hxx \
49         SALOMEDS_Attributes_wrap.hxx \
50         SALOMEDS_wrap.hxx
51
52 # Scripts to be installed
53 dist_salomescript_PYTHON = SALOME_DriverPy.py
54
55 #
56 # ===============================================================
57 # Local definitions
58 # ===============================================================
59 #
60
61 # This local variable defines the list of CPPFLAGS common to all target in this package.
62 COMMON_CPPFLAGS=\
63         @BOOST_CPPFLAGS@ \
64         -I$(srcdir)/../HDFPersist \
65         @HDF5_INCLUDES@ \
66         -I$(srcdir)/../Basics \
67         -I$(srcdir)/../SALOMELocalTrace \
68         -I$(srcdir)/../Utils \
69         -I$(srcdir)/../DF \
70         -I$(srcdir)/../SALOMEDSImpl \
71         -I$(srcdir)/../NamingService \
72         -I$(srcdir)/../GenericObj \
73         -I$(srcdir)/../SALOMEDSClient \
74         -I$(srcdir)/../LifeCycleCORBA \
75         -I$(top_builddir)/idl \
76         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
77
78 # This local variable defines the list of dependant libraries common to all target in this package.
79 COMMON_LIBS =\
80         ../NamingService/libSalomeNS.la \
81         ../Utils/libOpUtil.la \
82         ../SALOMELocalTrace/libSALOMELocalTrace.la \
83         ../Basics/libSALOMEBasics.la \
84         ../HDFPersist/libSalomeHDFPersist.la \
85         ../DF/libDF.la \
86         ../SALOMEDSImpl/libSalomeDSImpl.la \
87         ../GenericObj/libSalomeGenericObj.la \
88         ../LifeCycleCORBA/libSalomeLifeCycleCORBA.la \
89         $(top_builddir)/idl/libSalomeIDLKernel.la\
90         @HDF5_LIBS@ 
91
92
93 #LDFLAGS+=  -lSalomeGenericObj -lSalomeLifeCycleCORBA
94
95 #
96 # ===============================================================
97 # Libraries targets
98 # ===============================================================
99 #
100 lib_LTLIBRARIES = libSalomeDS.la
101 libSalomeDS_la_SOURCES =        \
102         SALOMEDS.cxx \
103         SALOMEDS_Driver_i.cxx \
104         SALOMEDS_StudyManager_i.cxx \
105         SALOMEDS_UseCaseBuilder_i.cxx \
106         SALOMEDS_UseCaseIterator_i.cxx \
107         SALOMEDS_ChildIterator_i.cxx \
108         SALOMEDS_SComponentIterator_i.cxx \
109         SALOMEDS_Study_i.cxx \
110         SALOMEDS_StudyBuilder_i.cxx \
111         SALOMEDS_SObject_i.cxx \
112         SALOMEDS_SComponent_i.cxx \
113         SALOMEDS_GenericAttribute_i.cxx \
114         SALOMEDS_AttributeComment_i.cxx \
115         SALOMEDS_AttributeExternalFileDef_i.cxx \
116         SALOMEDS_AttributeFileType_i.cxx \
117         SALOMEDS_AttributeIOR_i.cxx \
118         SALOMEDS_AttributeInteger_i.cxx \
119         SALOMEDS_AttributeName_i.cxx \
120         SALOMEDS_AttributePersistentRef_i.cxx \
121         SALOMEDS_AttributeReal_i.cxx \
122         SALOMEDS_AttributeSequenceOfReal_i.cxx \
123         SALOMEDS_AttributeSequenceOfInteger_i.cxx \
124         SALOMEDS_AttributeDrawable_i.cxx \
125         SALOMEDS_AttributeSelectable_i.cxx \
126         SALOMEDS_AttributeOpened_i.cxx \
127         SALOMEDS_AttributeFlags_i.cxx \
128         SALOMEDS_AttributeGraphic_i.cxx \
129         SALOMEDS_AttributeExpandable_i.cxx \
130         SALOMEDS_AttributeTextColor_i.cxx  \
131         SALOMEDS_AttributeTextHighlightColor_i.cxx  \
132         SALOMEDS_AttributePixMap_i.cxx  \
133         SALOMEDS_AttributeTreeNode_i.cxx \
134         SALOMEDS_AttributeLocalID_i.cxx \
135         SALOMEDS_AttributeUserID_i.cxx \
136         SALOMEDS_AttributeTarget_i.cxx \
137         SALOMEDS_AttributeTableOfInteger_i.cxx \
138         SALOMEDS_AttributeTableOfReal_i.cxx \
139         SALOMEDS_AttributeTableOfString_i.cxx \
140         SALOMEDS_AttributeStudyProperties_i.cxx \
141         SALOMEDS_AttributePythonObject_i.cxx \
142         SALOMEDS_AttributeParameter_i.cxx \
143         SALOMEDS_AttributeString_i.cxx \
144         SALOMEDS_SObject.cxx \
145         SALOMEDS_SComponent.cxx \
146         SALOMEDS_GenericAttribute.cxx \
147         SALOMEDS_ChildIterator.cxx \
148         SALOMEDS_SComponentIterator.cxx \
149         SALOMEDS_UseCaseIterator.cxx \
150         SALOMEDS_UseCaseBuilder.cxx \
151         SALOMEDS_StudyBuilder.cxx \
152         SALOMEDS_Study.cxx \
153         SALOMEDS_StudyManager.cxx \
154         SALOMEDS_AttributeStudyProperties.cxx \
155         SALOMEDS_AttributeComment.cxx \
156         SALOMEDS_AttributeDrawable.cxx \
157         SALOMEDS_AttributeExpandable.cxx \
158         SALOMEDS_AttributeExternalFileDef.cxx \
159         SALOMEDS_AttributeFileType.cxx \
160         SALOMEDS_AttributeFlags.cxx \
161         SALOMEDS_AttributeGraphic.cxx \
162         SALOMEDS_AttributeIOR.cxx \
163         SALOMEDS_AttributeInteger.cxx \
164         SALOMEDS_AttributeLocalID.cxx \
165         SALOMEDS_AttributeName.cxx \
166         SALOMEDS_AttributeOpened.cxx \
167         SALOMEDS_AttributePythonObject.cxx \
168         SALOMEDS_AttributeReal.cxx \
169         SALOMEDS_AttributeSelectable.cxx \
170         SALOMEDS_AttributeSequenceOfInteger.cxx \
171         SALOMEDS_AttributePersistentRef.cxx \
172         SALOMEDS_AttributePixMap.cxx \
173         SALOMEDS_AttributeSequenceOfReal.cxx \
174         SALOMEDS_AttributeTableOfInteger.cxx \
175         SALOMEDS_AttributeTableOfReal.cxx \
176         SALOMEDS_AttributeTableOfString.cxx \
177         SALOMEDS_AttributeTarget.cxx \
178         SALOMEDS_AttributeTextColor.cxx \
179         SALOMEDS_AttributeTextHighlightColor.cxx \
180         SALOMEDS_AttributeTreeNode.cxx \
181         SALOMEDS_AttributeUserID.cxx \
182         SALOMEDS_TMPFile_i.cxx \
183         SALOMEDS_AttributeParameter.cxx \
184         SALOMEDS_AttributeString.cxx \
185         SALOMEDS_IParameters.cxx \
186         SALOMEDS_AttLong_i.hxx \
187         SALOMEDS_AttReal_i.hxx \
188         SALOMEDS_AttributeComment.hxx \
189         SALOMEDS_AttributeComment_i.hxx \
190         SALOMEDS_AttributeDrawable.hxx \
191         SALOMEDS_AttributeDrawable_i.hxx \
192         SALOMEDS_AttributeExpandable.hxx \
193         SALOMEDS_AttributeExpandable_i.hxx \
194         SALOMEDS_AttributeExternalFileDef.hxx \
195         SALOMEDS_AttributeExternalFileDef_i.hxx \
196         SALOMEDS_AttributeFileType.hxx \
197         SALOMEDS_AttributeFileType_i.hxx \
198         SALOMEDS_AttributeFlags.hxx \
199         SALOMEDS_AttributeFlags_i.hxx \
200         SALOMEDS_AttributeGraphic.hxx \
201         SALOMEDS_AttributeGraphic_i.hxx \
202         SALOMEDS_AttributeInteger.hxx \
203         SALOMEDS_AttributeInteger_i.hxx \
204         SALOMEDS_AttributeIOR.hxx \
205         SALOMEDS_AttributeIOR_i.hxx \
206         SALOMEDS_AttributeLocalID.hxx \
207         SALOMEDS_AttributeLocalID_i.hxx \
208         SALOMEDS_AttributeName.hxx \
209         SALOMEDS_AttributeName_i.hxx \
210         SALOMEDS_AttributeOpened.hxx \
211         SALOMEDS_AttributeOpened_i.hxx \
212         SALOMEDS_AttributePersistentRef.hxx \
213         SALOMEDS_AttributePersistentRef_i.hxx \
214         SALOMEDS_AttributePixMap.hxx \
215         SALOMEDS_AttributePixMap_i.hxx \
216         SALOMEDS_AttributePythonObject.hxx \
217         SALOMEDS_AttributePythonObject_i.hxx \
218         SALOMEDS_AttributeReal.hxx \
219         SALOMEDS_AttributeReal_i.hxx \
220         SALOMEDS_AttributeSelectable.hxx \
221         SALOMEDS_AttributeSelectable_i.hxx \
222         SALOMEDS_AttributeSequenceOfInteger.hxx \
223         SALOMEDS_AttributeSequenceOfInteger_i.hxx \
224         SALOMEDS_AttributeSequenceOfReal.hxx \
225         SALOMEDS_AttributeSequenceOfReal_i.hxx \
226         SALOMEDS_Attributes.hxx \
227         SALOMEDS_AttributeStudyProperties.hxx \
228         SALOMEDS_AttributeStudyProperties_i.hxx \
229         SALOMEDS_AttributeTableOfInteger.hxx \
230         SALOMEDS_AttributeTableOfInteger_i.hxx \
231         SALOMEDS_AttributeTableOfReal.hxx \
232         SALOMEDS_AttributeTableOfReal_i.hxx \
233         SALOMEDS_AttributeTableOfString.hxx \
234         SALOMEDS_AttributeTableOfString_i.hxx \
235         SALOMEDS_AttributeTarget.hxx \
236         SALOMEDS_AttributeTarget_i.hxx \
237         SALOMEDS_AttributeTextColor.hxx \
238         SALOMEDS_AttributeTextColor_i.hxx \
239         SALOMEDS_AttributeTextHighlightColor.hxx \
240         SALOMEDS_AttributeTextHighlightColor_i.hxx \
241         SALOMEDS_AttributeTreeNode.hxx \
242         SALOMEDS_AttributeTreeNode_i.hxx \
243         SALOMEDS_AttributeUserID.hxx \
244         SALOMEDS_AttributeUserID_i.hxx \
245         SALOMEDS_BasicAttributeFactory.hxx \
246         SALOMEDS_BasicAttribute_i.hxx \
247         SALOMEDS_Callback_i.hxx \
248         SALOMEDS_ChildIterator.hxx \
249         SALOMEDS_ChildIterator_i.hxx \
250         SALOMEDS_ClientAttributes.hxx \
251         SALOMEDS_Driver_i.hxx \
252         SALOMEDS_GenericAttribute.hxx \
253         SALOMEDS_GenericAttribute_i.hxx \
254         SALOMEDS.hxx \
255         SALOMEDS_SComponent.hxx \
256         SALOMEDS_SComponent_i.hxx \
257         SALOMEDS_SComponentIterator.hxx \
258         SALOMEDS_SComponentIterator_i.hxx \
259         SALOMEDS_SObject.hxx \
260         SALOMEDS_SObject_i.hxx \
261         SALOMEDS_StudyBuilder.hxx \
262         SALOMEDS_StudyBuilder_i.hxx \
263         SALOMEDS_Study.hxx \
264         SALOMEDS_Study_i.hxx \
265         SALOMEDS_StudyManager.hxx \
266         SALOMEDS_StudyManager_i.hxx \
267         SALOMEDS_UseCaseBuilder.hxx \
268         SALOMEDS_UseCaseBuilder_i.hxx \
269         SALOMEDS_UseCaseIterator.hxx \
270         SALOMEDS_UseCaseIterator_i.hxx \
271         SALOMEDS_AttributeParameter.hxx \
272         SALOMEDS_AttributeParameter_i.hxx \
273         SALOMEDS_AttributeString.hxx \
274         SALOMEDS_AttributeString_i.hxx \
275         SALOMEDS_TMPFile_i.hxx
276
277 libSalomeDS_la_CPPFLAGS = $(COMMON_CPPFLAGS)
278 libSalomeDS_la_LDFLAGS  = -Wl,-E -no-undefined -version-info=0:0:0 @LDEXPDYNFLAGS@
279 libSalomeDS_la_LIBADD    = $(COMMON_LIBS)
280
281 #
282 # ===============================================================
283 # Executables targets
284 # ===============================================================
285 #
286 bin_PROGRAMS = SALOMEDS_Server SALOMEDS_Client
287
288 SALOMEDS_Server_SOURCES  = SALOMEDS_Server.cxx
289 SALOMEDS_Server_CPPFLAGS = $(COMMON_CPPFLAGS)
290 SALOMEDS_Server_LDADD    = libSalomeDS.la \
291         $(COMMON_LIBS) \
292         ../Basics/libSALOMEBasics.la \
293         $(HDF5_LIBS) \
294         $(CORBA_LIBS)
295
296 SALOMEDS_Client_SOURCES  = SALOMEDS_Client.cxx
297 SALOMEDS_Client_CPPFLAGS = $(COMMON_CPPFLAGS)
298 SALOMEDS_Client_LDADD    = libSalomeDS.la \
299         $(COMMON_LIBS) \
300         ../Basics/libSALOMEBasics.la \
301         $(HDF5_LIBS) \
302         $(CORBA_LIBS)