Salome HOME
469ff54f33a714b0b23ff800d8d737b7f1118381
[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
52 libSIGNALSComponentEngine_la_LDFLAGS  = \
53         ../../idl/libSalomeIDLCOMPONENT.la \
54         $(KERNEL_LDFLAGS) \
55         -lSalomeGenericObj \
56         -lSalomeContainer \
57         -lSalomeNS \
58         -lOpUtil \
59         -lRegistry \
60         -lSalomeNotification
61
62 SIGNALSComponent_CheckOfUndefined_CPPFLAGS = \
63         $(libSIGNALSComponentEngine_la_CPPFLAGS)
64
65 SIGNALSComponent_CheckOfUndefined_LDFLAGS  = \
66         ./libSIGNALSComponentEngine.la \
67         $(libSIGNALSComponentEngine_la_LDFLAGS) \
68         $(CORBA_LIBS) \
69         $(PYTHON_LIBS) \
70         $(KERNEL_LDFLAGS) -lSALOMELocalTrace