Salome HOME
PR: merge from branch BR_auto_V310 tag mergefrom_OCC_development_for_3_2_0a2_10mar06
[modules/kernel.git] / src / LifeCycleCORBA / 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 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= LifeCycleCORBATest.hxx
39
40 # Scripts to be installed
41 dist_salomescript_SCRIPTS = TestLifeCycleCORBA.py
42
43 #
44 # ===============================================================
45 # Local definitions
46 # ===============================================================
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)/NamingService -I$(srcdir)/$(RPATH)/NamingService/Test \
59         -I$(srcdir)/$(RPATH)/Utils -I$(srcdir)/$(RPATH)/Utils/Test \
60         -I$(srcdir)/$(RPATH)/ResourcesManager \
61         -I$(srcdir)/$(RPATH)/LifeCycleCORBA \
62         -I$(top_builddir)/salome_adm/unix \
63         -I$(top_builddir)/idl \
64         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
65
66 # This local variable defines the list of dependant libraries common to all target in this package.
67 COMMON_LIBS =\
68         @CPPUNIT_LIBS@ \
69         $(RPATH)/Basics/libSALOMEBasics.la \
70         $(RPATH)/ResourcesManager/libSalomeResourcesManager.la \
71         $(RPATH)/Container/libSalomeContainer.la \
72         $(RPATH)/NamingService/libSalomeNS.la \
73         $(RPATH)/Registry/libRegistry.la \
74         $(RPATH)/Notification/libSalomeNotification.la \
75         $(RPATH)/Utils/Test/libUtilsTest.la $(RPATH)/Utils/libOpUtil.la \
76         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
77         $(RPATH)/SALOMETraceCollector/Test/libSALOMETraceCollectorTest.la \
78         $(top_builddir)/idl/libSalomeIDLKernel.la
79
80 #
81 # ===============================================================
82 # Libraries targets
83 # ===============================================================
84 #
85 lib_LTLIBRARIES = libLifeCycleCORBATest.la 
86 libLifeCycleCORBATest_la_SOURCES = LifeCycleCORBATest.cxx
87 libLifeCycleCORBATest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
88 libLifeCycleCORBATest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
89 libLifeCycleCORBATest_la_LIBADD    = $(COMMON_LIBS)
90
91 #
92 # ===============================================================
93 # Executables targets
94 # ===============================================================
95 #
96 bin_PROGRAMS = TestLifeCycleCORBA
97 TestLifeCycleCORBA_SOURCES  = TestLifeCycleCORBA.cxx
98 TestLifeCycleCORBA_CPPFLAGS = $(COMMON_CPPFLAGS)
99 TestLifeCycleCORBA_LDADD    = \
100         libLifeCycleCORBATest.la ../libSalomeLifeCycleCORBA.la \
101         $(RPATH)/NamingService/Test/libNamingServiceTest.la \
102         $(COMMON_LIBS)
103