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