Improve build system: install each module's header files to the sub-directory of ${prefix}/include/salome/${module_name}

This commit is contained in:
adv 2010-02-19 15:48:19 +00:00
parent b6d4daa757
commit 368dfaae0d
41 changed files with 129 additions and 128 deletions

View File

@ -60,7 +60,7 @@ if test -f ${NETGENPLUGIN_DIR}/lib${LIB_LOCATION_SUFFIX}/salome/libNETGENEngine.
AC_SUBST(NETGENPLUGIN_ROOT_DIR)
NETGENPLUGIN_LDFLAGS=-L${NETGENPLUGIN_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
NETGENPLUGIN_CXXFLAGS=-I${NETGENPLUGIN_DIR}/include/salome
NETGENPLUGIN_CXXFLAGS="-I${NETGENPLUGIN_DIR}/include/salome -I${NETGENPLUGIN_DIR}/include/salome/skel"
AC_SUBST(NETGENPLUGIN_LDFLAGS)
AC_SUBST(NETGENPLUGIN_CXXFLAGS)

View 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)

View File

@ -38,7 +38,7 @@ lib_LTLIBRARIES = libSalomeIDLNETGENPLUGIN.la
nodist_libSalomeIDLNETGENPLUGIN_la_SOURCES = NETGENPlugin_AlgorithmSK.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)
libSalomeIDLNETGENPLUGIN_la_CPPFLAGS = \
$(KERNEL_CXXFLAGS) \

View File

@ -24,7 +24,7 @@
// Author : Michael Zorin
// Module : NETGENPlugin
// $Header:
//#include "SMESHGUI_Hypotheses.h"
//#include <smesh/SMESHGUI_Hypotheses.h>
//
#include "NETGENPluginGUI_HypothesisCreator.h"
#include "NETGENPluginGUI_SimpleCreator.h"

View File

@ -27,18 +27,18 @@
//
#include "NETGENPluginGUI_HypothesisCreator.h"
#include <SMESHGUI_Utils.h>
#include <SMESHGUI_HypothesesUtils.h>
#include <SMESHGUI.h>
#include <smesh/SMESHGUI_Utils.h>
#include <smesh/SMESHGUI_HypothesesUtils.h>
#include <smesh/SMESHGUI.h>
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <gui/SUIT_Session.h>
#include <gui/SUIT_ResourceMgr.h>
#include <SalomeApp_Tools.h>
#include <gui/SalomeApp_Tools.h>
#include <SalomeApp_DoubleSpinBox.h>
#include <gui/SalomeApp_DoubleSpinBox.h>
#include <QComboBox>
#include <QLabel>

View File

@ -30,7 +30,7 @@
#include "NETGENPluginGUI.h"
#include <SMESHGUI_Hypotheses.h>
#include <smesh/SMESHGUI_Hypotheses.h>
class SalomeApp_DoubleSpinBox;
class QComboBox;

View File

@ -25,20 +25,20 @@
//
#include "NETGENPluginGUI_SimpleCreator.h"
#include <SMESHGUI_Utils.h>
#include <SMESHGUI_HypothesesUtils.h>
#include <SMESHGUI_SpinBox.h>
#include <SMESHGUI.h>
#include <smesh/SMESHGUI_Utils.h>
#include <smesh/SMESHGUI_HypothesesUtils.h>
#include <smesh/SMESHGUI_SpinBox.h>
#include <smesh/SMESHGUI.h>
// IDL includes
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <gui/SUIT_Session.h>
#include <gui/SUIT_ResourceMgr.h>
// SALOME GUI includes
#include <SalomeApp_Tools.h>
#include <SalomeApp_IntSpinBox.h>
#include <gui/SalomeApp_Tools.h>
#include <gui/SalomeApp_IntSpinBox.h>
// Qt includes
#include <QLabel>

View File

@ -28,7 +28,7 @@
#include "NETGENPluginGUI.h"
// SMESH includes
#include <SMESHGUI_Hypotheses.h>
#include <smesh/SMESHGUI_Hypotheses.h>
class QCheckBox;
class QLineEdit;

View File

@ -26,7 +26,7 @@
// Project : SALOME
//
#include "NETGENPlugin_Hypothesis.hxx"
#include <utilities.h>
#include <kernel/utilities.h>
using namespace std;

View File

@ -30,8 +30,8 @@
#include "NETGENPlugin_Defs.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <smesh/SMESH_Hypothesis.hxx>
#include <kernel/Utils_SALOME_Exception.hxx>
// Parameters for work of NETGEN
//

View File

