1 # Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
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.
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.
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
17 # See http://www.salome-platform.org/
21 # 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
37 RESOURCES_FILES = GHS3DPlugin.xml
41 # copy header files in common directory ------------
43 ifeq ($(HAVE_SSTREAM),yes)
44 include_list=include/salome/SALOMEconfig.h
46 include_list=include/salome/SALOMEconfig.h include/salome/sstream
49 inc: idl $(include_list)
51 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
55 # test if SALOMEconfig.h has changed (contents)
56 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
57 @if ! [ -a $@ ]; then \
60 if ! cmp $< $@; then \
64 include/salome/sstream: salome_adm/unix/sstream
68 # install script in $(bindir) :
69 install-bin: $(BIN_SCRIPT)
70 $(INSTALL) -d $(bindir)
71 if test $(BIN_SCRIPT)X != X; then \
72 $(INSTALL_PROGRAM) $^ $(bindir); \
75 # CLEAN --------------------
77 distclean: distclean-other
80 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
81 -$(RM) salome_adm/unix/make_*
82 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
83 -$(RM) config.cache config.log config.status