Salome HOME
Merge from V5_1_3_BR 07/12/2009
[modules/kernel.git] / src / NamingService / 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 #  SALOMELocalTrace : log on local machine
23 #  File   : Makefile.am
24 #  Author : Guillaume BOULANT (CSSI)
25 #  Module : SALOME
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= NamingServiceTest.hxx
37
38 # Scripts to be installed
39 dist_salomescript_PYTHON = TestNamingService.py
40
41
42 #
43 # ===============================================================
44 # Local definitions
45 # ===============================================================
46 #
47
48 # This directory defines the subdirectory src in the top source directory.
49 RPATH=../..
50
51 # This local variable defines the list of CPPFLAGS common to all target in this package.
52 COMMON_CPPFLAGS=\
53         @CPPUNIT_INCLUDES@ -I$(srcdir)/$(RPATH)/NamingService \
54         -I$(srcdir)/$(RPATH)/Basics \
55         -I$(srcdir)/$(RPATH)/SALOMELocalTrace \
56         -I$(srcdir)/$(RPATH)/Utils \
57         -I$(top_builddir)/idl \
58         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
59
60 # This local variable defines the list of dependant libraries common to all target in this package.
61 COMMON_LIBS =\
62         @CPPUNIT_LIBS@ \
63         ../libSalomeNS.la
64
65 #
66 # ===============================================================
67 # Libraries targets
68 # ===============================================================
69 #
70 lib_LTLIBRARIES = libNamingServiceTest.la
71 libNamingServiceTest_la_SOURCES = NamingServiceTest.cxx
72 libNamingServiceTest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
73 libNamingServiceTest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
74 libNamingServiceTest_la_LIBADD   = $(COMMON_LIBS)
75
76
77 #
78 # ===============================================================
79 # Executables targets
80 # ===============================================================
81 #
82 bin_PROGRAMS = TestNamingService
83 TestNamingService_SOURCES  = TestNamingService.cxx
84 TestNamingService_CPPFLAGS = \
85         $(COMMON_CPPFLAGS) \
86         -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test \
87         -I$(srcdir)/$(RPATH)/SALOMETraceCollector/Test \
88         -I$(srcdir)/$(RPATH)/Utils/Test \
89         -I$(srcdir)/$(RPATH)/Basics/Test
90
91
92 TestNamingService_LDADD    = \
93         libNamingServiceTest.la ../libSalomeNS.la \
94         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
95         $(RPATH)/SALOMETraceCollector/Test/libSALOMETraceCollectorTest.la \
96         $(RPATH)/Utils/Test/libUtilsTest.la $(RPATH)/Utils/libOpUtil.la \
97         $(RPATH)/Basics/libSALOMEBasics.la \
98         $(top_builddir)/idl/libSalomeIDLKernel.la