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