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