Salome HOME
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
[modules/kernel.git] / salome_adm / unix / make_common_starter.am
1 #  Copyright (C) 2007-2008  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 if !WITHONLYLAUNCHER
28     AM_CXXFLAGS = -I$(top_builddir)/salome_adm/unix -include SALOMEconfig.h
29     AM_CPPFLAGS = -I$(top_builddir)/salome_adm/unix -include SALOMEconfig.h
30 else WITHONLYLAUNCHER
31     AM_CXXFLAGS =
32     AM_CPPFLAGS =
33 endif
34
35 # ============================================================
36 # This file defines the common definitions used in several
37 # Makefile. This file must be included, if needed, by the file
38 # Makefile.am.
39 # ============================================================
40 # Standard directory for installation
41 #
42 salomeincludedir   = $(includedir)/salome
43 libdir             = $(prefix)/lib@LIB_LOCATION_SUFFIX@/salome
44 bindir             = $(prefix)/bin/salome
45 salomescriptdir    = $(bindir)
46 salomepythondir    = $(pythondir)/salome
47 salomepyexecdir    = $(pyexecdir)/salome
48
49
50 # Directory for installing idl files
51 salomeidldir       = $(prefix)/idl/salome
52
53 # Directory for installing resource files
54 salomeresdir       = $(prefix)/share/salome/resources/@MODULE_NAME@
55
56 # Directory for installation cmake files
57 salome_cmakedir    = $(prefix)/salome_adm/cmake_files
58
59 # Directories for installing admin files
60 salomeadmdir       = $(prefix)/salome_adm
61 salomeadmuxdir     = $(salomeadmdir)/unix
62 salomem4dir        = $(salomeadmdir)/unix/config_files
63 salome4deprdir    = $(salomeadmdir)/unix/config_files/DEPRECATED
64
65 # Shared modules installation directory
66 sharedpkgpythondir =$(salomepythondir)/shared_modules
67
68 # Documentation directory
69 docdir             = $(datadir)/doc/salome