Salome HOME
Update version to 3.2.0a1
[plugins/ghs3dplugin.git] / Makefile.in
1 # -* Makefile *- 
2 #
3 # Author : Patrick GOLDBRONN (CEA)
4 # Date : 28/06/2001
5 # $Header$
6 #
7
8 # source path
9 top_srcdir=@top_srcdir@
10 top_builddir=.
11 srcdir=@srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src
18
19 RESOURCES_FILES = GHS3DPlugin.xml
20
21 BIN_SCRIPT = VERSION
22
23 # copy header files in common directory ------------
24
25 ifeq ($(HAVE_SSTREAM),yes)
26   include_list=include/salome/SALOMEconfig.h
27 else
28   include_list=include/salome/SALOMEconfig.h include/salome/sstream
29 endif
30
31 inc: idl $(include_list)
32
33 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
34         -$(RM) $@
35         $(LN_S) ../../$< $@
36
37 # test if SALOMEconfig.h has changed (contents)
38 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
39         @if ! [ -a $@ ]; then \
40           cp -p -f $< $@;        \
41         fi;                   \
42         if ! cmp $< $@; then  \
43           cp -p -f $< $@;        \
44         fi;                   \
45
46 include/salome/sstream: salome_adm/unix/sstream
47         -$(RM) $@
48         $(LN_S) ../../$< $@
49
50 # install script in $(bindir) :
51 install-bin: $(BIN_SCRIPT)
52         $(INSTALL) -d  $(bindir)
53         if test $(BIN_SCRIPT)X != X; then                       \
54                 $(INSTALL_PROGRAM) $^ $(bindir);                \
55         fi
56
57 # CLEAN --------------------
58
59 distclean: distclean-other
60
61 distclean-other:
62         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
63         -$(RM) salome_adm/unix/make_* 
64         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
65         -$(RM) config.cache config.log config.status 
66
67 @MODULE@
68
69 install: install-bin