Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/kernel.git] / src / TestContainer / Makefile.am
1 #  SALOME TestContainer : test of container creation and its life cycle
2 #
3 #  Copyright (C) 2003  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 #
24 #  File   : Makefile.in
25 #  Author : Paul RASCLE, EDF - MARC TAJCHMAN, CEA
26 #  Module : SALOME
27 #  $Header$
28
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 # Scripts to be installed
39 dist_salomescript_DATA = \
40         SALOME_TestComponentPy.py \
41         TestComponentPy.py \
42         TestLogger.py
43
44 #
45 # ===============================================================
46 # Local definitions
47 # ===============================================================
48 #
49
50 # This local variable defines the list of CPPFLAGS common to all target in this package.
51 COMMON_CPPFLAGS=\
52         -I$(srcdir)/../Basics \
53         -I$(srcdir)/../SALOMELocalTrace \
54         -I$(srcdir)/../NamingService \
55         -I$(srcdir)/../Utils \
56         -I$(srcdir)/../Registry \
57         -I$(srcdir)/../Notification \
58         -I$(srcdir)/../ResourcesManager \
59         -I$(srcdir)/../Container \
60         -I$(top_builddir)/salome_adm/unix \
61         -I$(top_builddir)/idl \
62         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
63
64
65 # This local variable defines the list of dependant libraries common to all target in this package.
66 COMMON_LIBS =\
67         ../Container/libSalomeContainer.la \
68         ../Registry/libRegistry.la \
69         ../Notification/libSalomeNotification.la \
70         ../ResourcesManager/libSalomeResourcesManager.la \
71         ../NamingService/libSalomeNS.la \
72         ../Utils/libOpUtil.la \
73         ../SALOMELocalTrace/libSALOMELocalTrace.la \
74         ../Basics/libSALOMEBasics.la \
75         $(top_builddir)/idl/libSalomeIDLKernel.la
76
77 #
78 # ===============================================================
79 # Libraries targets
80 # ===============================================================
81 #
82 lib_LTLIBRARIES = libSalomeTestComponentEngine.la
83 libSalomeTestComponentEngine_la_SOURCES  = \
84         SALOME_TestComponent_i.cxx \
85         SALOME_TestComponent_i.hxx
86
87 libSalomeTestComponentEngine_la_CPPFLAGS = $(COMMON_CPPFLAGS)
88 libSalomeTestComponentEngine_la_LIBADD   = $(COMMON_LIBS)
89
90 #LIB_CLIENT_IDL = SALOME_Component.idl SALOME_TestComponent.idl SALOME_Exception.idl
91
92 #
93 # ===============================================================
94 # Executables targets
95 # ===============================================================
96 #
97 bin_PROGRAMS = TestContainer TestLogger
98 TestContainer_SOURCES  = TestContainer.cxx
99 TestContainer_CPPFLAGS = $(COMMON_CPPFLAGS)
100 TestContainer_LDADD    = libSalomeTestComponentEngine.la \
101                          $(CORBA_LIBS)
102
103 TestLogger_SOURCES     = TestLogger.cxx
104 TestLogger_CPPFLAGS    = $(COMMON_CPPFLAGS)
105 TestLogger_LDADD       = libSalomeTestComponentEngine.la \
106                          $(CORBA_LIBS)