Salome HOME
Initial version
[plugins/netgenplugin.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@/resources
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src
18
19 RESOURCES_FILES = NETGENPlugin.xml
20
21 # copy header files in common directory ------------
22
23 ifeq ($(HAVE_SSTREAM),yes)
24   include_list=include/salome/SALOMEconfig.h
25 else
26   include_list=include/salome/SALOMEconfig.h include/salome/sstream
27 endif
28
29 inc: idl $(include_list)
30
31 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
32         -$(RM) $@
33         $(LN_S) ../../$< $@
34
35 # test if SALOMEconfig.h has changed (contents)
36 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
37         @if ! [ -a $@ ]; then \
38           cp -p -f $< $@;        \
39         fi;                   \
40         if ! cmp $< $@; then  \
41           cp -p -f $< $@;        \
42         fi;                   \
43
44 include/salome/sstream: salome_adm/unix/sstream
45         -$(RM) $@
46         $(LN_S) ../../$< $@
47
48 # CLEAN --------------------
49
50 distclean: distclean-other
51
52 distclean-other:
53         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
54         -$(RM) salome_adm/unix/make_* 
55         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
56         -$(RM) config.cache config.log config.status 
57
58 @MODULE@
59