@ -28,7 +28,7 @@
//=============================================================================
//
#include "NETGENPlugin_Hypothesis_2D.hxx"
#include <utilities.h>
#include <kernel/utilities.h>
using namespace std;

View File

@ -33,7 +33,7 @@
#include "NETGENPlugin_Defs.hxx"
#include "NETGENPlugin_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <kernel/Utils_SALOME_Exception.hxx>
// Parameters for work of NETGEN.
// This class is just to give 2D dimension, actually

View File

@ -28,11 +28,11 @@
//=============================================================================
//
#include "NETGENPlugin_Hypothesis_2D_i.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_PythonDump.hxx"
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_PythonDump.hxx>
#include "Utils_CorbaException.hxx"
#include "utilities.h"
#include <kernel/Utils_CorbaException.hxx>
#include <kernel/utilities.h>
using namespace std;

View File

@ -28,11 +28,11 @@
//=============================================================================
//
#include "NETGENPlugin_Hypothesis_i.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_PythonDump.hxx"
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_PythonDump.hxx>
#include "Utils_CorbaException.hxx"
#include "utilities.h"
#include <kernel/Utils_CorbaException.hxx>
#include <kernel/utilities.h>
using namespace std;

View File

@ -35,7 +35,7 @@
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include "SMESH_Hypothesis_i.hxx"
#include <smesh/SMESH_Hypothesis_i.hxx>
#include "NETGENPlugin_Hypothesis.hxx"
class SMESH_Gen;

View File

@ -30,15 +30,15 @@
#include "NETGENPlugin_Hypothesis_2D.hxx"
#include "NETGENPlugin_SimpleHypothesis_3D.hxx"
#include <SMESH_Mesh.hxx>
#include <SMESH_Comment.hxx>
#include <SMESH_ComputeError.hxx>
#include <SMESH_subMesh.hxx>
#include <SMESH_MesherHelper.hxx>
#include <SMESHDS_Mesh.hxx>
#include <SMDS_MeshElement.hxx>
#include <SMDS_MeshNode.hxx>
#include <utilities.h>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/SMESH_Comment.hxx>
#include <smesh/SMESH_ComputeError.hxx>
#include <smesh/SMESH_subMesh.hxx>
#include <smesh/SMESH_MesherHelper.hxx>
#include <smesh/SMESHDS_Mesh.hxx>
#include <smesh/SMDS_MeshElement.hxx>
#include <smesh/SMDS_MeshNode.hxx>
#include <kernel/utilities.h>
#include <vector>
#include <limits>

View File

@ -29,7 +29,7 @@
#define _NETGENPlugin_Mesher_HXX_
#include "NETGENPlugin_Defs.hxx"
#include "StdMeshers_FaceSide.hxx"
#include <smesh/StdMeshers_FaceSide.hxx>
#include <map>
class SMESH_Mesh;

View File

@ -32,11 +32,11 @@
#include "NETGENPlugin_SimpleHypothesis_2D.hxx"
#include "NETGENPlugin_Mesher.hxx"
#include <SMESH_Gen.hxx>
#include <SMESH_Mesh.hxx>
#include <SMESH_ControlsDef.hxx>
#include <SMESHDS_Mesh.hxx>
#include <utilities.h>
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/SMESH_ControlsDef.hxx>
#include <smesh/SMESHDS_Mesh.hxx>
#include <kernel/utilities.h>
#include <list>

View File

@ -32,10 +32,10 @@
#include "NETGENPlugin_Defs.hxx"
#include "SMESH_2D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_MaxElementVolume.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <smesh/SMESH_2D_Algo.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/StdMeshers_MaxElementVolume.hxx>
#include <kernel/Utils_SALOME_Exception.hxx>
//class NETGENPlugin_Hypothesis_2D;

View File

@ -32,11 +32,11 @@
#include "NETGENPlugin_SimpleHypothesis_2D.hxx"
#include "NETGENPlugin_Mesher.hxx"
#include <SMESH_Gen.hxx>
#include <SMESH_Mesh.hxx>
#include <SMESH_ControlsDef.hxx>
#include <SMESHDS_Mesh.hxx>
#include <utilities.h>
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/SMESH_ControlsDef.hxx>
#include <smesh/SMESHDS_Mesh.hxx>
#include <kernel/utilities.h>
#include <list>

View File

@ -32,10 +32,10 @@
#include "NETGENPlugin_Defs.hxx"
#include "SMESH_3D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_MaxElementVolume.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <smesh/SMESH_3D_Algo.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/StdMeshers_MaxElementVolume.hxx>
#include <kernel/Utils_SALOME_Exception.hxx>
//class NETGENPlugin_Hypothesis;

View File

