Salome HOME
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
[modules/kernel.git] / src / SALOMEDS / Test / 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 : Paul RASCLE
24 #  Module : KERNEL
25 #  $Header$
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= SALOMEDSTest.hxx
36
37 # Scripts to be installed
38 dist_salomescript_PYTHON = TestSALOMEDS.py
39
40 #
41 # ===============================================================
42 # Local definitions
43 # ===============================================================
44 #
45
46 # This directory defines the subdirectory src in the top source directory.
47 RPATH=../..
48
49 # This local variable defines the list of CPPFLAGS common to all target in this package.
50 COMMON_CPPFLAGS=\
51         @CPPUNIT_INCLUDES@ \
52         -I$(srcdir)/$(RPATH)/Basics               -I$(srcdir)/$(RPATH)/Basics/Test \
53         -I$(srcdir)/$(RPATH)/SALOMELocalTrace     -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test \
54         -I$(srcdir)/$(RPATH)/SALOMETraceCollector -I$(srcdir)/$(RPATH)/SALOMETraceCollector/Test \
55         -I$(srcdir)/$(RPATH)/NamingService        -I$(srcdir)/$(RPATH)/NamingService/Test \
56         -I$(srcdir)/$(RPATH)/Utils                -I$(srcdir)/$(RPATH)/Utils/Test \
57         -I$(srcdir)/$(RPATH)/ResourcesManager \
58         -I$(srcdir)/$(RPATH)/LifeCycleCORBA \
59         -I$(srcdir)/$(RPATH)/SALOMEDS \
60         -I$(srcdir)/$(RPATH)/SALOMEDSClient \
61         -I$(srcdir)/$(RPATH)/DF \
62         -I$(srcdir)/$(RPATH)/SALOMEDSImpl  -I$(srcdir)/$(RPATH)/SALOMEDSImpl/Test \
63         -I$(top_builddir)/idl \
64         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @BOOST_CPPFLAGS@
65
66 # This local variable defines the list of dependant libraries common to all target in this package.
67 COMMON_LIBS =\
68         @CPPUNIT_LIBS@ \
69         $(RPATH)/Basics/libSALOMEBasics.la \
70         $(RPATH)/ResourcesManager/libSalomeResourcesManager.la \
71         $(RPATH)/Container/libSalomeContainer.la \
72         $(RPATH)/NamingService/libSalomeNS.la \
73         $(RPATH)/Registry/libRegistry.la \
74         $(RPATH)/Notification/libSalomeNotification.la \
75         $(RPATH)/Utils/Test/libUtilsTest.la \
76         $(RPATH)/Utils/libOpUtil.la \
77         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la \
78         $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
79         $(RPATH)/SALOMETraceCollector/Test/libSALOMETraceCollectorTest.la \
80         $(RPATH)/SALOMEDSImpl/Test/libSALOMEDSImplTest.la \
81         $(RPATH)/DF/libDF.la \
82         $(RPATH)/SALOMEDSImpl/libSalomeDSImpl.la \
83         $(RPATH)/SALOMEDSClient/libSalomeDSClient.la \
84         $(RPATH)/SALOMEDS/libSalomeDS.la \
85         $(top_builddir)/idl/libSalomeIDLKernel.la
86
87 #
88 # ===============================================================
89 # Libraries targets
90 # ===============================================================
91 #
92 lib_LTLIBRARIES = libSALOMEDSTest.la 
93 dist_libSALOMEDSTest_la_SOURCES = SALOMEDSTest.cxx
94 libSALOMEDSTest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
95 libSALOMEDSTest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
96 libSALOMEDSTest_la_LIBADD    = $(COMMON_LIBS)
97
98 EXTRA_DIST = \
99         SALOMEDSTest_AttributeComment.cxx \
100         SALOMEDSTest_AttributeDrawable.cxx \
101         SALOMEDSTest_AttributeExpandable.cxx \
102         SALOMEDSTest_AttributeExternalFileDef.cxx \
103         SALOMEDSTest_AttributeFileType.cxx \
104         SALOMEDSTest_AttributeFlags.cxx \
105         SALOMEDSTest_AttributeGraphic.cxx \
106         SALOMEDSTest_AttributeInteger.cxx \
107         SALOMEDSTest_AttributeIOR.cxx \
108         SALOMEDSTest_AttributeLocalID.cxx \
109         SALOMEDSTest_AttributeName.cxx \
110         SALOMEDSTest_AttributeOpened.cxx \
111         SALOMEDSTest_AttributeParameter.cxx \
112         SALOMEDSTest_AttributePersistentRef.cxx \
113         SALOMEDSTest_AttributePixMap.cxx \
114         SALOMEDSTest_AttributePythonObject.cxx \
115         SALOMEDSTest_AttributeReal.cxx \
116         SALOMEDSTest_AttributeSelectable.cxx \
117         SALOMEDSTest_AttributeSequenceOfInteger.cxx \
118         SALOMEDSTest_AttributeSequenceOfReal.cxx \
119         SALOMEDSTest_AttributeStudyProperties.cxx \
120         SALOMEDSTest_AttributeTableOfInteger.cxx \
121         SALOMEDSTest_AttributeTableOfReal.cxx \
122         SALOMEDSTest_AttributeTableOfString.cxx \
123         SALOMEDSTest_AttributeTarget.cxx \
124         SALOMEDSTest_AttributeTextColor.cxx \
125         SALOMEDSTest_AttributeTextHighlightColor.cxx\
126         SALOMEDSTest_AttributeTreeNode.cxx \
127         SALOMEDSTest_AttributeUserID.cxx \
128         SALOMEDSTest_ChildIterator.cxx \
129         SALOMEDSTest_SComponent.cxx \
130         SALOMEDSTest_SComponentIterator.cxx \
131         SALOMEDSTest_SObject.cxx \
132         SALOMEDSTest_StudyBuilder.cxx \
133         SALOMEDSTest_Study.cxx \
134         SALOMEDSTest_StudyManager.cxx \
135         SALOMEDSTest_UseCase.cxx
136
137 #
138 # ===============================================================
139 # Executables targets
140 # ===============================================================
141 #
142 bin_PROGRAMS = TestSALOMEDS
143 dist_TestSALOMEDS_SOURCES  = TestSALOMEDS.cxx
144 TestSALOMEDS_CPPFLAGS = $(COMMON_CPPFLAGS)
145 TestSALOMEDS_LDADD    = libSALOMEDSTest.la \
146                         $(RPATH)/Basics/libSALOMEBasics.la \
147                         $(CORBA_LIBS)