1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License.
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 # ============================================================
24 # The following is to avoid PACKAGE_... env variable
25 # redefinition compilation warnings
26 # ============================================================
29 AM_CXXFLAGS = -I$(top_builddir)/salome_adm -include SALOMEconfig.h
30 AM_CPPFLAGS = -I$(top_builddir)/salome_adm -include SALOMEconfig.h
36 # ============================================================
37 # This file defines the common definitions used in several
38 # Makefile. This file must be included, if needed, by the file
40 # ============================================================
41 # Standard directory for installation
43 salomeincludedir = $(includedir)/salome
44 libdir = $(prefix)/lib@LIB_LOCATION_SUFFIX@/salome
45 bindir = $(prefix)/bin/salome
46 salomescriptdir = $(bindir)
47 # _GBO_SALOME_PYTHON_PACKAGING_
48 # Maybe we could try to suppress on stage in this folder path, for
49 # example by installing by default the python files in site-packages
50 # folder. Then, python packages could be installed in the
51 # site-packages/salome folder (main package containing the root
52 # __init__.py file). This could be done by replacing salomepythondir
53 # and salomepyexecdir by pythondir and pyexecdir respectively (TO BE
55 salomepythondir = $(pythondir)/salome
56 salomepyexecdir = $(pyexecdir)/salome
57 salomepypkgdir = $(salomepythondir)/salome
59 # Directory for installing idl files
60 salomeidldir = $(prefix)/idl/salome
62 # Directory for installing resource files
63 salomeresdir = $(prefix)/share/salome/resources/@MODULE_NAME@
65 # Directory for installation cmake files
66 salome_cmakedir = $(prefix)/salome_adm/cmake_files
68 # Directories for installing admin files
69 salomeadmdir = $(prefix)/salome_adm
70 salomeadmuxdir = $(salomeadmdir)/unix
71 salomem4dir = $(salomeadmdir)/unix/config_files
72 salome4deprdir = $(salomeadmdir)/unix/config_files/DEPRECATED
74 # Shared modules installation directory
75 sharedpkgpythondir =$(salomepythondir)/shared_modules
77 # Documentation directory
78 docdir = $(datadir)/doc/salome
81 CMAKEFILES = $(notdir $(wildcard $(srcdir)/CMakeLists.txt))
82 EXTRA_DIST = $(CMAKEFILES)