Salome HOME
PR: merged from V5_1_4rc1
[modules/smesh.git] / Makefile.am
1 #  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  This library is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU Lesser General Public
5 #  License as published by the Free Software Foundation; either
6 #  version 2.1 of the License.
7 #
8 #  This library is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 #  Lesser General Public License for more details.
12 #
13 #  You should have received a copy of the GNU Lesser General Public
14 #  License along with this library; if not, write to the Free Software
15 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 # -* Makefile *- 
21 # Author : Patrick GOLDBRONN (CEA)
22 # Date : 28/06/2001
23 # Modified by : Alexander BORODIN (OCN) - autotools usage
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 if SMESH_ENABLE_GUI
28   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files                      \
29                     -I ${GUI_ROOT_DIR}/adm_local/unix/config_files      \
30                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files  \
31                     -I ${MED_ROOT_DIR}/adm_local/unix/config_files      \
32                     -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files
33 else !SMESH_ENABLE_GUI
34   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files                      \
35                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files  \
36                     -I ${MED_ROOT_DIR}/adm_local/unix/config_files      \
37                     -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files
38 endif
39
40 SUBDIRS = idl adm_local resources src doc bin
41
42 DIST_SUBDIRS = idl adm_local resources src doc bin 
43
44 DISTCLEANFILES = a.out aclocal.m4 configure local-install.sh
45
46 salomeinclude_DATA = SMESH_version.h
47
48 EXTRA_DIST +=           \
49         build_configure \
50         clean_configure \
51         LICENCE
52
53 dist-hook:
54         rm -rf `find $(distdir) -name CVS`
55
56 usr_docs:
57         (cd doc && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
58
59 docs: usr_docs
60
61 dev_docs:
62         (cd doc && $(MAKE) $(AM_MAKEFLAGS) dev_docs)