Salome HOME
Try to kill Salome application when a YACS Launcher job is killed
[modules/kernel.git] / src / TestContainer / Makefile.am
index 9d8599c85ee52c7ddb0cfd0ce974c5177b77b09c..68a414d285155b7d39d421f181690721309045eb 100644 (file)
@@ -1,32 +1,31 @@
-#  SALOME TestContainer : test of container creation and its life cycle
+# Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+# Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 #
-#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-# 
-#  This library is free software; you can redistribute it and/or 
-#  modify it under the terms of the GNU Lesser General Public 
-#  License as published by the Free Software Foundation; either 
-#  version 2.1 of the License. 
-# 
-#  This library is distributed in the hope that it will be useful, 
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-#  Lesser General Public License for more details. 
-# 
-#  You should have received a copy of the GNU Lesser General Public 
-#  License along with this library; if not, write to the Free Software 
-#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-# 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
 #
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
 #
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+#  SALOME TestContainer : test of container creation and its life cycle
 #  File   : Makefile.in
 #  Author : Paul RASCLE, EDF - MARC TAJCHMAN, CEA
 #  Module : SALOME
 #  $Header$
-
-
+#
 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 
 #
@@ -36,7 +35,7 @@ include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 #
 # header files  
 # Scripts to be installed
-dist_salomescript_DATA = \
+dist_salomescript_PYTHON = \
        SALOME_TestComponentPy.py \
        TestComponentPy.py \
        TestLogger.py
@@ -56,8 +55,8 @@ COMMON_CPPFLAGS=\
        -I$(srcdir)/../Registry \
        -I$(srcdir)/../Notification \
        -I$(srcdir)/../ResourcesManager \
+       -I$(srcdir)/../GenericObj \
        -I$(srcdir)/../Container \
-       -I$(top_builddir)/salome_adm/unix \
        -I$(top_builddir)/idl \
        @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
 
@@ -72,6 +71,7 @@ COMMON_LIBS =\
        ../Utils/libOpUtil.la \
        ../SALOMELocalTrace/libSALOMELocalTrace.la \
        ../Basics/libSALOMEBasics.la \
+       ../GenericObj/libSalomeGenericObj.la \
        $(top_builddir)/idl/libSalomeIDLKernel.la
 
 #
@@ -81,6 +81,7 @@ COMMON_LIBS =\
 #
 lib_LTLIBRARIES = libSalomeTestComponentEngine.la
 libSalomeTestComponentEngine_la_SOURCES  = \
+       SALOME_TestComponent.hxx \
        SALOME_TestComponent_i.cxx \
        SALOME_TestComponent_i.hxx
 
@@ -97,8 +98,14 @@ libSalomeTestComponentEngine_la_LIBADD   = $(COMMON_LIBS)
 bin_PROGRAMS = TestContainer TestLogger
 TestContainer_SOURCES  = TestContainer.cxx
 TestContainer_CPPFLAGS = $(COMMON_CPPFLAGS)
-TestContainer_LDADD    = $(COMMON_LIBS) libSalomeTestComponentEngine.la
+TestContainer_LDADD    = libSalomeTestComponentEngine.la \
+                        $(COMMON_LIBS) \
+                        ../Basics/libSALOMEBasics.la \
+                         $(CORBA_LIBS)
 
 TestLogger_SOURCES     = TestLogger.cxx
 TestLogger_CPPFLAGS    = $(COMMON_CPPFLAGS)
-TestLogger_LDADD       = $(COMMON_LIBS) libSalomeTestComponentEngine.la
+TestLogger_LDADD       = libSalomeTestComponentEngine.la \
+                        $(COMMON_LIBS) \
+                        ../Basics/libSALOMEBasics.la \
+                         $(CORBA_LIBS)