Salome HOME
Merge from BR_V5_DEV 17Feb09
[samples/component.git] / src / DataStreamComponent / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  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 #  SUPERV DataStreamComponent : example of component
23 #  File   : Makefile.in
24 #  Author : Jean Rahuel
25 #  Modified by : Alexander BORODIN (OCN) - autotools usage
26 #  Module : SUPERV
27 #  $Header: 
28 #
29 include $(top_srcdir)/adm_local/unix/make_common_starter.am
30
31 # header files 
32 salomeinclude_HEADERS = \
33         DataStreamComponent_Impl.hxx
34
35 # Libraries targets
36 lib_LTLIBRARIES = libDataStreamFactoryEngine.la
37 dist_libDataStreamFactoryEngine_la_SOURCES = \
38         DataStreamComponent_Impl.cxx 
39
40 # Executables targets
41 bin_PROGRAMS = DataStreamComponent_CheckOfUndefined
42
43 ${bin_PROGRAMS}: ${lib_LTLIBRARIES}
44
45 dist_DataStreamComponent_CheckOfUndefined_SOURCES = \
46         DataStreamComponent_CheckOfUndefined.cxx
47
48 libDataStreamFactoryEngine_la_CPPFLAGS = \
49         $(PYTHON_INCLUDES) \
50         $(CORBA_CXXFLAGS) \
51         $(CORBA_INCLUDES) \
52         $(KERNEL_CXXFLAGS) \
53         -I$(srcdir)/../AddComponent \
54         -I$(top_builddir)/idl \
55         -I$(top_builddir)/salome_adm/unix
56
57 libDataStreamFactoryEngine_la_LDFLAGS  = \
58         ../../idl/libSalomeIDLCOMPONENT.la \
59         $(KERNEL_LDFLAGS) \
60         -lSalomeContainer \
61         -lSalomeNS \
62         -lOpUtil \
63         -lRegistry \
64         -lSalomeNotification \
65         -lSALOMELocalTrace \
66         -lSalomeResourcesManager \
67         -lSALOMEBasics \
68         -lSalomeIDLKernel
69
70 DataStreamComponent_CheckOfUndefined_CPPFLAGS = \
71         $(libDataStreamFactoryEngine_la_CPPFLAGS)
72
73 DataStreamComponent_CheckOfUndefined_LDFLAGS = \
74         ./libDataStreamFactoryEngine.la \
75         $(libDataStreamFactoryEngine_la_LDFLAGS)