Salome HOME
638f6b690cb1715e1dd7e791a5b9def0894f054b
[samples/component.git] / src / TestFunctions / Makefile.am
1 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 #  SuperVisionTest TestFunctions : example of component that adds two numbers
21 #  File   : Makefile.in
22 #  Author : , CEA
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #  Module : SuperVisionTest
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # Libraries targets
29 lib_LTLIBRARIES = libDynInvoke.la
30 dist_libDynInvoke_la_SOURCES = \
31         DynInvoke.hxx DynInvoke.cxx
32
33 bin_PROGRAMS = \
34         TestFunctions \
35         TestFunctionsMemory \
36         TestFunctionsMemory1 \
37         TestFunctionsMemory2 \
38         TestFunctionsMemory3 \
39         TestFunctionsMemory4
40
41 libDynInvoke_la_CPPFLAGS = \
42         $(PYTHON_INCLUDES) \
43         $(CORBA_CXXFLAGS) \
44         $(CORBA_INCLUDES) \
45         $(KERNEL_CXXFLAGS) \
46         -I$(srcdir)/../AddComponent \
47         -I$(top_builddir)/idl
48
49 libDynInvoke_la_LDFLAGS  = \
50         ../../idl/libSalomeIDLCOMPONENT.la \
51         $(KERNEL_LDFLAGS) \
52         -lSalomeGenericObj \
53         -lSalomeContainer \
54         -lSalomeNS \
55         -lOpUtil \
56         -lRegistry \
57         -lSalomeNotification \
58         -lSALOMELocalTrace \
59         -lSalomeLifeCycleCORBA \
60         -lSalomeResourcesManager \
61         -lSALOMEBasics \
62         -lSalomeIDLKernel \
63         -lSalomeHDFPersist \
64         -lResourcesManager
65
66 TestFunctions_SOURCES = TestFunctions.cxx
67 TestFunctionsMemory_SOURCES = TestFunctionsMemory.cxx
68 TestFunctionsMemory1_SOURCES = TestFunctionsMemory1.cxx
69 TestFunctionsMemory2_SOURCES = TestFunctionsMemory2.cxx
70 TestFunctionsMemory3_SOURCES = TestFunctionsMemory3.cxx
71 TestFunctionsMemory4_SOURCES = TestFunctionsMemory4.cxx
72
73 AM_CPPFLAGS += \
74         $(libDynInvoke_la_CPPFLAGS)
75
76 LDADD = \
77         ./libDynInvoke.la \
78         $(libDynInvoke_la_LDFLAGS)
79
80 AM_LDFLAGS = \
81         $(CORBA_LIBS)
82
83 dist_salomescript_SCRIPTS = TestFunctions.py