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