1 # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 # SALOME Container : implementation of container and engine for Kernel
24 # Author : Guillaume Boulant (CSSI)
28 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
31 # ===============================================================
32 # Header to be installed
33 # ===============================================================
36 salomeinclude_HEADERS = \
37 SALOME_Component_i.hxx \
38 SALOME_Container_i.hxx \
39 SALOME_FileTransfer_i.hxx \
40 SALOME_FileRef_i.hxx \
41 SALOME_ContainerManager.hxx \
42 Container_init_python.hxx \
43 SALOME_Container.hxx \
46 # Scripts to be installed
47 dist_salomescript_PYTHON =\
48 SALOME_ComponentPy.py \
51 # These files are executable scripts
52 dist_salomescript_SCRIPTS=\
56 # ===============================================================
58 # ===============================================================
61 # This local variable defines the list of CPPFLAGS common to all target in this package.
65 -I$(srcdir)/../Basics \
66 -I$(srcdir)/../SALOMELocalTrace \
67 -I$(srcdir)/../NamingService \
68 -I$(srcdir)/../Utils \
69 -I$(srcdir)/../Registry \
70 -I$(srcdir)/../Notification \
71 -I$(srcdir)/../ResourcesManager \
72 -I$(srcdir)/../HDFPersist \
73 -I$(top_builddir)/idl \
74 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @LIBXML_INCLUDES@
76 # This local variable defines the list of dependant libraries common to all target in this package.
78 ../Registry/libRegistry.la \
79 ../Notification/libSalomeNotification.la \
80 ../ResourcesManager/libSalomeResourcesManager.la \
81 ../ResourcesManager/libResourcesManager.la \
82 ../NamingService/libSalomeNS.la \
83 ../Utils/libOpUtil.la \
84 ../SALOMELocalTrace/libSALOMELocalTrace.la \
85 ../Basics/libSALOMEBasics.la \
86 ../HDFPersist/libSalomeHDFPersist.la \
87 $(top_builddir)/idl/libSalomeIDLKernel.la \
91 if WITH_MPI_SEQ_CONTAINER
92 COMMON_CPPFLAGS += @MPI_INCLUDES@
93 COMMON_LIBS += @MPI_LIBS@
97 # ===============================================================
99 # ===============================================================
101 lib_LTLIBRARIES = libSalomeContainer.la
102 libSalomeContainer_la_SOURCES=\
105 SALOME_FileTransfer_i.cxx \
106 SALOME_FileRef_i.cxx \
107 Container_init_python.cxx \
108 SALOME_ContainerManager.cxx \
111 libSalomeContainer_la_CPPFLAGS =\
114 libSalomeContainer_la_LDFLAGS =\
115 -no-undefined -version-info=0:0:0 \
118 libSalomeContainer_la_LIBADD =\
121 if WITH_PACO_PARALLEL
122 libSalomeContainer_la_CPPFLAGS += -DWITH_PACO_PARALLEL @PACO_INCLUDES@
123 libSalomeContainer_la_LIBADD += @PACO_LIBS@
127 # ===============================================================
128 # Executables targets
129 # ===============================================================
131 bin_PROGRAMS = SALOME_Container
132 noinst_PROGRAMS = TestSalome_file
134 SALOME_Container_SOURCES =\
135 SALOME_Container.cxx \
136 SALOME_Container_SignalsHandler.cxx
138 SALOME_Container_CPPFLAGS =\
141 SALOME_Container_LDADD = \
142 libSalomeContainer.la \
143 ../Basics/libSALOMEBasics.la \
148 if WITH_MPI_SEQ_CONTAINER
149 SALOME_Container_LDADD += $(MPI_LIBS)
152 SALOME_Container_LDFLAGS =\
153 -Xlinker -export-dynamic
155 TestSalome_file_SOURCES =\
158 TestSalome_file_CPPFLAGS =\
161 TestSalome_file_LDADD =\
162 libSalomeContainer.la \
163 ../Basics/libSALOMEBasics.la \
169 @for f in $(dist_salomescript_PYTHON) ; do \
170 chmod -f a+x $(DESTDIR)$(salomescriptdir)/$$f ; \