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 \
52 # These files are executable scripts
53 dist_salomescript_SCRIPTS=\
57 # ===============================================================
59 # ===============================================================
62 # This local variable defines the list of CPPFLAGS common to all target in this package.
66 -I$(srcdir)/../Basics \
67 -I$(srcdir)/../SALOMELocalTrace \
68 -I$(srcdir)/../NamingService \
69 -I$(srcdir)/../Utils \
70 -I$(srcdir)/../Registry \
71 -I$(srcdir)/../Notification \
72 -I$(srcdir)/../ResourcesManager \
73 -I$(srcdir)/../HDFPersist \
74 -I$(top_builddir)/idl \
75 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @LIBXML_INCLUDES@
77 # This local variable defines the list of dependant libraries common to all target in this package.
79 ../Registry/libRegistry.la \
80 ../Notification/libSalomeNotification.la \
81 ../ResourcesManager/libSalomeResourcesManager.la \
82 ../ResourcesManager/libResourcesManager.la \
83 ../NamingService/libSalomeNS.la \
84 ../Utils/libOpUtil.la \
85 ../SALOMELocalTrace/libSALOMELocalTrace.la \
86 ../Basics/libSALOMEBasics.la \
87 ../HDFPersist/libSalomeHDFPersist.la \
88 $(top_builddir)/idl/libSalomeIDLKernel.la \
92 if WITH_MPI_SEQ_CONTAINER
93 COMMON_CPPFLAGS += @MPI_INCLUDES@
94 COMMON_LIBS += @MPI_LIBS@
98 # ===============================================================
100 # ===============================================================
102 lib_LTLIBRARIES = libSalomeContainer.la
103 libSalomeContainer_la_SOURCES=\
106 SALOME_FileTransfer_i.cxx \
107 SALOME_FileRef_i.cxx \
108 Container_init_python.cxx \
109 SALOME_ContainerManager.cxx \
112 libSalomeContainer_la_CPPFLAGS =\
115 libSalomeContainer_la_LDFLAGS =\
116 -no-undefined -version-info=0:0:0 \
119 libSalomeContainer_la_LIBADD =\
122 if WITH_PACO_PARALLEL
123 libSalomeContainer_la_CPPFLAGS += -DWITH_PACO_PARALLEL @PACO_INCLUDES@
124 libSalomeContainer_la_LIBADD += @PACO_LIBS@
128 # ===============================================================
129 # Executables targets
130 # ===============================================================
132 bin_PROGRAMS = SALOME_Container
133 noinst_PROGRAMS = TestSalome_file
135 SALOME_Container_SOURCES =\
136 SALOME_Container.cxx \
137 SALOME_Container_SignalsHandler.cxx
139 SALOME_Container_CPPFLAGS =\
142 SALOME_Container_LDADD = \
143 libSalomeContainer.la \
144 ../Basics/libSALOMEBasics.la \
149 if WITH_MPI_SEQ_CONTAINER
150 SALOME_Container_LDADD += $(MPI_LIBS)
153 SALOME_Container_LDFLAGS =\
154 -Xlinker -export-dynamic
156 TestSalome_file_SOURCES =\
159 TestSalome_file_CPPFLAGS =\
162 TestSalome_file_LDADD =\
163 libSalomeContainer.la \
164 ../Basics/libSALOMEBasics.la \
170 @for f in $(dist_salomescript_PYTHON) ; do \
171 chmod -f a+x $(DESTDIR)$(salomescriptdir)/$$f ; \