Salome HOME
Fix make distcheck problems
[plugins/blsurfplugin.git] / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D
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 # File   : Makefile.am
21 # Author : Vadim SANDLER, Open CASCADE S.A.S (vadim.sandler@opencascade.com)
22 # ---
23 #
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25
26 if BLSURFPLUGIN_ENABLE_GUI
27   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
28                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
29                     -I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
30                     -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
31                     -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
32                     -I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
33 else !BLSURFPLUGIN_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                     -I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
39 endif
40
41 SUBDIRS = idl adm_local resources src bin doc
42
43 DIST_SUBDIRS = idl adm_local resources src bin doc 
44
45 DISTCLEANFILES = a.out aclocal.m4 configure
46
47 salomeinclude_DATA = BLSURFPLUGIN_version.h
48
49 EXTRA_DIST += \
50         build_configure \
51         clean_configure \
52         build_cmake     \
53         build_cmake.bat
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)
65