1 # Copyright (C) 2007-2008 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
22 # ============================================================
23 # This file defines the common definitions used in several
24 # Makefile. This file must be included, if needed, by the file
26 # ============================================================
27 # Standard directory for installation
29 salomeincludedir = $(includedir)/salome
30 libdir = $(prefix)/lib@LIB_LOCATION_SUFFIX@/salome
31 bindir = $(prefix)/bin/salome
32 purebindir = $(prefix)/bin
33 salomescriptdir = $(bindir)
34 salomepythondir = $(pythondir)/salome
35 salomepyexecdir = $(pyexecdir)/salome
37 # Tests environment folders
38 testsenvirondir = $(prefix)/Tests/environ
39 testsenvironcshdir = $(prefix)/Tests/environ/csh
41 # Directory for installing idl files
42 salomeidldir = $(prefix)/idl/salome
44 # Directory for installing resource files
45 salomeresdir = $(prefix)/share/salome/resources/@MODULE_NAME@
47 # Directories for installing admin files
48 admlocaldir = $(prefix)/adm_local
49 admlocalunixdir = $(admlocaldir)/unix
50 admlocalm4dir = $(admlocaldir)/unix/config_files
52 # Shared modules installation directory
53 sharedpkgpythondir = $(salomepythondir)/shared_modules
55 # Documentation directory
56 docdir = $(datadir)/doc/salome
60 # meta object implementation files generation (moc)
64 # translation (*.qm) files generation (lrelease)
68 EXTRA_DIST = $(MOC_FILES:%_moc.cxx=%.h) $(nodist_salomeres_DATA:%.qm=%.ts)
70 # customize clean operation
72 rm -f @builddir@/*_moc.cxx
78 unittest: $(UNIT_TEST_PROG)
79 @if test "x$(UNIT_TEST_PROG)" != "x"; then \
84 html-local: $(DOX_INPUT_FILE)
85 @if test "x$(DOX_INPUT_FILE)" != "x"; then \
86 doxygen $(DOX_INPUT_FILE); \