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