Salome HOME
Porting to Python 2.6 - add coding page specification for Python scripts
[modules/kernel.git] / src / LifeCycleCORBA / 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 ####################################### library
23 #  SALOMELocalTrace : log on local machine
24 #  File   : Makefile.am
25 #  Author : Guillaume Boulant (CSSI)
26 #  Module : KERNEL
27 #  $Header$
28 #
29 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
30
31 #
32 # ===============================================================
33 # Files to be installed
34 # ===============================================================
35 #
36 # header files  
37 salomeinclude_HEADERS= LifeCycleCORBATest.hxx
38
39 # Scripts to be installed
40 dist_salomescript_SCRIPTS = TestLifeCycleCORBA.py
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@ \
54         -I$(srcdir)/$(RPATH)/Basics -I$(srcdir)/$(RPATH)/Basics/Test \
55         -I$(srcdir)/$(RPATH)/SALOMELocalTrace -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test \
56         -I$(srcdir)/$(RPATH)/SALOMETraceCollector -I$(srcdir)/$(RPATH)/SALOMETraceCollector/Test \
57         -I$(srcdir)/$(RPATH)/NamingService -I$(srcdir)/$(RPATH)/NamingService/Test \
58         -I$(srcdir)/$(RPATH)/Utils -I$(srcdir)/$(RPATH)/Utils/Test \
59         -I$(srcdir)/$(RPATH)/ResourcesManager \
60         -I$(srcdir)/$(RPATH)/LifeCycleCORBA \
61         -I$(top_builddir)/idl \
62         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
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)/Basics/libSALOMEBasics.la \
68         $(RPATH)/ResourcesManager/libSalomeResourcesManager.la \
69         $(RPATH)/Container/libSalomeContainer.la \
70         $(RPATH)/NamingService/libSalomeNS.la \
71         $(RPATH)/Registry/libRegistry.la \
72         $(RPATH)/Notification/libSalomeNotification.la \
73         $(RPATH)/Utils/Test/libUtilsTest.la $(RPATH)/Utils/libOpUtil.la \
74         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
75         $(RPATH)/SALOMETraceCollector/Test/libSALOMETraceCollectorTest.la \
76         $(top_builddir)/idl/libSalomeIDLKernel.la
77
78 #
79 # ===============================================================
80 # Libraries targets
81 # ===============================================================
82 #
83 lib_LTLIBRARIES = libLifeCycleCORBATest.la 
84 libLifeCycleCORBATest_la_SOURCES = LifeCycleCORBATest.cxx
85 libLifeCycleCORBATest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
86 libLifeCycleCORBATest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
87 libLifeCycleCORBATest_la_LIBADD    = $(COMMON_LIBS)
88
89 #
90 # ===============================================================
91 # Executables targets
92 # ===============================================================
93 #
94 bin_PROGRAMS = TestLifeCycleCORBA
95 TestLifeCycleCORBA_SOURCES  = TestLifeCycleCORBA.cxx
96 TestLifeCycleCORBA_CPPFLAGS = $(COMMON_CPPFLAGS)
97 TestLifeCycleCORBA_LDADD    = \
98         libLifeCycleCORBATest.la ../libSalomeLifeCycleCORBA.la \
99         $(RPATH)/NamingService/Test/libNamingServiceTest.la \
100         $(COMMON_LIBS)
101