Salome HOME
0020028: EDF 842 SMESH : Can't export to med a mesh with same names
[modules/smesh.git] / Makefile.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 # -* Makefile *- 
23 # Author : Patrick GOLDBRONN (CEA)
24 # Date : 28/06/2001
25 # Modified by : Alexander BORODIN (OCN) - autotools usage
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 if SMESH_ENABLE_GUI
30   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files                      \
31                     -I ${GUI_ROOT_DIR}/adm_local/unix/config_files      \
32                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files  \
33                     -I ${MED_ROOT_DIR}/adm_local/unix/config_files      \
34                     -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files
35 else !SMESH_ENABLE_GUI
36   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files                      \
37                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files  \
38                     -I ${MED_ROOT_DIR}/adm_local/unix/config_files      \
39                     -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files
40 endif
41
42 SUBDIRS = idl adm_local resources src doc bin
43
44 DIST_SUBDIRS = idl adm_local resources src doc bin 
45
46 DISTCLEANFILES = a.out aclocal.m4 configure local-install.sh
47
48 salomeinclude_DATA = SMESH_version.h
49
50 EXTRA_DIST +=           \
51         build_configure \
52         clean_configure \
53         LICENCE
54
55 dist-hook:
56         rm -rf `find $(distdir) -name CVS`
57
58 usr_docs:
59         (cd doc && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
60
61 docs: usr_docs
62
63 dev_docs:
64         (cd doc && $(MAKE) $(AM_MAKEFLAGS) dev_docs)