]> SALOME platform Git repositories - modules/kernel.git/blob - src/Utils/Test/Makefile.am
Salome HOME
Merge from V6_main 01/04/2013
[modules/kernel.git] / src / Utils / Test / Makefile.am
1 # Copyright (C) 2007-2013  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
23 ####################################### library
24 #  SALOMELocalTrace : log on local machine
25 #  File   : Makefile.am
26 #  Author : Guillaume Boulant (CSSI)
27 #  Module : KERNEL
28 #  $Header$
29 #
30 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
31
32 #
33 # ===============================================================
34 # Files to be installed
35 # ===============================================================
36 #
37 # header files  
38 salomeinclude_HEADERS= UtilsTest.hxx
39
40 # Scripts to be installed
41 dist_salomescript_PYTHON = TestUtils.py
42
43
44 #
45 # ===============================================================
46 # Local definitions
47 # ===============================================================
48 #
49 # This directory defines the subdirectory src in the top source directory.
50 RPATH=../..
51
52 # This local variable defines the list of CPPFLAGS common to all target in this package.
53 COMMON_CPPFLAGS=\
54         @CPPUNIT_INCLUDES@ \
55         -I$(srcdir)/$(RPATH)/Basics -I$(srcdir)/$(RPATH)/Basics/Test \
56         -I$(srcdir)/$(RPATH)/SALOMELocalTrace -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test \
57         -I$(srcdir)/$(RPATH)/SALOMETraceCollector -I$(srcdir)/$(RPATH)/SALOMETraceCollector/Test \
58         -I$(srcdir)/$(RPATH)/Utils -I$(srcdir)/$(RPATH)/Utils/Test
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         $(RPATH)/Utils/libOpUtil.la \
64         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
65         $(RPATH)/SALOMETraceCollector/Test/libSALOMETraceCollectorTest.la \
66         $(RPATH)/Basics/libSALOMEBasics.la
67 #
68 # ===============================================================
69 # Libraries targets
70 # ===============================================================
71 #
72 lib_LTLIBRARIES = libUtilsTest.la 
73 libUtilsTest_la_SOURCES = UtilsTest.cxx
74 libUtilsTest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
75 libUtilsTest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
76 libUtilsTest_la_LIBADD    = $(COMMON_LIBS)
77
78 #
79 # ===============================================================
80 # Executables targets
81 # ===============================================================
82 #
83 bin_PROGRAMS = TestUtils
84 TestUtils_SOURCES  = TestUtils.cxx
85 TestUtils_CPPFLAGS = $(COMMON_CPPFLAGS)
86 TestUtils_LDADD    = libUtilsTest.la $(COMMON_LIBS) $(CORBA_LIBS)