Salome HOME
CCAR: add a check to see if the CORBA object exists (non_existent())
[modules/kernel.git] / src / SALOMEDSImpl / Makefile.am
1 #  Copyright (C) 2007-2008  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 #  File   : Makefile.am
23 #  Author : Guillaume Boulant (CSSI)
24 #  Module : KERNEL
25 #
26 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
27
28 #
29 # ===============================================================
30 # Files to be installed
31 # ===============================================================
32 #
33 # header files  
34 salomeinclude_HEADERS= \
35         SALOMEDSImpl_Attributes.hxx \
36         SALOMEDSImpl_SObject.hxx \
37         SALOMEDSImpl_SComponent.hxx \
38         SALOMEDSImpl_Driver.hxx \
39         SALOMEDSImpl_Callback.hxx \
40         SALOMEDSImpl_ChildIterator.hxx \
41         SALOMEDSImpl_GenericAttribute.hxx \
42         SALOMEDSImpl_AttributeIOR.hxx \
43         SALOMEDSImpl_AttributeExternalFileDef.hxx \
44         SALOMEDSImpl_AttributeFileType.hxx \
45         SALOMEDSImpl_AttributePersistentRef.hxx \
46         SALOMEDSImpl_AttributeSequenceOfReal.hxx \
47         SALOMEDSImpl_AttributeSequenceOfInteger.hxx \
48         SALOMEDSImpl_AttributeDrawable.hxx \
49         SALOMEDSImpl_AttributeSelectable.hxx \
50         SALOMEDSImpl_AttributeExpandable.hxx  \
51         SALOMEDSImpl_AttributeOpened.hxx \
52         SALOMEDSImpl_AttributeFlags.hxx \
53         SALOMEDSImpl_AttributeGraphic.hxx \
54         SALOMEDSImpl_AttributeTextColor.hxx \
55         SALOMEDSImpl_AttributeTextHighlightColor.hxx \
56         SALOMEDSImpl_AttributePixMap.hxx \
57         SALOMEDSImpl_AttributeLocalID.hxx \
58         SALOMEDSImpl_AttributeTarget.hxx \
59         SALOMEDSImpl_AttributeTableOfInteger.hxx \
60         SALOMEDSImpl_AttributeTableOfReal.hxx \
61         SALOMEDSImpl_AttributeTableOfString.hxx \
62         SALOMEDSImpl_AttributeStudyProperties.hxx \
63         SALOMEDSImpl_AttributePythonObject.hxx \
64         SALOMEDSImpl_AttributeReal.hxx \
65         SALOMEDSImpl_AttributeInteger.hxx \
66         SALOMEDSImpl_AttributeUserID.hxx \
67         SALOMEDSImpl_AttributeTreeNode.hxx \
68         SALOMEDSImpl_AttributeName.hxx \
69         SALOMEDSImpl_AttributeComment.hxx \
70         SALOMEDSImpl_AttributeReference.hxx \
71         SALOMEDSImpl_AttributeParameter.hxx \
72         SALOMEDSImpl_AttributeString.hxx \
73         SALOMEDSImpl_UseCaseBuilder.hxx \
74         SALOMEDSImpl_UseCaseIterator.hxx \
75         SALOMEDSImpl_SComponentIterator.hxx \
76         SALOMEDSImpl_StudyBuilder.hxx \
77         SALOMEDSImpl_Study.hxx \
78         SALOMEDSImpl_StudyManager.hxx \
79         SALOMEDSImpl_ChildNodeIterator.hxx \
80         SALOMEDSImpl_Defines.hxx \
81         SALOMEDSImpl_IParameters.hxx \
82         SALOMEDSImpl_TMPFile.hxx \
83         SALOMEDSImpl_GenericVariable.hxx \
84         SALOMEDSImpl_ScalarVariable.hxx
85
86 #
87 # ===============================================================
88 # Local definitions
89 # ===============================================================
90 #
91
92 # This local variable defines the list of CPPFLAGS common to all target in this package.
93 COMMON_CPPFLAGS=\
94         -I$(srcdir)/../Basics \
95         -I$(srcdir)/../SALOMELocalTrace \
96         -I$(srcdir)/../HDFPersist \
97         -I$(srcdir)/../DF \
98     -I$(srcdir)/../GenericObj \
99     -I$(top_builddir)/idl \
100         @HDF5_INCLUDES@ \
101         @BOOST_CPPFLAGS@ @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
102
103 # This local variable defines the list of dependant libraries common to all target in this package.
104 COMMON_LIBS =\
105         ../HDFPersist/libSalomeHDFPersist.la \
106         ../DF/libDF.la \
107     ../GenericObj/libSalomeGenericObj.la \
108         @HDF5_LIBS@ 
109
110
111 #
112 # ===============================================================
113 # Libraries targets
114 # ===============================================================
115 #
116 lib_LTLIBRARIES = libSalomeDSImpl.la
117 libSalomeDSImpl_la_SOURCES =\
118         SALOMEDSImpl_Tool.cxx \
119         SALOMEDSImpl_Callback.cxx \
120         SALOMEDSImpl_StudyHandle.cxx \
121         SALOMEDSImpl_GenericAttribute.cxx \
122         SALOMEDSImpl_SObject.cxx \
123         SALOMEDSImpl_SComponent.cxx \
124         SALOMEDSImpl_ChildIterator.cxx \
125         SALOMEDSImpl_AttributeIOR.cxx \
126         SALOMEDSImpl_AttributeExternalFileDef.cxx \
127         SALOMEDSImpl_AttributeFileType.cxx \
128         SALOMEDSImpl_AttributePersistentRef.cxx \
129         SALOMEDSImpl_AttributeSequenceOfReal.cxx \
130         SALOMEDSImpl_AttributeSequenceOfInteger.cxx \
131         SALOMEDSImpl_AttributeDrawable.cxx \
132         SALOMEDSImpl_AttributeSelectable.cxx \
133         SALOMEDSImpl_AttributeExpandable.cxx  \
134         SALOMEDSImpl_AttributeOpened.cxx \
135         SALOMEDSImpl_AttributeFlags.cxx \
136         SALOMEDSImpl_AttributeGraphic.cxx \
137         SALOMEDSImpl_AttributeTextColor.cxx \
138         SALOMEDSImpl_AttributeTextHighlightColor.cxx \
139         SALOMEDSImpl_AttributePixMap.cxx \
140         SALOMEDSImpl_AttributeLocalID.cxx \
141         SALOMEDSImpl_AttributeTarget.cxx \
142         SALOMEDSImpl_AttributeTableOfInteger.cxx \
143         SALOMEDSImpl_AttributeTableOfReal.cxx \
144         SALOMEDSImpl_AttributeTableOfString.cxx \
145         SALOMEDSImpl_AttributeStudyProperties.cxx \
146         SALOMEDSImpl_AttributePythonObject.cxx \
147         SALOMEDSImpl_AttributeReal.cxx \
148         SALOMEDSImpl_AttributeInteger.cxx \
149         SALOMEDSImpl_AttributeUserID.cxx \
150         SALOMEDSImpl_AttributeTreeNode.cxx \
151         SALOMEDSImpl_AttributeName.cxx \
152         SALOMEDSImpl_AttributeComment.cxx \
153         SALOMEDSImpl_AttributeReference.cxx \
154         SALOMEDSImpl_AttributeParameter.cxx \
155         SALOMEDSImpl_AttributeString.cxx \
156         SALOMEDSImpl_ChildNodeIterator.cxx \
157         SALOMEDSImpl_UseCaseBuilder.cxx \
158         SALOMEDSImpl_UseCaseIterator.cxx \
159         SALOMEDSImpl_SComponentIterator.cxx \
160         SALOMEDSImpl_StudyBuilder.cxx \
161         SALOMEDSImpl_Study.cxx \
162         SALOMEDSImpl_StudyManager.cxx \
163         SALOMEDSImpl_IParameters.cxx \
164         SALOMEDSImpl_TMPFile.cxx \
165         SALOMEDSImpl_GenericVariable.cxx \
166         SALOMEDSImpl_ScalarVariable.cxx \
167         \
168         SALOMEDSImpl_AttributeComment.hxx \
169         SALOMEDSImpl_AttributeDrawable.hxx \
170         SALOMEDSImpl_AttributeExpandable.hxx \
171         SALOMEDSImpl_AttributeExternalFileDef.hxx \
172         SALOMEDSImpl_AttributeFileType.hxx \
173         SALOMEDSImpl_AttributeFlags.hxx \
174         SALOMEDSImpl_AttributeGraphic.hxx \
175         SALOMEDSImpl_AttributeInteger.hxx \
176         SALOMEDSImpl_AttributeIOR.hxx \
177         SALOMEDSImpl_AttributeLocalID.hxx \
178         SALOMEDSImpl_AttributeName.hxx \
179         SALOMEDSImpl_AttributeOpened.hxx \
180         SALOMEDSImpl_AttributePersistentRef.hxx \
181         SALOMEDSImpl_AttributePixMap.hxx \
182         SALOMEDSImpl_AttributePythonObject.hxx \
183         SALOMEDSImpl_AttributeReal.hxx \
184         SALOMEDSImpl_AttributeReference.hxx \
185         SALOMEDSImpl_AttributeSelectable.hxx \
186         SALOMEDSImpl_AttributeSequenceOfInteger.hxx \
187         SALOMEDSImpl_AttributeSequenceOfReal.hxx \
188         SALOMEDSImpl_Attributes.hxx \
189         SALOMEDSImpl_AttributeStudyProperties.hxx \
190         SALOMEDSImpl_AttributeTableOfInteger.hxx \
191         SALOMEDSImpl_AttributeTableOfReal.hxx \
192         SALOMEDSImpl_AttributeTableOfString.hxx \
193         SALOMEDSImpl_AttributeTarget.hxx \
194         SALOMEDSImpl_AttributeTextColor.hxx \
195         SALOMEDSImpl_AttributeTextHighlightColor.hxx \
196         SALOMEDSImpl_AttributeTreeNode.hxx \
197         SALOMEDSImpl_AttributeUserID.hxx \
198         SALOMEDSImpl_AttributeParameter.hxx \
199         SALOMEDSImpl_AttributeString.hxx \
200         SALOMEDSImpl_Callback.hxx \
201         SALOMEDSImpl_ChildIterator.hxx \
202         SALOMEDSImpl_ChildNodeIterator.hxx \
203         SALOMEDSImpl_Defines.hxx \
204         SALOMEDSImpl_Driver.hxx \
205         SALOMEDSImpl_GenericAttribute.hxx \
206         SALOMEDSImpl_SComponent.hxx \
207         SALOMEDSImpl_SComponentIterator.hxx \
208         SALOMEDSImpl_SObject.hxx \
209         SALOMEDSImpl_StudyBuilder.hxx \
210         SALOMEDSImpl_StudyHandle.hxx \
211         SALOMEDSImpl_Study.hxx \
212         SALOMEDSImpl_StudyManager.hxx \
213         SALOMEDSImpl_Tool.hxx \
214         SALOMEDSImpl_UseCaseBuilder.hxx \
215         SALOMEDSImpl_UseCaseIterator.hxx \
216         SALOMEDSImpl_GenericVariable.hxx \
217         SALOMEDSImpl_ScalarVariable.hxx
218
219 libSalomeDSImpl_la_CPPFLAGS = $(COMMON_CPPFLAGS)
220 libSalomeDSImpl_la_LDFLAGS  = -no-undefined -version-info=0:0:0
221 libSalomeDSImpl_la_LIBADD    = $(COMMON_LIBS) $(CORBA_LIBS)
222
223 #
224 # ===============================================================
225 # Executables targets
226 # ===============================================================
227 #
228 bin_PROGRAMS = testDS
229 testDS_SOURCES  = testDS.cxx
230 testDS_CPPFLAGS = $(COMMON_CPPFLAGS)
231 testDS_LDADD    = libSalomeDSImpl.la \
232         $(HDF5_LIBS) $(CORBA_LIBS)