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