Salome HOME
PR: idl files distribution
authorprascle <prascle>
Mon, 6 Feb 2006 17:29:03 +0000 (17:29 +0000)
committerprascle <prascle>
Mon, 6 Feb 2006 17:29:03 +0000 (17:29 +0000)
idl/Makefile.am

index c3527324de21782de087eebfa9020cf01b668504..fd7b7e89350cb7437464fa6bf816e34e8bf0b709 100644 (file)
@@ -8,7 +8,7 @@
 
 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 
-IDL_FILES = \
+BASEIDL_FILES = \
   SALOME_Exception.idl \
   SALOME_Comm.idl \
   SALOME_ModuleCatalog.idl \
@@ -25,12 +25,18 @@ IDL_FILES = \
   SALOME_TestModuleCatalog.idl \
   nstest.idl
 
-if MPI_IS_OK
-  IDL_FILES+= SALOME_MPIObject.idl \
+MPIIDL_FILES = \
+  SALOME_MPIObject.idl \
   SALOME_MPIContainer.idl \
   SALOME_TestMPIComponent.idl  
+
+IDL_FILES = $(BASEIDL_FILES)
+if MPI_IS_OK
+  IDL_FILES += $(MPIIDL_FILES)
 endif
 
+EXTRA_DIST= $(BASEIDL_FILES) $(MPIIDL_FILES)
+
 # This variable defines the files to be installed
 salomeidl_DATA = $(IDL_FILES)