]> SALOME platform Git repositories - modules/kernel.git/blob - src/SALOMEDS/Test/Makefile.am
Salome HOME
PR: merge from branch BR_auto_V310 tag mergefrom_OCC_development_for_3_2_0a2_10mar06
[modules/kernel.git] / src / SALOMEDS / Test / Makefile.am
1 #
2 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
3 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
4
5 #  This library is free software; you can redistribute it and/or 
6 #  modify it under the terms of the GNU Lesser General Public 
7 #  License as published by the Free Software Foundation; either 
8 #  version 2.1 of the License. 
9
10 #  This library is distributed in the hope that it will be useful, 
11 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
12 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13 #  Lesser General Public License for more details. 
14
15 #  You should have received a copy of the GNU Lesser General Public 
16 #  License along with this library; if not, write to the Free Software 
17 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
18
19 #  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
20 #
21 #
22 #
23 #  File   : Makefile.am
24 #  Author : Paul RASCLE
25 #  Module : KERNEL
26 #  $Header$
27
28 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
29
30 #
31 # ===============================================================
32 # Files to be installed
33 # ===============================================================
34 #
35 # header files  
36 salomeinclude_HEADERS= SALOMEDSTest.hxx
37
38 # Scripts to be installed
39 dist_salomescript_SCRIPTS = TestSALOMEDS.py
40
41 #
42 # ===============================================================
43 # Local definitions
44 # ===============================================================
45 #
46
47 # This directory defines the subdirectory src in the top source directory.
48 RPATH=../..
49
50 # This local variable defines the list of CPPFLAGS common to all target in this package.
51 COMMON_CPPFLAGS=\
52         @CPPUNIT_INCLUDES@ \
53         -I$(srcdir)/$(RPATH)/Basics               -I$(srcdir)/$(RPATH)/Basics/Test \
54         -I$(srcdir)/$(RPATH)/SALOMELocalTrace     -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test \
55         -I$(srcdir)/$(RPATH)/SALOMETraceCollector -I$(srcdir)/$(RPATH)/SALOMETraceCollector/Test \
56         -I$(srcdir)/$(RPATH)/NamingService        -I$(srcdir)/$(RPATH)/NamingService/Test \
57         -I$(srcdir)/$(RPATH)/Utils                -I$(srcdir)/$(RPATH)/Utils/Test \
58         -I$(srcdir)/$(RPATH)/ResourcesManager \
59         -I$(srcdir)/$(RPATH)/LifeCycleCORBA \
60         -I$(srcdir)/$(RPATH)/SALOMEDSClient \
61         -I$(srcdir)/$(RPATH)/SALOMEDSImpl         -I$(srcdir)/$(RPATH)/SALOMEDSImpl/Test \
62         -I$(top_builddir)/salome_adm/unix \
63         -I$(top_builddir)/idl \
64         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
65         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
66
67 # This local variable defines the list of dependant libraries common to all target in this package.
68 COMMON_LIBS =\
69         @CPPUNIT_LIBS@ \
70         $(RPATH)/Basics/libSALOMEBasics.la \
71         $(RPATH)/ResourcesManager/libSalomeResourcesManager.la \
72         $(RPATH)/Container/libSalomeContainer.la \
73         $(RPATH)/NamingService/libSalomeNS.la \
74         $(RPATH)/Registry/libRegistry.la \
75         $(RPATH)/Notification/libSalomeNotification.la \
76         $(RPATH)/Utils/Test/libUtilsTest.la \
77         $(RPATH)/Utils/libOpUtil.la \
78         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la \
79         $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
80         $(RPATH)/SALOMETraceCollector/Test/libSALOMETraceCollectorTest.la \
81         $(RPATH)/SALOMEDSImpl/Test/libSALOMEDSImplTest.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 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 #
99 # ===============================================================
100 # Executables targets
101 # ===============================================================
102 #
103 bin_PROGRAMS = TestSALOMEDS
104 TestSALOMEDS_SOURCES  = TestSALOMEDS.cxx
105 TestSALOMEDS_CPPFLAGS = $(COMMON_CPPFLAGS)
106 TestSALOMEDS_LDADD    = \
107         libSALOMEDSTest.la ../libSalomeDS.la \
108         $(RPATH)/NamingService/Test/libNamingServiceTest.la \
109         $(COMMON_LIBS)
110