Salome HOME
63b2a17cf5f6d874907971aaa8022549c3d1a182
[modules/kernel.git] / src / TestContainer / Makefile.am
1 # Copyright (C) 2007-2013  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
23 #  SALOME TestContainer : test of container creation and its life cycle
24 #  File   : Makefile.in
25 #  Author : Paul RASCLE, EDF - MARC TAJCHMAN, CEA
26 #  Module : SALOME
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 # Scripts to be installed
38 dist_salomescript_PYTHON = \
39         SALOME_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)/../GenericObj \
58         -I$(srcdir)/../Container \
59         -I$(top_builddir)/idl \
60         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
61
62
63 # This local variable defines the list of dependant libraries common to all target in this package.
64 COMMON_LIBS =\
65         ../Container/libSalomeContainer.la \
66         ../Registry/libRegistry.la \
67         ../Notification/libSalomeNotification.la \
68         ../ResourcesManager/libSalomeResourcesManager.la \
69         ../NamingService/libSalomeNS.la \
70         ../Utils/libOpUtil.la \
71         ../SALOMELocalTrace/libSALOMELocalTrace.la \
72         ../Basics/libSALOMEBasics.la \
73         ../GenericObj/libSalomeGenericObj.la \
74         $(top_builddir)/idl/libSalomeIDLKernel.la
75
76 #
77 # ===============================================================
78 # Libraries targets
79 # ===============================================================
80 #
81 lib_LTLIBRARIES = libSalomeTestComponentEngine.la
82 libSalomeTestComponentEngine_la_SOURCES  = \
83         SALOME_TestComponent.hxx \
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                          $(COMMON_LIBS) \
102                          ../Basics/libSALOMEBasics.la \
103                          $(CORBA_LIBS)
104
105 TestLogger_SOURCES     = TestLogger.cxx
106 TestLogger_CPPFLAGS    = $(COMMON_CPPFLAGS)
107 TestLogger_LDADD       = libSalomeTestComponentEngine.la \
108                          $(COMMON_LIBS) \
109                          ../Basics/libSALOMEBasics.la \
110                          $(CORBA_LIBS)