Salome HOME
Merge from V6_main 01/04/2013
[samples/component.git] / src / DataStreamComponent / Makefile.am
1 # Copyright (C) 2007-2013  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 #  SUPERV DataStreamComponent : example of component
21 #  File   : Makefile.in
22 #  Author : Jean Rahuel
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #  Module : SUPERV
25 #  $Header: 
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # header files 
30 salomeinclude_HEADERS = \
31         DataStreamComponent_Impl.hxx
32
33 # Libraries targets
34 lib_LTLIBRARIES = libDataStreamFactoryEngine.la
35 dist_libDataStreamFactoryEngine_la_SOURCES = \
36         DataStreamComponent_Impl.cxx 
37
38 # Executables targets
39 bin_PROGRAMS = DataStreamComponent_CheckOfUndefined
40
41 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
42
43 dist_DataStreamComponent_CheckOfUndefined_SOURCES = \
44         DataStreamComponent_CheckOfUndefined.cxx
45
46 libDataStreamFactoryEngine_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)
54
55 libDataStreamFactoryEngine_la_LDFLAGS  = \
56         ../../idl/libSalomeIDLCOMPONENT.la \
57         $(KERNEL_LDFLAGS) \
58         -lSalomeGenericObj \
59         -lSalomeContainer \
60         -lSalomeNS \
61         -lOpUtil \
62         -lRegistry \
63         -lSalomeNotification \
64         -lSALOMELocalTrace \
65         -lSalomeResourcesManager \
66         -lSALOMEBasics \
67         -lSalomeIDLKernel
68
69 DataStreamComponent_CheckOfUndefined_CPPFLAGS = \
70         $(libDataStreamFactoryEngine_la_CPPFLAGS)
71
72 DataStreamComponent_CheckOfUndefined_LDFLAGS = \
73         ./libDataStreamFactoryEngine.la \
74         $(libDataStreamFactoryEngine_la_LDFLAGS) \
75         $(CORBA_LIBS)