Salome HOME
Merge from V5_1_main 14/05/2010
[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 salomepythondir    = $(pythondir)/salome
48 salomepyexecdir    = $(pyexecdir)/salome
49
50
51 # Directory for installing idl files
52 salomeidldir       = $(prefix)/idl/salome
53
54 # Directory for installing resource files
55 salomeresdir       = $(prefix)/share/salome/resources/@MODULE_NAME@
56
57 # Directory for installation cmake files
58 salome_cmakedir    = $(prefix)/salome_adm/cmake_files
59
60 # Directories for installing admin files
61 salomeadmdir       = $(prefix)/salome_adm
62 salomeadmuxdir     = $(salomeadmdir)/unix
63 salomem4dir        = $(salomeadmdir)/unix/config_files
64 salome4deprdir    = $(salomeadmdir)/unix/config_files/DEPRECATED
65
66 # Shared modules installation directory
67 sharedpkgpythondir =$(salomepythondir)/shared_modules
68
69 # Documentation directory
70 docdir             = $(datadir)/doc/salome