Salome HOME
ac0980541343e22633cffdcc333f64a167461772
[modules/kernel.git] / src / SALOMETraceCollector / Test / Makefile.am
1 # Copyright (C) 2007-2012  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
38 # header files  
39 salomeinclude_HEADERS= SALOMETraceCollectorTest.hxx
40
41 # Scripts to be installed
42 dist_salomescript_PYTHON = TestSALOMETraceCollector.py
43
44
45 #
46 # ===============================================================
47 # Local definitions
48 # ===============================================================
49 #
50
51 # This directory defines the subdirectory src in the top source directory.
52 RPATH=../..
53
54
55 # This local variable defines the list of CPPFLAGS common to all target in this package.
56 COMMON_CPPFLAGS=\
57         @CPPUNIT_INCLUDES@ \
58         -I$(srcdir)/$(RPATH)/Basics -I$(srcdir)/$(RPATH)/Basics/Test \
59         -I$(srcdir)/$(RPATH)/SALOMELocalTrace -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test\
60         -I$(srcdir)/$(RPATH)/SALOMETraceCollector
61
62 # This local variable defines the list of dependant libraries common to all target in this package.
63 COMMON_LIBS =\
64         @CPPUNIT_LIBS@ \
65         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
66         $(RPATH)/Basics/libSALOMEBasics.la
67
68
69 #
70 # ===============================================================
71 # Libraries targets
72 # ===============================================================
73 #
74 lib_LTLIBRARIES = libSALOMETraceCollectorTest.la 
75 libSALOMETraceCollectorTest_la_SOURCES = SALOMETraceCollectorTest.cxx
76 libSALOMETraceCollectorTest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
77 libSALOMETraceCollectorTest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
78 libSALOMETraceCollectorTest_la_LIBADD    = $(COMMON_LIBS)
79
80 #
81 # ===============================================================
82 # Executables targets
83 # ===============================================================
84 #
85 bin_PROGRAMS = TestSALOMETraceCollector
86 TestSALOMETraceCollector_SOURCES  = TestSALOMETraceCollector.cxx
87 TestSALOMETraceCollector_CPPFLAGS = $(COMMON_CPPFLAGS)
88 TestSALOMETraceCollector_LDADD    = libSALOMETraceCollectorTest.la $(COMMON_LIBS)