Salome HOME
Merge from V6_main 13/12/2012
[samples/component.git] / src / SIGNALSComponent / 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 SIGNALSComponent : example of component that devides two numbers
21 #  File   : Makefile.in
22 #  Author : , CEA
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #  Module : SuperVisionTest
25 #  $Header: 
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # header files 
30 salomeinclude_HEADERS = \
31         SIGNALSComponent_Impl.hxx 
32
33 # Libraries targets
34 lib_LTLIBRARIES = libSIGNALSComponentEngine.la 
35 dist_libSIGNALSComponentEngine_la_SOURCES = \
36         SIGNALSComponent_Impl.cxx 
37
38 bin_PROGRAMS = SIGNALSComponent_CheckOfUndefined
39 dist_SIGNALSComponent_CheckOfUndefined_SOURCES = \
40         SIGNALSComponent_CheckOfUndefined.cxx \
41         HandleServerSideSignals.cxx
42
43 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
44
45 libSIGNALSComponentEngine_la_CPPFLAGS = \
46         $(PYTHON_INCLUDES) \
47         $(CORBA_CXXFLAGS) \
48         $(CORBA_INCLUDES) \
49         $(KERNEL_CXXFLAGS) \
50         -I$(top_builddir)/idl \
51         -I$(top_builddir)
52
53 libSIGNALSComponentEngine_la_LDFLAGS  = \
54         ../../idl/libSalomeIDLCOMPONENT.la \
55         $(KERNEL_LDFLAGS) \
56         -lSalomeGenericObj \
57         -lSalomeContainer \
58         -lSalomeNS \
59         -lOpUtil \
60         -lRegistry \
61         -lSalomeNotification
62
63 SIGNALSComponent_CheckOfUndefined_CPPFLAGS = \
64         $(libSIGNALSComponentEngine_la_CPPFLAGS)
65
66 SIGNALSComponent_CheckOfUndefined_LDFLAGS  = \
67         ./libSIGNALSComponentEngine.la \
68         $(libSIGNALSComponentEngine_la_LDFLAGS) \
69         $(CORBA_LIBS) \
70         $(PYTHON_LIBS) \
71         $(KERNEL_LDFLAGS) -lSALOMELocalTrace