Salome HOME
RNV: fix link errors.
[samples/component.git] / src / SyrComponent / 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 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         -I$(top_builddir)
52
53 libSyrComponentEngine_la_LDFLAGS  = \
54         ../../idl/libSalomeIDLCOMPONENT.la \
55         $(KERNEL_LDFLAGS) \
56         -lSalomeGenericObj \
57         -lSalomeContainer \
58         -lSalomeNS \
59         -lOpUtil \
60         -lRegistry \
61         -lSalomeNotification \
62         -lSALOMELocalTrace \
63         -lSalomeResourcesManager \
64         -lSALOMEBasics \
65         -lSalomeIDLKernel \
66         -lSalomeHDFPersist \
67         -lResourcesManager
68
69 SyrComponent_CheckOfUndefined_CPPFLAGS = \
70         $(libSyrComponentEngine_la_CPPFLAGS)
71
72 SyrComponent_CheckOfUndefined_LDFLAGS = \
73         ./libSyrComponentEngine.la \
74         $(libSyrComponentEngine_la_LDFLAGS)
75
76 sharedpkgpython_PYTHON = \
77         COMPONENT_shared_modules.py