Salome HOME
Merge from V6_main 13/12/2012
[samples/component.git] / src / AddComponent / Makefile.am
1 # Copyright (C) 2007-2012  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 AddComponent : 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 # header files 
29 salomeinclude_HEADERS = \
30         AddComponent_Impl.hxx \
31         Adder_Impl.hxx
32
33 # Libraries targets
34 lib_LTLIBRARIES = libAddComponentEngine.la
35 dist_libAddComponentEngine_la_SOURCES = \
36         AddComponent_Impl.cxx  \
37         Adder_Impl.cxx 
38
39 # Executables targets
40 bin_PROGRAMS = AddComponent_CheckOfUndefined
41 dist_AddComponent_CheckOfUndefined_SOURCES = \
42         AddComponent_CheckOfUndefined.cxx \
43         HandleServerSideSignals.cxx
44
45 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
46
47 libAddComponentEngine_la_CPPFLAGS = \
48         $(PYTHON_INCLUDES) \
49         $(CORBA_CXXFLAGS) \
50         $(CORBA_INCLUDES) \
51         $(KERNEL_CXXFLAGS) \
52         -I$(top_builddir)/idl \
53         -I$(top_builddir)
54
55 libAddComponentEngine_la_LDFLAGS = \
56         ../../idl/libSalomeIDLCOMPONENT.la \
57         $(KERNEL_LDFLAGS) \
58         -lSalomeGenericObj \
59         -lSalomeContainer \
60         -lSalomeHDFPersist \
61         -lSalomeNS \
62         -lOpUtil \
63         -lRegistry \
64         -lSalomeNotification \
65         -lSALOMELocalTrace \
66         -lSalomeLifeCycleCORBA \
67         -lSalomeResourcesManager \
68         -lSALOMEBasics \
69         -lSalomeIDLKernel
70
71 AddComponent_CheckOfUndefined_CPPFLAGS = \
72         $(libAddComponentEngine_la_CPPFLAGS)
73
74 AddComponent_CheckOfUndefined_LDFLAGS  = \
75         ./libAddComponentEngine.la \
76         $(libAddComponentEngine_la_LDFLAGS) \
77         $(CORBA_LIBS) \
78         $(PYTHON_LIBS)
79