Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[samples/component.git] / src / AddComponent / Makefile.am
1 #  SuperVisionTest AddComponent : example of component that adds two numbers
2 #
3 #  Copyright (C) 2003  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 #
23 #
24 #  File   : Makefile.in
25 #  Author : , CEA
26 #  Modified by : Alexander BORODIN (OCN) - autotools usage
27 #  Module : SuperVisionTest
28
29 include $(top_srcdir)/adm_local/unix/make_common_starter.am
30
31 # header files 
32 salomeinclude_HEADERS = \
33         AddComponent_Impl.hxx \
34         Adder_Impl.hxx
35
36 # Libraries targets
37 lib_LTLIBRARIES = libAddComponentEngine.la
38 dist_libAddComponentEngine_la_SOURCES = \
39         AddComponent_Impl.cxx  \
40         Adder_Impl.cxx 
41
42 # Executables targets
43 bin_PROGRAMS = AddComponent_CheckOfUndefined
44 dist_AddComponent_CheckOfUndefined_SOURCES = \
45         AddComponent_CheckOfUndefined.cxx \
46         HandleServerSideSignals.cxx
47
48 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
49
50 libAddComponentEngine_la_CPPFLAGS = \
51         $(PYTHON_INCLUDES) \
52         $(CORBA_CXXFLAGS) \
53         $(CORBA_INCLUDES) \
54         $(KERNEL_CXXFLAGS) \
55         -I$(top_builddir)/idl \
56         -I$(top_builddir)/salome_adm/unix
57 libAddComponentEngine_la_LDFLAGS = \
58         ../../idl/libSalomeIDLCOMPONENT.la \
59         $(KERNEL_LDFLAGS) \
60         -lSalomeContainer \
61         -lSalomeHDFPersist \
62         -lSalomeBatch \
63         -lSalomeNS \
64         -lOpUtil \
65         -lRegistry \
66         -lSalomeNotification \
67         -lSALOMELocalTrace \
68         -lSalomeLifeCycleCORBA \
69         -lSalomeResourcesManager \
70         -lSALOMEBasics \
71         -lSalomeIDLKernel
72
73 AddComponent_CheckOfUndefined_CPPFLAGS = \
74         $(libAddComponentEngine_la_CPPFLAGS)
75
76 AddComponent_CheckOfUndefined_LDFLAGS  = \
77         ./libAddComponentEngine.la \
78         $(libAddComponentEngine_la_LDFLAGS)