Salome HOME
Merge from V6_main 11/02/2013
[modules/yacs.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$(top_builddir) \
101         @HDF5_INCLUDES@ \
102         @BOOST_CPPFLAGS@
103
104 # This local variable defines the list of dependant libraries common to all target in this package.
105 COMMON_LIBS =\
106         ../Basics/libSALOMEBasics.la \
107         ../HDFPersist/libSalomeHDFPersist.la \
108         ../DF/libDF.la \
109         @HDF5_LIBS@ 
110
111
112 #
113 # ===============================================================
114 # Libraries targets
115 # ===============================================================
116 #
117 lib_LTLIBRARIES = libSalomeDSImpl.la
118 libSalomeDSImpl_la_SOURCES =\
119         SALOMEDSImpl_Tool.cxx \
120         SALOMEDSImpl_Callback.cxx \
121         SALOMEDSImpl_StudyHandle.cxx \
122         SALOMEDSImpl_GenericAttribute.cxx \
123         SALOMEDSImpl_SObject.cxx \
124         SALOMEDSImpl_SComponent.cxx \
125         SALOMEDSImpl_ChildIterator.cxx \
126         SALOMEDSImpl_AttributeIOR.cxx \
127         SALOMEDSImpl_AttributeExternalFileDef.cxx \
128         SALOMEDSImpl_AttributeFileType.cxx \
129         SALOMEDSImpl_AttributePersistentRef.cxx \
130         SALOMEDSImpl_AttributeSequenceOfReal.cxx \
131         SALOMEDSImpl_AttributeSequenceOfInteger.cxx \
132         SALOMEDSImpl_AttributeDrawable.cxx \
133         SALOMEDSImpl_AttributeSelectable.cxx \
134         SALOMEDSImpl_AttributeExpandable.cxx  \
135         SALOMEDSImpl_AttributeOpened.cxx \
136         SALOMEDSImpl_AttributeFlags.cxx \
137         SALOMEDSImpl_AttributeGraphic.cxx \
138         SALOMEDSImpl_AttributeTextColor.cxx \
139         SALOMEDSImpl_AttributeTextHighlightColor.cxx \
140         SALOMEDSImpl_AttributePixMap.cxx \
141         SALOMEDSImpl_AttributeLocalID.cxx \
142         SALOMEDSImpl_AttributeTarget.cxx \
143         SALOMEDSImpl_AttributeTableOfInteger.cxx \
144         SALOMEDSImpl_AttributeTableOfReal.cxx \
145         SALOMEDSImpl_AttributeTableOfString.cxx \
146         SALOMEDSImpl_AttributeStudyProperties.cxx \
147         SALOMEDSImpl_AttributePythonObject.cxx \
148         SALOMEDSImpl_AttributeReal.cxx \
149         SALOMEDSImpl_AttributeInteger.cxx \
150         SALOMEDSImpl_AttributeUserID.cxx \
151         SALOMEDSImpl_AttributeTreeNode.cxx \
152         SALOMEDSImpl_AttributeName.cxx \
153         SALOMEDSImpl_AttributeComment.cxx \
154         SALOMEDSImpl_AttributeReference.cxx \
155         SALOMEDSImpl_AttributeParameter.cxx \
156         SALOMEDSImpl_AttributeString.cxx \
157         SALOMEDSImpl_ChildNodeIterator.cxx \
158         SALOMEDSImpl_UseCaseBuilder.cxx \
159         SALOMEDSImpl_UseCaseIterator.cxx \
160         SALOMEDSImpl_SComponentIterator.cxx \
161         SALOMEDSImpl_StudyBuilder.cxx \
162         SALOMEDSImpl_Study.cxx \
163         SALOMEDSImpl_StudyManager.cxx \
164         SALOMEDSImpl_IParameters.cxx \
165         SALOMEDSImpl_TMPFile.cxx \
166         SALOMEDSImpl_GenericVariable.cxx \
167         SALOMEDSImpl_ScalarVariable.cxx \
168         \
169         SALOMEDSImpl_AttributeComment.hxx \
170         SALOMEDSImpl_AttributeDrawable.hxx \
171         SALOMEDSImpl_AttributeExpandable.hxx \
172         SALOMEDSImpl_AttributeExternalFileDef.hxx \
173         SALOMEDSImpl_AttributeFileType.hxx \
174         SALOMEDSImpl_AttributeFlags.hxx \
175         SALOMEDSImpl_AttributeGraphic.hxx \
176         SALOMEDSImpl_AttributeInteger.hxx \
177         SALOMEDSImpl_AttributeIOR.hxx \
178         SALOMEDSImpl_AttributeLocalID.hxx \
179         SALOMEDSImpl_AttributeName.hxx \
180         SALOMEDSImpl_AttributeOpened.hxx \
181         SALOMEDSImpl_AttributePersistentRef.hxx \
182         SALOMEDSImpl_AttributePixMap.hxx \
183         SALOMEDSImpl_AttributePythonObject.hxx \
184         SALOMEDSImpl_AttributeReal.hxx \
185         SALOMEDSImpl_AttributeReference.hxx \
186         SALOMEDSImpl_AttributeSelectable.hxx \
187         SALOMEDSImpl_AttributeSequenceOfInteger.hxx \
188         SALOMEDSImpl_AttributeSequenceOfReal.hxx \
189         SALOMEDSImpl_Attributes.hxx \
190         SALOMEDSImpl_AttributeStudyProperties.hxx \
191         SALOMEDSImpl_AttributeTable.hxx \
192         SALOMEDSImpl_AttributeTableOfInteger.hxx \
193         SALOMEDSImpl_AttributeTableOfReal.hxx \
194         SALOMEDSImpl_AttributeTableOfString.hxx \
195         SALOMEDSImpl_AttributeTarget.hxx \
196         SALOMEDSImpl_AttributeTextColor.hxx \
197         SALOMEDSImpl_AttributeTextHighlightColor.hxx \
198         SALOMEDSImpl_AttributeTreeNode.hxx \
199         SALOMEDSImpl_AttributeUserID.hxx \
200         SALOMEDSImpl_AttributeParameter.hxx \
201         SALOMEDSImpl_AttributeString.hxx \
202         SALOMEDSImpl_Callback.hxx \
203         SALOMEDSImpl_ChildIterator.hxx \
204         SALOMEDSImpl_ChildNodeIterator.hxx \
205         SALOMEDSImpl_Defines.hxx \
206         SALOMEDSImpl_Driver.hxx \
207         SALOMEDSImpl_GenericAttribute.hxx \
208         SALOMEDSImpl_SComponent.hxx \
209         SALOMEDSImpl_SComponentIterator.hxx \
210         SALOMEDSImpl_SObject.hxx \
211         SALOMEDSImpl_StudyBuilder.hxx \
212         SALOMEDSImpl_StudyHandle.hxx \
213         SALOMEDSImpl_Study.hxx \
214         SALOMEDSImpl_StudyManager.hxx \
215         SALOMEDSImpl_Tool.hxx \
216         SALOMEDSImpl_UseCaseBuilder.hxx \
217         SALOMEDSImpl_UseCaseIterator.hxx \
218         SALOMEDSImpl_GenericVariable.hxx \
219         SALOMEDSImpl_ScalarVariable.hxx
220
221 libSalomeDSImpl_la_CPPFLAGS = $(COMMON_CPPFLAGS)
222 libSalomeDSImpl_la_LDFLAGS  = -no-undefined -version-info=0:0:0
223 libSalomeDSImpl_la_LIBADD   = $(COMMON_LIBS)
224
225 #
226 # ===============================================================
227 # Executables targets
228 # ===============================================================
229 #
230 bin_PROGRAMS    = testDS
231 testDS_SOURCES  = testDS.cxx
232 testDS_CPPFLAGS = $(COMMON_CPPFLAGS)
233 testDS_LDADD    = libSalomeDSImpl.la ../DF/libDF.la $(COMMON_LIBS)