Salome HOME
GEOM porting to CMake
[modules/geom.git] / Makefile.am
1 # Copyright (C) 2007-2013  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 GEOM_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 else !GEOM_ENABLE_GUI
32   ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
33                     -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files
34 endif
35
36 SUBDIRS = idl adm_local resources src bin doc
37
38 DIST_SUBDIRS = idl adm_local resources src bin doc
39
40 DISTCLEANFILES = a.out aclocal.m4 configure local-install.sh hack_libtool adm_local/unix/config_files/config.guess adm_local/unix/config_files/config.sub adm_local/unix/config_files/depcomp adm_local/unix/config_files/install-sh adm_local/unix/config_files/libtool.m4 adm_local/unix/config_files/ltmain.sh adm_local/unix/config_files/ltoptions.m4 adm_local/unix/config_files/ltsugar.m4 adm_local/unix/config_files/ltversion.m4 adm_local/unix/config_files/lt~obsolete.m4 adm_local/unix/config_files/missing adm_local/unix/config_files/py-compile
41
42 salomeinclude_DATA = GEOM_version.h
43
44 EXTRA_DIST +=           \
45         build_configure \
46         clean_configure \
47         LICENCE
48
49 dist-hook:
50         rm -rf `find $(distdir) -name CVS`
51
52 usr_docs:
53         (cd doc && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
54
55 docs: usr_docs
56
57 dev_docs:
58         (cd doc && $(MAKE) $(AM_MAKEFLAGS) dev_docs)