]> SALOME platform Git repositories - modules/superv.git/blob - Makefile.in
Salome HOME
958459395e41e38c1b74aba3cdbd544bf011773a
[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
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.h
50         -$(RM) $@
51         $(LN_S) ../../$< $@
52
53 include/salome/sstream: salome_adm/unix/sstream
54         -$(RM) $@
55         $(LN_S) ../../$< $@
56
57 depend: depend_idl
58
59 depend_idl:
60         (cd idl ; $(MAKE) $@) || exit 1
61
62 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
63 #doc:
64 #       (cd doc && $(MAKE) $@) || exit 1
65
66 install-end:
67 # finish libtool install
68 #       @$(LT) --mode=finish $(libdir)
69
70 install-include: $(include_list)
71         $(INSTALL) -d  $(includedir)
72         @for f in X $(include_list); do                         \
73            if test $$f != X; then                               \
74              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
75            fi;                                                  \
76         done
77
78 # install script in $(bindir) :
79 install-bin: $(BIN_SCRIPT)
80         $(INSTALL) -d  $(bindir)
81         if test $(BIN_SCRIPT)X != X; then                       \
82                 $(INSTALL_PROGRAM) $^ $(bindir);                \
83         fi
84
85 uninstall: uninstall-idl
86
87 uninstall-idl:
88         $(RM) $(idldir)/*.idl
89
90 distclean: distclean-other
91
92 distclean-other:
93         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
94         -$(RM) salome_adm/unix/make_* 
95         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
96         -$(RM) config.cache config.log config.status 
97
98 @MODULE@
99
100 install: install-bin install-include install-end
101