Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[samples/component.git] / src / AdditionComponent / 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         AdditionComponent_Impl.hxx \
34         Addition_Adder_Impl.hxx
35
36 # Libraries targets
37 lib_LTLIBRARIES = libAdditionComponentEngine.la
38 dist_libAdditionComponentEngine_la_SOURCES = \
39         AdditionComponent_Impl.cxx  \
40         Addition_Adder_Impl.cxx 
41
42 # Executables targets
43 bin_PROGRAMS = AdditionComponent_CheckOfUndefined
44 dist_AdditionComponent_CheckOfUndefined_SOURCES = \
45         AdditionComponent_CheckOfUndefined.cxx
46
47 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
48
49 libAdditionComponentEngine_la_CPPFLAGS = \
50         $(PYTHON_INCLUDES) \
51         $(CORBA_CXXFLAGS) \
52         $(CORBA_INCLUDES) \
53         $(KERNEL_CXXFLAGS) \
54         -I$(srcdir)/../AddComponent \
55         -I$(top_builddir)/idl \
56         -I$(top_builddir)/salome_adm/unix
57
58 libAdditionComponentEngine_la_LDFLAGS  = \
59         ../../idl/libSalomeIDLCOMPONENT.la \
60         $(KERNEL_LDFLAGS) \
61         -lSalomeContainer \
62         -lSalomeHDFPersist \
63         -lSalomeBatch \
64         -lSalomeNS \
65         -lOpUtil \
66         -lRegistry \
67         -lSalomeNotification \
68         -lSALOMELocalTrace \
69         -lSalomeLifeCycleCORBA \
70         -lSalomeResourcesManager \
71         -lSALOMEBasics \
72         -lSalomeIDLKernel
73
74 AdditionComponent_CheckOfUndefined_CPPFLAGS = \
75         $(libAdditionComponentEngine_la_CPPFLAGS)
76
77 AdditionComponent_CheckOfUndefined_LDFLAGS = \
78         ./libAdditionComponentEngine.la \
79         $(libAdditionComponentEngine_laLDFLAGS)