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