Salome_file_i.hxx
# Scripts to be installed
-dist_salomescript_DATA =\
+dist_salomescript_PYTHON =\
SALOME_ComponentPy.py \
+ SALOME_PyNode.py \
SALOME_Container.py
# These files are executable scripts
# This local variable defines the list of CPPFLAGS common to all target in this package.
COMMON_CPPFLAGS=\
@PYTHON_INCLUDES@ \
- @MPI_INCLUDES@ \
@HDF5_INCLUDES@ \
- -I$(srcdir)/../Batch \
-I$(srcdir)/../Basics \
-I$(srcdir)/../SALOMELocalTrace \
-I$(srcdir)/../NamingService \
-I$(srcdir)/../Notification \
-I$(srcdir)/../ResourcesManager \
-I$(srcdir)/../HDFPersist \
- -I$(top_builddir)/salome_adm/unix \
-I$(top_builddir)/idl \
@CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @LIBXML_INCLUDES@
../SALOMELocalTrace/libSALOMELocalTrace.la \
../Basics/libSALOMEBasics.la \
../HDFPersist/libSalomeHDFPersist.la \
- ../Batch/libSalomeBatch.la \
$(top_builddir)/idl/libSalomeIDLKernel.la \
- @MPI_LIBS@ \
@CORBA_LIBS@ \
$(PYTHON_LIBS)
+if WITH_MPI_SEQ_CONTAINER
+COMMON_CPPFLAGS += @MPI_INCLUDES@
+COMMON_LIBS += @MPI_LIBS@
+endif
+
#
# ===============================================================
# Libraries targets
libSalomeContainer.la \
../Basics/libSALOMEBasics.la \
$(HDF5_LIBS) \
- $(MPI_LIBS) \
$(CORBA_LIBS) \
$(PYTHON_LIBS)
+if WITH_MPI_SEQ_CONTAINER
+SALOME_Container_LDADD += $(MPI_LIBS)
+endif
+
SALOME_Container_LDFLAGS =\
-Xlinker -export-dynamic
libSalomeContainer.la \
../Basics/libSALOMEBasics.la \
$(HDF5_LIBS) \
- $(MPI_LIBS) \
$(CORBA_LIBS) \
$(PYTHON_LIBS)
+
+install-data-hook:
+ @for f in $(dist_salomescript_PYTHON) ; do \
+ chmod -f a+x $(DESTDIR)$(salomescriptdir)/$$f ; \
+ done