Salome HOME
*** empty log message ***
[modules/kernel.git] / salome_adm / unix / make_common_starter.am
1 #  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
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.
10 #
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.
15 #
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
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22
23 # ============================================================
24 # The following is to avoid PACKAGE_... env variable
25 # redefinition compilation warnings
26 # ============================================================
27
28 if !WITHONLYLAUNCHER
29     AM_CXXFLAGS = -I$(top_builddir)/salome_adm/unix -include SALOMEconfig.h
30     AM_CPPFLAGS = -I$(top_builddir)/salome_adm/unix -include SALOMEconfig.h
31 else WITHONLYLAUNCHER
32     AM_CXXFLAGS =
33     AM_CPPFLAGS =
34 endif
35
36 # ============================================================
37 # This file defines the common definitions used in several
38 # Makefile. This file must be included, if needed, by the file
39 # Makefile.am.
40 # ============================================================
41 # Standard directory for installation
42 #
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
54 # DONE)
55 salomepythondir    = $(pythondir)/salome
56 salomepyexecdir    = $(pyexecdir)/salome
57 salomepypkgdir     = $(salomepythondir)/salome
58
59 # Directory for installing idl files
60 salomeidldir       = $(prefix)/idl/salome
61
62 # Directory for installing resource files
63 salomeresdir       = $(prefix)/share/salome/resources/@MODULE_NAME@
64
65 # Directory for installation cmake files
66 salome_cmakedir    = $(prefix)/salome_adm/cmake_files
67
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
73
74 # Shared modules installation directory
75 sharedpkgpythondir =$(salomepythondir)/shared_modules
76
77 # Documentation directory
78 docdir             = $(datadir)/doc/salome