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