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