@ -26,10 +26,10 @@
// $Header$
//
#include "NETGENPlugin_NETGEN_2D3D_i.hxx"
#include "SMESH_Gen.hxx"
#include <smesh/SMESH_Gen.hxx>
#include "Utils_CorbaException.hxx"
#include "utilities.h"
#include <kernel/Utils_CorbaException.hxx>
#include <kernel/utilities.h>
using namespace std;

View File

@ -33,7 +33,7 @@
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include "SMESH_3D_Algo_i.hxx"
#include <smesh/SMESH_3D_Algo_i.hxx>
#include "NETGENPlugin_NETGEN_2D3D.hxx"
// ======================================================

View File

@ -27,23 +27,23 @@
#include "NETGENPlugin_Mesher.hxx"
#include "SMDS_MeshElement.hxx"
#include "SMDS_MeshNode.hxx"
#include "SMESHDS_Mesh.hxx"
#include "SMESH_Comment.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_MesherHelper.hxx"
#include "StdMeshers_FaceSide.hxx"
#include "StdMeshers_MaxElementArea.hxx"
#include "StdMeshers_LengthFromEdges.hxx"
#include "StdMeshers_QuadranglePreference.hxx"
#include <smesh/SMDS_MeshElement.hxx>
#include <smesh/SMDS_MeshNode.hxx>
#include <smesh/SMESHDS_Mesh.hxx>
#include <smesh/SMESH_Comment.hxx>
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/SMESH_MesherHelper.hxx>
#include <smesh/StdMeshers_FaceSide.hxx>
#include <smesh/StdMeshers_MaxElementArea.hxx>
#include <smesh/StdMeshers_LengthFromEdges.hxx>
#include <smesh/StdMeshers_QuadranglePreference.hxx>
#include <Precision.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_Failure.hxx>
#include "utilities.h"
#include <kernel/utilities.h>
#include <list>
#include <vector>

View File

