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