#ifdef WIN32
-# ifdef BASICS_EXPORTS
+# if defined BASICS_EXPORTS || defined SALOMEBasics_EXPORTS
# define BASICS_EXPORT __declspec( dllexport )
# else
# define BASICS_EXPORT __declspec( dllimport )
#define _BATCH_Defines_HXX_
#ifdef WIN32
-# ifdef BATCH_EXPORTS
+# if defined BATCH_EXPORTS || defined SalomeBatch_EXPORTS
# define BATCH_EXPORT __declspec( dllexport )
# else
# define BATCH_EXPORT __declspec( dllimport )
#define _HDF_export_HXX_
#ifdef WIN32
-# ifdef HDFPERSIST_EXPORTS
+# if defined HDFPERSIST_EXPORTS || defined SalomeHDFPersist_EXPORTS
# define HDFPERSIST_EXPORT __declspec( dllexport )
# else
# define HDFPERSIST_EXPORT __declspec( dllimport )
#include "Logger.hh"
#ifdef WIN32
-# if defined LOGGER_EXPORTS
+# if defined LOGGER_EXPORTS || defined SalomeLoggerServer_EXPORTS
# define LOGGER_EXPORT __declspec( dllexport )
# else
# define LOGGER_EXPORT __declspec( dllimport )
#define SALOME_NAMINGSERVICE_DEFS_HXX
#ifdef WIN32
-# ifdef NAMINGSERVICE_EXPORTS
+# if defined NAMINGSERVICE_EXPORTS || defined SalomeNS_EXPORTS
# define NAMINGSERVICE_EXPORT __declspec( dllexport )
# else
# define NAMINGSERVICE_EXPORT __declspec( dllimport )
#define _SALOME_LOCALTRACE_HXX_
#ifdef WIN32
-# ifdef SALOMELOCALTRACE_EXPORTS
+# if defined SALOMELOCALTRACE_EXPORTS || defined SALOMELocalTrace_EXPORTS
# define SALOMELOCALTRACE_EXPORT __declspec( dllexport )
# else
# define SALOMELOCALTRACE_EXPORT __declspec( dllimport )
//! for usage without CORBA
#ifdef WIN32
-# ifdef SALOMETRACECOLLECTOR_EXPORTS
+# if defined SALOMETRACECOLLECTOR_EXPORTS || defined with_loggerTraceCollector_EXPORTS
# define SALOMETRACECOLLECTOR_EXPORT __declspec( dllexport )
# else
# define SALOMETRACECOLLECTOR_EXPORT
#define _SALOME_UTILS_HXX_
#ifdef WIN32
-# if defined UTILS_EXPORTS
+# if defined UTILS_EXPORTS || defined OpUtil_EXPORTS
# define UTILS_EXPORT __declspec( dllexport )
# else
# define UTILS_EXPORT __declspec( dllimport )
//therefore (temporary solution) defines are placed below
#ifdef WIN32
-# ifdef UTILS_EXPORTS
+# if defined UTILS_EXPORTS || defined OpUtil_EXPORTS
# define UTILS_EXPORT __declspec( dllexport )
# else
# define UTILS_EXPORT __declspec( dllimport )