@ -26,8 +26,8 @@
#ifndef _NETGENPlugin_NETGEN_2D_ONLY_HXX_
#define _NETGENPlugin_NETGEN_2D_ONLY_HXX_
#include "SMESH_2D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include <smesh/SMESH_2D_Algo.hxx>
#include <smesh/SMESH_Mesh.hxx>
/*#define OCCGEOMETRY
#include <occgeom.hpp>

View File

@ -25,9 +25,9 @@
// Module : SMESH
//
#include "NETGENPlugin_NETGEN_2D_ONLY_i.hxx"
#include "SMESH_Gen.hxx"
#include <smesh/SMESH_Gen.hxx>
#include "utilities.h"
#include <kernel/utilities.h>
//=============================================================================
/*!

View File

@ -30,7 +30,7 @@
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include "SMESH_2D_Algo_i.hxx"
#include <smesh/SMESH_2D_Algo_i.hxx>
#include "NETGENPlugin_NETGEN_2D_ONLY.hxx"
// ======================================================

View File

@ -26,10 +26,10 @@
// $Header$
//
#include "NETGENPlugin_NETGEN_2D_i.hxx"
#include "SMESH_Gen.hxx"
#include <smesh/SMESH_Gen.hxx>
#include "Utils_CorbaException.hxx"
#include "utilities.h"
#include <kernel/Utils_CorbaException.hxx>
#include <kernel/utilities.h>
using namespace std;

View File

@ -33,7 +33,7 @@
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include "SMESH_2D_Algo_i.hxx"
#include <smesh/SMESH_2D_Algo_i.hxx>
#include "NETGENPlugin_NETGEN_2D.hxx"
// ======================================================

View File

@ -31,16 +31,16 @@
#include "NETGENPlugin_Mesher.hxx"
#include "SMDS_MeshElement.hxx"
#include "SMDS_MeshNode.hxx"
#include "SMESHDS_Mesh.hxx"
#include "SMESH_Comment.hxx"
#include "SMESH_ControlsDef.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_MesherHelper.hxx"
#include "SMESH_MeshEditor.hxx"
#include "StdMeshers_QuadToTriaAdaptor.hxx"
#include <smesh/SMDS_MeshElement.hxx>
#include <smesh/SMDS_MeshNode.hxx>
#include <smesh/SMESHDS_Mesh.hxx>
#include <smesh/SMESH_Comment.hxx>
#include <smesh/SMESH_ControlsDef.hxx>
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/SMESH_MesherHelper.hxx>
#include <smesh/SMESH_MeshEditor.hxx>
#include <smesh/StdMeshers_QuadToTriaAdaptor.hxx>
#include <BRep_Tool.hxx>
#include <GProp_GProps.hxx>
@ -52,7 +52,7 @@
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx>
#include "utilities.h"
#include <kernel/utilities.h>
#include <list>
#include <vector>

View File

@ -33,10 +33,10 @@
#include "NETGENPlugin_Defs.hxx"
#include "SMESH_3D_Algo.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_MaxElementVolume.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <smesh/SMESH_3D_Algo.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/StdMeshers_MaxElementVolume.hxx>
#include <kernel/Utils_SALOME_Exception.hxx>
class NETGENPLUGIN_EXPORT NETGENPlugin_NETGEN_3D: public SMESH_3D_Algo
{

View File

@ -27,10 +27,10 @@
// $Header$
//
#include "NETGENPlugin_NETGEN_3D_i.hxx"
#include "SMESH_Gen.hxx"
#include <smesh/SMESH_Gen.hxx>
#include "Utils_CorbaException.hxx"
#include "utilities.h"
#include <kernel/Utils_CorbaException.hxx>
#include <kernel/utilities.h>
using namespace std;

View File

@ -34,7 +34,7 @@
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include "SMESH_3D_Algo_i.hxx"
#include <smesh/SMESH_3D_Algo_i.hxx>
#include "NETGENPlugin_NETGEN_3D.hxx"
// ======================================================

View File

@ -28,13 +28,13 @@
#include "NETGENPlugin_SimpleHypothesis_2D.hxx"
#include "NETGENPlugin_Hypothesis.hxx"
#include <SMESH_Mesh.hxx>
#include <SMESH_subMesh.hxx>
#include <SMESH_ControlsDef.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/SMESH_subMesh.hxx>
#include <smesh/SMESH_ControlsDef.hxx>
#include <TopExp_Explorer.hxx>
#include <utilities.h>
#include <kernel/utilities.h>
using namespace std;

View File

@ -30,8 +30,8 @@
#include "NETGENPlugin_Defs.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include <smesh/SMESH_Hypothesis.hxx>
#include <kernel/Utils_SALOME_Exception.hxx>
// Simplified parameters of NETGEN
//

View File

@ -28,11 +28,11 @@
#include "NETGENPlugin_SimpleHypothesis_2D_i.hxx"
#include "NETGENPlugin_SimpleHypothesis_2D.hxx"
#include <SMESH_Gen.hxx>
#include <SMESH_PythonDump.hxx>
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_PythonDump.hxx>
#include <Utils_CorbaException.hxx>
#include <utilities.h>
#include <kernel/Utils_CorbaException.hxx>
#include <kernel/utilities.h>
using namespace std;

View File

@ -33,7 +33,7 @@
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
#include "SMESH_Hypothesis_i.hxx"
#include <smesh/SMESH_Hypothesis_i.hxx>
class SMESH_Gen;
class NETGENPlugin_SimpleHypothesis_2D;

View File

@ -28,13 +28,13 @@
#include "NETGENPlugin_SimpleHypothesis_3D.hxx"
#include "NETGENPlugin_Hypothesis.hxx"
#include <SMESH_ControlsDef.hxx>
#include <SMESH_Mesh.hxx>
#include <SMESH_subMesh.hxx>
#include <smesh/SMESH_ControlsDef.hxx>
#include <smesh/SMESH_Mesh.hxx>
#include <smesh/SMESH_subMesh.hxx>
#include <TopExp_Explorer.hxx>
#include <utilities.h>
#include <kernel/utilities.h>
using namespace std;

View File

@ -31,7 +31,7 @@
#include "NETGENPlugin_Defs.hxx"
#include "NETGENPlugin_SimpleHypothesis_2D.hxx"
#include <Utils_SALOME_Exception.hxx>
#include <kernel/Utils_SALOME_Exception.hxx>
// Simplified parameters of NETGEN
//

View File

@ -28,11 +28,11 @@
#include "NETGENPlugin_SimpleHypothesis_3D_i.hxx"
#include "NETGENPlugin_SimpleHypothesis_3D.hxx"
#include <SMESH_Gen.hxx>
#include <SMESH_PythonDump.hxx>
#include <smesh/SMESH_Gen.hxx>
#include <smesh/SMESH_PythonDump.hxx>
#include <Utils_CorbaException.hxx>
#include <utilities.h>
#include <kernel/Utils_CorbaException.hxx>
#include <kernel/utilities.h>
using namespace std;

View File

@ -25,7 +25,7 @@
// Module : SMESH
// $Header$
//
#include "utilities.h"
#include <kernel/utilities.h>
#include "NETGENPlugin_NETGEN_3D_i.hxx"
#include "NETGENPlugin_NETGEN_2D_i.hxx"