Salome HOME
Merge from BR_V5_DEV 17Feb09
[samples/component.git] / src / TestFunctions / Makefile.am
1 #  Copyright (C) 2007-2008  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 #  SuperVisionTest TestFunctions : example of component that adds two numbers
23 #  File   : Makefile.in
24 #  Author : , CEA
25 #  Modified by : Alexander BORODIN (OCN) - autotools usage
26 #  Module : SuperVisionTest
27 #
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 # Libraries targets
31 lib_LTLIBRARIES = libDynInvoke.la
32 dist_libDynInvoke_la_SOURCES = \
33         DynInvoke.hxx DynInvoke.cxx
34
35 bin_PROGRAMS = \
36         TestFunctions \
37         TestFunctionsMemory \
38         TestFunctionsMemory1 \
39         TestFunctionsMemory2 \
40         TestFunctionsMemory3 \
41         TestFunctionsMemory4
42
43 libDynInvoke_la_CPPFLAGS = \
44         $(PYTHON_INCLUDES) \
45         $(CORBA_CXXFLAGS) \
46         $(CORBA_INCLUDES) \
47         $(KERNEL_CXXFLAGS) \
48         -I$(srcdir)/../AddComponent \
49         -I$(top_builddir)/idl \
50         -I$(top_builddir)/salome_adm/unix
51
52 libDynInvoke_la_LDFLAGS  = \
53         ../../idl/libSalomeIDLCOMPONENT.la \
54         $(KERNEL_LDFLAGS) \
55         -lSalomeContainer \
56         -lSalomeNS \
57         -lOpUtil \
58         -lRegistry \
59         -lSalomeNotification \
60         -lSALOMELocalTrace \
61         -lSalomeLifeCycleCORBA \
62         -lSalomeResourcesManager \
63         -lSALOMEBasics \
64         -lSalomeIDLKernel
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 dist_salomescript_SCRIPTS = TestFunctions.py