# $Header$
top_srcdir=@top_srcdir@
-top_builddir=../..
+top_builddir=..
srcdir=@srcdir@
VPATH=.:@srcdir@
@COMMENCE@
-SUBDIRS = MSG2QM Logger Utils PatchQt NamingService Registry ModuleCatalog DataTypeCatalog \
- RessourcesCatalog Notification NOTIFICATION_SWIG Container TestContainer LifeCycleCORBA \
- HDFPersist OBJECT TOOLSDS SALOMEDS SALOMEGUI Plot2d VTKViewer OCCViewer SUPERVGraph Session \
- SALOME_SWIG TOOLSGUI SALOME_PY RegistryDisplay ModuleGenerator \
- SALOME_PYQT Loader
+ifeq (@WITHIHM@,yes)
+SUBDIRS = MSG2QM SALOMELocalTrace SALOMETraceCollector Logger Utils CASCatch PatchQt \
+ GenericObj MEDWrapper NamingService Registry \
+ ModuleCatalog DataTypeCatalog RessourcesCatalog \
+ ResourcesManager Notification NOTIFICATION_SWIG \
+ Container TestContainer LifeCycleCORBA HDFPersist Prs \
+ VTKFilter OBJECT \
+ TOOLSDS SALOMEDS Event \
+ SALOMEGUI TOOLSGUI Plot2d VTKViewer OCCViewer \
+ SUPERVGraph \
+ Session SALOME_SWIG SALOME_SWIG_WITHOUTIHM SALOME_PY \
+ RegistryDisplay ModuleGenerator SALOME_PYQT Loader Communication
+endif
+
+ifeq (@WITHIHM@,no)
+SUBDIRS = MSG2QM SALOMELocalTrace SALOMETraceCollector Logger Utils CASCatch \
+ GenericObj MEDWrapper NamingService Registry \
+ ModuleCatalog DataTypeCatalog RessourcesCatalog \
+ ResourcesManager Notification NOTIFICATION_SWIG \
+ Container TestContainer LifeCycleCORBA HDFPersist Prs \
+ TOOLSDS SALOMEDS Event \
+ SALOME_SWIG_WITHOUTIHM ModuleGenerator Loader Communication
+endif
+
+ifeq (@mpi_ok@,yes)
+ SUBDIRS+= MPIContainer MPILifeCycleCORBA TestMPIContainer
+endif
-ifeq (@WITHMPICH@,yes)
- SUBDIRS+= MPIContainer
+ifeq (@WITH_BATCH@,yes)
+ SUBDIRS += Batch Batch_SWIG
endif
@MODULE@