]> SALOME platform Git repositories - plugins/blsurfplugin.git/blob - Makefile.in
Salome HOME
Import a new plugin, sent by Stephane LIAUZU
[plugins/blsurfplugin.git] / Makefile.in
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
3 #
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.
8 #
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.
13 #
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
17 #
18 #  See http://www.salome-platform.org/
19 #
20 # -* Makefile *- 
21 #
22 # Author : Patrick GOLDBRONN (CEA)
23 # Date : 28/06/2001
24 #
25
26 # source path
27 top_srcdir=@top_srcdir@
28 top_builddir=.
29 srcdir=@srcdir@
30 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
31
32
33 @COMMENCE@
34
35 SUBDIRS = idl src adm_local
36
37 RESOURCES_FILES = \
38     BLSURFPlugin.xml \
39     mesh_algo_BLSURF.png \
40     mesh_hypo_BLSURF.png \
41     mesh_tree_algo_BLSURF.png \
42     mesh_tree_hypo_BLSURF.png \
43     BLSURF.png
44
45 BIN_SCRIPT = VERSION
46
47 # copy header files in common directory ------------
48
49 ifeq ($(HAVE_SSTREAM),yes)
50   include_list=include/salome/SALOMEconfig.h
51 else
52   include_list=include/salome/SALOMEconfig.h include/salome/sstream
53 endif
54
55 inc: idl $(include_list)
56
57 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
58         -$(RM) $@
59         $(LN_S) ../../$< $@
60
61 # test if SALOMEconfig.h has changed (contents)
62 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
63         @if ! [ -a $@ ]; then \
64           cp -p -f $< $@;        \
65         fi;                   \
66         if ! cmp $< $@; then  \
67           cp -p -f $< $@;        \
68         fi;                   \
69
70 include/salome/sstream: salome_adm/unix/sstream
71         -$(RM) $@
72         $(LN_S) ../../$< $@
73
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);                \
79         fi
80
81 # CLEAN --------------------
82
83 distclean: distclean-other
84
85 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 
90
91 @MODULE@
92
93 install: install-bin