Salome HOME
Corrected implementation of MESSAGE functionality on Windows
[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         SALOME_Container.hxx
46
47 # Scripts to be installed
48 dist_salomescript_DATA =\
49         SALOME_ComponentPy.py \
50         SALOME_Container.py
51
52 # These files are executable scripts
53 dist_salomescript_SCRIPTS=\
54         SALOME_ContainerPy.py
55
56 #
57 # ===============================================================
58 # Local definitions
59 # ===============================================================
60 #
61
62 # This local variable defines the list of CPPFLAGS common to all target in this package.
63 COMMON_CPPFLAGS=\
64         @PYTHON_INCLUDES@ \
65         @MPI_INCLUDES@ \
66         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
67         @QT_MT_INCLUDES@ \
68         -I$(srcdir)/../Basics \
69         -I$(srcdir)/../SALOMELocalTrace \
70         -I$(srcdir)/../NamingService \
71         -I$(srcdir)/../Utils \
72         -I$(srcdir)/../Registry \
73         -I$(srcdir)/../Notification \
74         -I$(srcdir)/../ResourcesManager \
75         -I$(top_builddir)/salome_adm/unix \
76         -I$(top_builddir)/idl \
77         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ 
78
79 # This local variable defines the list of dependant libraries common to all target in this package.
80 COMMON_LIBS =\
81         ../Registry/libRegistry.la \
82         ../Notification/libSalomeNotification.la \
83         ../ResourcesManager/libSalomeResourcesManager.la \
84         ../NamingService/libSalomeNS.la \
85         ../Utils/libOpUtil.la \
86         ../SALOMELocalTrace/libSALOMELocalTrace.la \
87         ../Basics/libSALOMEBasics.la \
88         $(top_builddir)/idl/libSalomeIDLKernel.la\
89         @MPI_LIBS@ \
90         @CORBA_LIBS@
91
92 #       @PYTHON_LIBS@
93
94 #
95 # ===============================================================
96 # Libraries targets
97 # ===============================================================
98 #
99 lib_LTLIBRARIES = libSalomeContainer.la
100 libSalomeContainer_la_SOURCES=\
101         Component_i.cxx \
102         Container_i.cxx \
103         SALOME_FileTransfer_i.cxx \
104         SALOME_FileRef_i.cxx \
105         Container_init_python.cxx \
106         SALOME_ContainerManager.cxx
107
108 libSalomeContainer_la_CPPFLAGS =\
109         $(COMMON_CPPFLAGS)
110
111 libSalomeContainer_la_LDFLAGS  =\
112         -no-undefined -version-info=0:0:0 \
113         @LDEXPDYNFLAGS@
114
115 libSalomeContainer_la_LIBADD =\
116         $(PYTHON_LIBS) \
117         $(COMMON_LIBS)
118
119 if WITH_PACO_PARALLEL
120 libSalomeContainer_la_CPPFLAGS += -DWITH_PACO_PARALLEL @PACO_INCLUDES@
121 libSalomeContainer_la_LIBADD += @PACO_LIBS@
122 endif
123
124 #
125 # ===============================================================
126 # Executables targets
127 # ===============================================================
128 #
129 bin_PROGRAMS = SALOME_Container SALOME_ContainerManagerServer
130 SALOME_Container_SOURCES =\
131         SALOME_Container.cxx \
132         SALOME_Container_SignalsHandler.cxx
133
134 SALOME_Container_CPPFLAGS =\
135         $(COMMON_CPPFLAGS)
136
137 SALOME_Container_LDADD =\
138         libSalomeContainer.la \
139         $(COMMON_LIBS) \
140         ../Basics/libSALOMEBasics.la
141
142 SALOME_ContainerManagerServer_SOURCES =\
143         SALOME_ContainerManagerServer.cxx 
144
145 SALOME_ContainerManagerServer_CPPFLAGS=\
146         $(COMMON_CPPFLAGS)
147
148 SALOME_ContainerManagerServer_LDADD =\
149         libSalomeContainer.la \
150         $(COMMON_LIBS) \
151         ../Basics/libSALOMEBasics.la