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