Salome HOME
RNV Fix a compilation error:
[plugins/hexablockplugin.git] / Makefile.am
1 # Copyright (C) 2009-2013  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 # -* Makefile *-
21 # Author : Lioka RAZAFINDRAZAKA (CEA)
22 # Date : 2010/11/08
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 # $Header:
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 if HEXABLOCKPLUGIN_ENABLE_GUI
29   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
30                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
31                     -I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
32                     -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
33                     -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
34                     -I ${HEXABLOCK_ROOT_DIR}/adm_local/unix/config_files \
35                     -I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
36 else !HEXABLOCKPLUGIN_ENABLE_GUI
37   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
38                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
39                     -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
40                     -I ${GEOM_ROOT_DIR}/adm_local/unix/config_files \
41                     -I ${HEXABLOCK_ROOT_DIR}/adm_local/unix/config_files \
42                     -I ${SMESH_ROOT_DIR}/adm_local/unix/config_files
43 endif
44
45 SUBDIRS = idl adm_local resources src bin
46
47 DIST_SUBDIRS = idl adm_local resources src bin 
48
49 DISTCLEANFILES = a.out aclocal.m4 configure local-install.sh
50
51 salomeinclude_DATA = HEXABLOCKPLUGIN_version.h
52
53 EXTRA_DIST += \
54         build_configure \
55         clean_configure
56
57 dist-hook:
58         rm -rf `find $(distdir) -name CVS`