1 # Copyright (C) 2006-2013 CEA/DEN, EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 include $(top_srcdir)/adm/unix/make_begin.am
23 check_PROGRAMS = TestEngine IntegrationTestEngine
26 TestEngine_SOURCES = \
28 RuntimeForEngineTest.cxx \
32 ../libYACSlibEngine.la \
33 ../../bases/libYACSBases.la
36 TestEngine_LDFLAGS = $(CPPUNIT_LIBS) -pthread -ldl
38 TestEngine_CXXFLAGS = $(THREAD_DEF) \
41 -I$(srcdir)/../../bases \
42 -I$(srcdir)/../../bases/Test
44 lib_LTLIBRARIES = libPluginOptEvTest1.la
46 libPluginOptEvTest1_la_SOURCES = PluginOptEvTest1.cxx
48 libPluginOptEvTest1_la_CXXFLAGS = $(THREAD_DEF) \
50 -I$(srcdir)/../../bases
52 libPluginOptEvTest1_la_LIBADD = ../libYACSlibEngine.la
54 IntegrationTestEngine_SOURCES = \
57 ComponentInstanceTest.cxx \
58 IntegrationTestEngine.cxx \
59 engineIntegrationTest.cxx \
60 RuntimeForEngineIntegrationTest.cxx
62 IntegrationTestEngine_LDADD = \
63 ../libYACSlibEngine.la \
64 ../../bases/libYACSBases.la
66 IntegrationTestEngine_LDFLAGS = $(CPPUNIT_LIBS) -pthread -ldl
68 IntegrationTestEngine_CXXFLAGS = \
72 -I$(srcdir)/../../bases \
73 -I$(srcdir)/../../bases/Test
77 TESTS = TestEngine IntegrationTestEngine
81 ComponentInstanceTest.hxx ContainerTest.hxx engineIntegrationTest.hxx \
82 engineTest.hxx PluginOptEvTest1.hxx RuntimeForEngineIntegrationTest.hxx \
83 RuntimeForEngineTest.hxx ToyNode.hxx
86 rm -f traceExec_* dumpState.xml
88 include $(top_srcdir)/adm/unix/make_end.am