Salome HOME
Merge from V6_main_20120808 08Aug12
[samples/component.git] / src / SyrComponent / 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 SyrComponent : example of component performing some mathinatical operations
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         SyrComponent_Impl.hxx 
31
32 # Libraries targets
33 lib_LTLIBRARIES = libSyrComponentEngine.la
34 dist_libSyrComponentEngine_la_SOURCES = \
35         SyrComponent_Impl.cxx 
36
37 # Executables targets
38 bin_PROGRAMS = SyrComponent_CheckOfUndefined
39 dist_SyrComponent_CheckOfUndefined_SOURCES = \
40         SyrComponent_CheckOfUndefined.cxx
41
42 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
43
44 libSyrComponentEngine_la_CPPFLAGS = \
45         $(PYTHON_INCLUDES) \
46         $(CORBA_CXXFLAGS) \
47         $(CORBA_INCLUDES) \
48         $(KERNEL_CXXFLAGS) \
49         -I$(srcdir)/../AddComponent \
50         -I$(top_builddir)/idl
51 libSyrComponentEngine_la_LDFLAGS  = \
52         ../../idl/libSalomeIDLCOMPONENT.la \
53         $(KERNEL_LDFLAGS) \
54         -lSalomeGenericObj \
55         -lSalomeContainer \
56         -lSalomeNS \
57         -lOpUtil \
58         -lRegistry \
59         -lSalomeNotification \
60         -lSALOMELocalTrace \
61         -lSalomeResourcesManager \
62         -lSALOMEBasics \
63         -lSalomeIDLKernel
64
65 SyrComponent_CheckOfUndefined_CPPFLAGS = \
66         $(libSyrComponentEngine_la_CPPFLAGS)
67
68 SyrComponent_CheckOfUndefined_LDFLAGS = \
69         ./libSyrComponentEngine.la \
70         $(libSyrComponentEngine_la_LDFLAGS)
71
72 sharedpkgpython_PYTHON = \
73         COMPONENT_shared_modules.py