1 # Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS, L3S, LJLL, MENSI
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 # See http://www.salome-platform.org/
22 # Author : Patrick GOLDBRONN (CEA)
27 top_srcdir=@top_srcdir@
30 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
35 SUBDIRS = idl src adm_local
39 mesh_algo_BLSURF.png \
40 mesh_hypo_BLSURF.png \
41 mesh_tree_algo_BLSURF.png \
42 mesh_tree_hypo_BLSURF.png \
47 # copy header files in common directory ------------
49 ifeq ($(HAVE_SSTREAM),yes)
50 include_list=include/salome/SALOMEconfig.h
52 include_list=include/salome/SALOMEconfig.h include/salome/sstream
55 inc: idl $(include_list)
57 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
61 # test if SALOMEconfig.h has changed (contents)
62 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
63 @if ! [ -a $@ ]; then \
66 if ! cmp $< $@; then \
70 include/salome/sstream: salome_adm/unix/sstream
74 # install script in $(bindir) :
75 install-bin: $(BIN_SCRIPT)
76 $(INSTALL) -d $(bindir)
77 if test $(BIN_SCRIPT)X != X; then \
78 $(INSTALL_PROGRAM) $^ $(bindir); \
81 # CLEAN --------------------
83 distclean: distclean-other
86 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
87 -$(RM) salome_adm/unix/make_*
88 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
89 -$(RM) config.cache config.log config.status