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