Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / engine / Test / Makefile.am
1
2 include $(top_srcdir)/adm/unix/make_begin.am
3
4 check_PROGRAMS = TestEngine IntegrationTestEngine
5
6 TestEngine_SOURCES =              \
7         TestEngine.cxx            \
8         RuntimeForEngineTest.cxx  \
9         engineTest.cxx
10
11 TestEngine_LDADD = \
12                  ../libYACSEngine.la         \
13                  ../../bases/libYACSBases.la
14
15
16 TestEngine_LDFLAGS = $(CPPUNIT_LIBS) -pthread -ldl
17
18 TestEngine_CXXFLAGS = \
19         $(CPPUNIT_INCLUDES)           \
20         -I$(srcdir)/..                \
21         -I$(srcdir)/../../bases       \
22         -I$(srcdir)/../../bases/Test
23
24 lib_LTLIBRARIES = libPluginOptEvTest1.la
25
26 libPluginOptEvTest1_la_SOURCES = PluginOptEvTest1.cxx
27
28 libPluginOptEvTest1_la_CXXFLAGS = $(THREAD_DEF) \
29         -I$(srcdir)/..                          \
30         -I$(srcdir)/../../bases
31
32 IntegrationTestEngine_SOURCES =              \
33         ToyNode.cxx                          \
34         ContainerTest.cxx                    \
35         ComponentInstanceTest.cxx            \
36         IntegrationTestEngine.cxx            \
37         engineIntegrationTest.cxx            \
38         RuntimeForEngineIntegrationTest.cxx
39
40 IntegrationTestEngine_LDADD =                   \
41                  ../libYACSEngine.la            \
42                  ../../bases/libYACSBases.la
43
44 IntegrationTestEngine_LDFLAGS = $(CPPUNIT_LIBS) -pthread -ldl
45
46 IntegrationTestEngine_CXXFLAGS =      \
47         $(CPPUNIT_INCLUDES)           \
48         $(THREAD_DEF)                 \
49         -I$(srcdir)/..                \
50         -I$(srcdir)/../../bases       \
51         -I$(srcdir)/../../bases/Test
52
53
54 TESTS =  TestEngine IntegrationTestEngine
55
56 include $(top_srcdir)/adm/unix/make_end.am