Salome HOME
PR: from Sergey Mozokhin, Supervisor problem, crash after killing a dataflow execution.
[modules/kernel.git] / src / Container / Makefile.am
1 #  SALOME Container : implementation of container and engine for Kernel
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.am
25 #  Author : Guillaume Boulant (CSSI)
26 #  Module : KERNEL
27 #  $Header$
28
29
30 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
31
32 #
33 # ===============================================================
34 # Header to be installed
35 # ===============================================================
36 #
37 # header files  
38 salomeinclude_HEADERS = \
39         SALOME_Component_i.hxx \
40         SALOME_Container_i.hxx \
41         SALOME_FileTransfer_i.hxx \
42         SALOME_FileRef_i.hxx \
43         SALOME_ContainerManager.hxx \
44         Container_init_python.hxx
45
46 # Scripts to be installed
47 dist_salomescript_DATA =\
48         SALOME_ComponentPy.py \
49         SALOME_Container.py
50
51 # These files are executable scripts
52 dist_salomescript_SCRIPTS=\
53         SALOME_ContainerPy.py
54
55 #
56 # ===============================================================
57 # Local definitions
58 # ===============================================================
59 #
60
61 # This local variable defines the list of CPPFLAGS common to all target in this package.
62 COMMON_CPPFLAGS=\
63         @PYTHON_INCLUDES@ \
64         @MPI_INCLUDES@ \
65         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
66         @QT_MT_INCLUDES@ \
67         -I$(srcdir)/../Basics \
68         -I$(srcdir)/../SALOMELocalTrace \
69         -I$(srcdir)/../NamingService \
70         -I$(srcdir)/../Utils \
71         -I$(srcdir)/../Registry \
72         -I$(srcdir)/../Notification \
73         -I$(srcdir)/../ResourcesManager \
74         -I$(top_builddir)/salome_adm/unix \
75         -I$(top_builddir)/idl \
76         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
77
78 # This local variable defines the list of dependant libraries common to all target in this package.
79 COMMON_LIBS =\
80         ../Registry/libRegistry.la \
81         ../Notification/libSalomeNotification.la \
82         ../ResourcesManager/libSalomeResourcesManager.la \
83         ../NamingService/libSalomeNS.la \
84         ../Utils/libOpUtil.la \
85         ../SALOMELocalTrace/libSALOMELocalTrace.la \
86         ../Basics/libSALOMEBasics.la \
87         $(top_builddir)/idl/libSalomeIDLKernel.la\
88         @PYTHON_LIBS@ \
89         @MPI_LIBS@ \
90         @CORBA_LIBS@
91
92 #
93 # ===============================================================
94 # Libraries targets
95 # ===============================================================
96 #
97 lib_LTLIBRARIES = libSalomeContainer.la
98 libSalomeContainer_la_SOURCES=\
99         Component_i.cxx \
100         Container_i.cxx \
101         SALOME_FileTransfer_i.cxx \
102         SALOME_FileRef_i.cxx \
103         SALOME_ContainerManager.cxx \
104         Container_init_python.cxx 
105
106 libSalomeContainer_la_CPPFLAGS =\
107         $(COMMON_CPPFLAGS)
108
109 libSalomeContainer_la_LDFLAGS  =\
110         -no-undefined -version-info=0:0:0 \
111         @LDEXPDYNFLAGS@
112
113 libSalomeContainer_la_LIBADD =\
114         $(COMMON_LIBS)
115
116
117 #
118 # ===============================================================
119 # Executables targets
120 # ===============================================================
121 #
122 bin_PROGRAMS = SALOME_Container SALOME_ContainerManagerServer
123 SALOME_Container_SOURCES =\
124         SALOME_Container.cxx \
125         SALOME_Container_SignalsHandler.cxx
126
127 SALOME_Container_CPPFLAGS =\
128         $(COMMON_CPPFLAGS)
129
130
131 SALOME_Container_LDADD =\
132         libSalomeContainer.la \
133         $(COMMON_LIBS) \
134         ../Basics/libSALOMEBasics.la
135
136
137 SALOME_ContainerManagerServer_SOURCES =\
138         SALOME_ContainerManagerServer.cxx
139
140 SALOME_ContainerManagerServer_CPPFLAGS=\
141         $(COMMON_CPPFLAGS)
142
143 SALOME_ContainerManagerServer_LDADD =\
144         libSalomeContainer.la \
145         $(COMMON_LIBS) \
146         ../Basics/libSALOMEBasics.la