Salome HOME
PR: merge from branch BR_auto_V310 tag mergefrom_OCC_development_for_3_2_0a2_10mar06
[modules/kernel.git] / src / SALOMETraceCollector / Test / Makefile.am
1 ####################################### library
2 #  SALOMELocalTrace : log on local machine
3 #
4 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
5 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
6
7 #  This library is free software; you can redistribute it and/or 
8 #  modify it under the terms of the GNU Lesser General Public 
9 #  License as published by the Free Software Foundation; either 
10 #  version 2.1 of the License. 
11
12 #  This library is distributed in the hope that it will be useful, 
13 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
14 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
15 #  Lesser General Public License for more details. 
16
17 #  You should have received a copy of the GNU Lesser General Public 
18 #  License along with this library; if not, write to the Free Software 
19 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
20
21 #  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
22 #
23 #
24 #
25 #  File   : Makefile.am
26 #  Author : Guillaume Boulant (CSSI)
27 #  Module : KERNEL
28 #  $Header$
29
30
31 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
32
33 #
34 # ===============================================================
35 # Files to be installed
36 # ===============================================================
37 #
38
39 # header files  
40 salomeinclude_HEADERS= SALOMETraceCollectorTest.hxx
41
42 # Scripts to be installed
43 dist_salomescript_SCRIPTS = TestSALOMETraceCollector.py
44
45
46 #
47 # ===============================================================
48 # Local definitions
49 # ===============================================================
50 #
51
52 # This directory defines the subdirectory src in the top source directory.
53 RPATH=../..
54
55
56 # This local variable defines the list of CPPFLAGS common to all target in this package.
57 COMMON_CPPFLAGS=\
58         @CPPUNIT_INCLUDES@ \
59         -I$(srcdir)/$(RPATH)/Basics -I$(srcdir)/$(RPATH)/Basics/Test \
60         -I$(srcdir)/$(RPATH)/SALOMELocalTrace -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test\
61         -I$(srcdir)/$(RPATH)/SALOMETraceCollector \
62         -I$(top_builddir)/salome_adm/unix
63
64 # This local variable defines the list of dependant libraries common to all target in this package.
65 COMMON_LIBS =\
66         @CPPUNIT_LIBS@ \
67         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
68         $(RPATH)/Basics/libSALOMEBasics.la
69
70
71 #
72 # ===============================================================
73 # Libraries targets
74 # ===============================================================
75 #
76 lib_LTLIBRARIES = libSALOMETraceCollectorTest.la 
77 libSALOMETraceCollectorTest_la_SOURCES = SALOMETraceCollectorTest.cxx
78 libSALOMETraceCollectorTest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
79 libSALOMETraceCollectorTest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
80 libSALOMETraceCollectorTest_la_LIBADD    = $(COMMON_LIBS)
81
82 #
83 # ===============================================================
84 # Executables targets
85 # ===============================================================
86 #
87 bin_PROGRAMS = TestSALOMETraceCollector
88 TestSALOMETraceCollector_SOURCES  = TestSALOMETraceCollector.cxx
89 TestSALOMETraceCollector_CPPFLAGS = $(COMMON_CPPFLAGS)
90 TestSALOMETraceCollector_LDADD    = libSALOMETraceCollectorTest.la $(COMMON_LIBS)