]> SALOME platform Git repositories - modules/multipr.git/commitdiff
Salome HOME
Improve build system: install each module's header files to the sub-directory of... BR_IMP_INCLUDE
authoradv <adv@opencascade.com>
Fri, 19 Feb 2010 15:47:53 +0000 (15:47 +0000)
committeradv <adv@opencascade.com>
Fri, 19 Feb 2010 15:47:53 +0000 (15:47 +0000)
adm_local/unix/config_files/check_MULTIPR.m4
adm_local/unix/make_common_starter.am
idl/Makefile.am
src/MULTIPR/MULTIPR_i.cxx
src/MULTIPR/MULTIPR_i.hxx
src/MULTIPRGUI/MULTIPR_GUI.cxx
src/MULTIPRGUI/MULTIPR_GUI.h
src/MULTIPRGUI/MULTIPR_GUI_Dlg.cxx
src/MULTIPRGUI/MULTIPR_GUI_Dlg.h

index 9f10db0018433cbef071b51b6ce4d700ea6e3f1d..a5f3c599a5deb40b1babfa293071bea35eb14a28 100755 (executable)
@@ -48,7 +48,7 @@ if test -f ${MULTIPR_DIR}/lib/salome/libMULTIPR.so  ; then
   AC_SUBST(MULTIPR_ROOT_DIR)
   
   MULTIPR_LDFLAGS=-L${MULTIPR_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
-  MULTIPR_CXXFLAGS=-I${MULTIPR_DIR}/include/salome
+  MULTIPR_CXXFLAGS="-I${MULTIPR_DIR}/include/salome -I${MULTIPR_DIR}/include/salome/skel"
 
   AC_SUBST(MULTIPR_LDFLAGS)
   AC_SUBST(MULTIPR_CXXFLAGS)
index cd851519b43b9a45f237e8476506361a49c93fb6..42063b9dc26affab98c1ddb999487d83da1b850c 100644 (file)
@@ -34,7 +34,8 @@ AM_CPPFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h
 # ============================================================
 # Standard directory for installation
 #
-salomeincludedir   = $(includedir)/salome
+salomeincludedir   = $(includedir)/salome/@MODULE_NAME@
+salomeskeldir      = $(includedir)/salome/skel
 libdir             = $(prefix)/lib@LIB_LOCATION_SUFFIX@/salome
 bindir             = $(prefix)/bin/salome
 salomescriptdir    = $(bindir)
index e5ae78d3f44f071631c5c198e3c990c4c4487dae..4904a322bd8bcd0633321f6bf5e91f76288ae272 100644 (file)
@@ -41,7 +41,7 @@ nodist_libSalomeIDLMULTIPR_la_SOURCES = \
 MULTIPRDynSK.cc: MULTIPRSK.cc
 
 # header files must be exported: other modules have to use this library
-nodist_salomeinclude_HEADERS = $(BASEIDL_FILES:%.idl=%.hh)
+nodist_salomeskel_HEADERS = $(BASEIDL_FILES:%.idl=%.hh)
 
 libSalomeIDLMULTIPR_la_CPPFLAGS =                      \
        $(KERNEL_CXXFLAGS)                      \
index 147c6b7af493f5b880c206e2c5d833796e811d83..f48eb75aa0f0202a06a9780812dfc246fe0feadb 100644 (file)
 using namespace std;
 
 #include "MULTIPR_i.hxx"
-#include "utilities.h"
+#include <kernel/utilities.h>
 
 #include <string>
 #include <sstream>
 
-#include "MULTIPR_API.hxx"
-#include "MULTIPR_Exceptions.hxx"
-#include "MULTIPR_Utils.hxx"
+#include <med/MULTIPR_API.hxx>
+#include <med/MULTIPR_Exceptions.hxx>
+#include <med/MULTIPR_Utils.hxx>
 
-#include <SALOMEDS_Tool.hxx>
+#include <kernel/SALOMEDS_Tool.hxx>
 
 #include CORBA_CLIENT_HEADER(SALOMEDS)
 #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
index 7e1eaed10f0003ace5958ffcffc956b29caa98d6..0e501d302df98ab6e4c83ac5b733c73804d047b9 100644 (file)
 
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(MULTIPR)
-#include "SALOME_Component_i.hxx"
-#include "Utils_CorbaException.hxx"
+#include <kernel/SALOME_Component_i.hxx>
+#include <kernel/Utils_CorbaException.hxx>
 
-#include "SALOME_GenericObj_i.hh"
+#include <kernel/SALOME_GenericObj_i.hh>
 
-#include "MULTIPR_Obj.hxx"
+#include <med/MULTIPR_Obj.hxx>
 
 #include <map>
 #include <vector>
index 397842c4c233dc262002d25d52ef3bc8e371d8f6..18e4cb429101498b88d2079252a1f4fa8c55a602 100644 (file)
 // MULTIPR Includes
 #include "MULTIPR_GUI.h"
 #include "MULTIPR_GUI_Dlg.h"
-#include "MULTIPR_Utils.hxx"
+#include <med/MULTIPR_Utils.hxx>
 
 // Salome Includes
-#include <SalomeApp_Application.h>
-#include <SalomeApp_DataModel.h>
-#include <SalomeApp_Study.h>
-#include <SalomeApp_CheckFileDlg.h>
+#include <gui/SalomeApp_Application.h>
+#include <gui/SalomeApp_DataModel.h>
+#include <gui/SalomeApp_Study.h>
+#include <gui/SalomeApp_CheckFileDlg.h>
 
-#include <LightApp_Study.h>
-#include <LightApp_DataModel.h>
-#include <LightApp_DataOwner.h>
-#include <LightApp_SelectionMgr.h>
+#include <gui/LightApp_Study.h>
+#include <gui/LightApp_DataModel.h>
+#include <gui/LightApp_DataOwner.h>
+#include <gui/LightApp_SelectionMgr.h>
 
-#include <CAM_DataModel.h>
-#include <CAM_Module.h>
+#include <gui/CAM_DataModel.h>
+#include <gui/CAM_Module.h>
 
-#include <SUIT_MessageBox.h>
-#include <SUIT_ResourceMgr.h>
-#include <SUIT_Session.h>
+#include <gui/SUIT_MessageBox.h>
+#include <gui/SUIT_ResourceMgr.h>
+#include <gui/SUIT_Session.h>
 
-#include <SALOME_LifeCycleCORBA.hxx>
-#include <SALOMEDS_Study.hxx>
+#include <kernel/SALOME_LifeCycleCORBA.hxx>
+#include <kernel/SALOMEDS_Study.hxx>
 
-#include <SALOME_Event.h>
+#include <gui/SALOME_Event.h>
 
-#include <QtxPopupMgr.h>
+#include <gui/QtxPopupMgr.h>
 
 // QT Includes
 #include <QApplication>
index 91aa2d282bbdbaed7a748a67ffa344f09450283f..438689a24710ddb55a24eeb3daa1f24f91501279 100644 (file)
 // Includes section
 //*****************************************************************************
 
-#include <SalomeApp_Module.h>
-#include <LightApp_DataObject.h>
-//#include <LightApp_DataModel.h>
-#include <SalomeApp_DataModel.h>
+#include <gui/SalomeApp_Module.h>
+#include <gui/LightApp_DataObject.h>
+//#include <gui/LightApp_DataModel.h>
+#include <gui/SalomeApp_DataModel.h>
 
 #include <SALOMEconfig.h>
 #include CORBA_CLIENT_HEADER(MULTIPR)
 
-#include "MULTIPR_ProgressCallback.hxx"
+#include <med/MULTIPR_ProgressCallback.hxx>
 
 
 //*****************************************************************************
index 0f53ce08a675aada79e87108fb76b40afd348873..f6a2b93862af74a890fb819879be85eae5188697 100644 (file)
 #include "MULTIPR_GUI.h"
 
 // Salome Includes
-#include <SUIT_MessageBox.h>
-#include <SUIT_ResourceMgr.h>
-#include <SUIT_Session.h>
-#include <SalomeApp_Application.h>
-#include <SalomeApp_CheckFileDlg.h>
-#include <LightApp_SelectionMgr.h>
-
-#include <SALOME_LifeCycleCORBA.hxx>
+#include <gui/SUIT_MessageBox.h>
+#include <gui/SUIT_ResourceMgr.h>
+#include <gui/SUIT_Session.h>
+#include <gui/SalomeApp_Application.h>
+#include <gui/SalomeApp_CheckFileDlg.h>
+#include <gui/LightApp_SelectionMgr.h>
+
+#include <kernel/SALOME_LifeCycleCORBA.hxx>
 
 // QT Includes
 #include <QApplication>
index 7e6916395eb2009e11ff5d8197cb5097112dd908..1ae72885f2ebffb44925714f8e62fbc39bb5e854 100644 (file)
@@ -22,7 +22,7 @@
 #include <QDialog>
 #include <QProgressDialog>
 
-#include "MULTIPR_ProgressCallback.hxx"
+#include <med/MULTIPR_ProgressCallback.hxx>
 
 
 //*****************************************************************************