]> SALOME platform Git repositories - modules/superv.git/blob - Makefile.in
Salome HOME
MPV: Merge V1_2d
[modules/superv.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 examples
18
19 RESOURCES_FILES = \
20 components.png \
21 edit.png \
22 export.gif \
23 import.gif \
24 kill.png \
25 modify.png \
26 ModuleSupervision.png \
27 reload.png \
28 resources.png \
29 run.png \
30 steps.png \
31 SUPERV_en.xml \
32 SUPERV_fr.xml \
33 SUPERVCatalog.xml \
34 suspend-resume.gif \
35 Superv_tree_superv.png
36
37 BIN_SCRIPT= \
38 VERSION
39
40 # copy header files in common directory
41 ifeq ($(HAVE_SSTREAM),yes)
42   include_list=include/salome/SALOMEconfig.h
43 else
44   include_list=include/salome/SALOMEconfig.h include/salome/sstream
45 endif
46
47 inc: idl $(include_list)
48
49 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
50         -$(RM) $@
51         $(LN_S) ../../$< $@
52
53 # test if SALOMEconfig.h has changed (contents)
54 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
55         @if ! [ -a $@ ]; then \
56           cp -p $< $@;        \
57         fi;                   \
58         if ! cmp $< $@; then  \
59           cp -p $< $@;        \
60         fi;                   \
61
62 include/salome/sstream: salome_adm/unix/sstream
63         -$(RM) $@
64         $(LN_S) ../../$< $@
65
66 depend: depend_idl
67
68 depend_idl:
69         (cd idl ; $(MAKE) $@) || exit 1
70
71 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
72 #doc:
73 #       (cd doc && $(MAKE) $@) || exit 1
74
75 install-end:
76 # finish libtool install
77 #       @$(LT) --mode=finish $(libdir)
78
79 install-include: $(include_list)
80         $(INSTALL) -d  $(includedir)
81         @for f in X $(include_list); do                         \
82            if test $$f != X; then                               \
83              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
84            fi;                                                  \
85         done
86
87 # install script in $(bindir) :
88 install-bin: $(BIN_SCRIPT)
89         $(INSTALL) -d  $(bindir)
90         if test $(BIN_SCRIPT)X != X; then                       \
91                 $(INSTALL_PROGRAM) $^ $(bindir);                \
92         fi
93
94 uninstall: uninstall-idl
95
96 uninstall-idl:
97         $(RM) $(idldir)/*.idl
98
99 distclean: distclean-other
100
101 distclean-other:
102         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
103         -$(RM) salome_adm/unix/make_* 
104         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
105         -$(RM) config.cache config.log config.status 
106
107 @MODULE@
108
109 install: install-bin install-include install-end
110