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
23 # Author : Patrick GOLDBRONN (CEA)
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
31 ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
32 -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
33 -I ${GUI_ROOT_DIR}/adm_local/unix/config_files
35 ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
36 -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files
38 else !MED_ENABLE_KERNEL
40 ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
41 -I adm_local_without_kernel/unix/config_files \
42 -I ${GUI_ROOT_DIR}/adm_local/unix/config_files
44 ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
45 -I adm_local_without_kernel/unix/config_files
56 SUBDIRS += adm_local_without_kernel
59 SUBDIRS += $(IDLDIR) src doc resources bin
61 DIST_SUBDIRS = adm_local adm_local_without_kernel idl src doc resources bin
63 DISTCLEANFILES = a.out aclocal.m4 configure
65 salomeinclude_DATA = MED_version.h
67 EXTRA_DIST += build_configure clean_configure LICENCE INSTALL README
70 rm -rf `find $(distdir) -name CVS`
73 install-data-local: $(pkgincludedir)/SALOMEconfig.h
74 else !MED_ENABLE_SSTREAM
75 install-data-local: $(pkgincludedir)/SALOMEconfig.h $(pkgincludedir)/sstream
78 $(pkgincludedir)/SALOMEconfig.h: ./salome_adm/unix/SALOMEconfig.h
79 cp -f $^ $(pkgincludedir)
81 $(pkgincludedir)/sstream: ./include/salome/sstream
82 cp -f $^ $(pkgincludedir)
85 (cd doc && $(MAKE) $(AM_MAKEFLAGS) dev_docs)