]> SALOME platform Git repositories - modules/eficas.git/blob - Makefile.in
Salome HOME
Update version number
[modules/eficas.git] / Makefile.in
1 # -* Makefile *- 
2 #
3 # Author : Patrick GOLDBRONN (CEA)
4 # Date : 28/06/2001
5 #
6
7 # source path
8 top_srcdir=@top_srcdir@
9 top_builddir=.
10 srcdir=@srcdir@
11 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
12
13
14 @COMMENCE@
15
16 SUBDIRS = idl src doc
17
18 RESOURCES_FILES = \
19 EFICASCatalog.xml \
20 EFICAS_en.xml     \
21 eficashomard.png  \
22 eficas.png        \
23 eficaster.png     \
24 eficasternovice.png \
25 eficasotstd.png \
26 eficasotwrp.png \
27 eficascarmel.png \
28 moins.png   \
29 plus.png     \
30 select1.png \
31 SalomeApp.xml
32
33 BIN_SCRIPT= \
34 VERSION
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.ref
46         -$(RM) $@
47         $(LN_S) ../../$< $@
48
49 # test if SALOMEconfig.h has changed (contents)
50 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
51         @if ! [ -a $@ ]; then \
52           cp -p $< $@;        \
53         fi;                   \
54         if ! cmp $< $@; then  \
55           cp -p $< $@;        \
56         fi;                   \
57
58 include/salome/sstream: salome_adm/unix/sstream
59         -$(RM) $@
60         $(LN_S) ../../$< $@
61
62 depend: depend_idl
63
64 depend_idl:
65         (cd idl ; $(MAKE) $@) || exit 1
66
67 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
68 #doc:
69 #       (cd doc && $(MAKE) $@) || exit 1
70
71 install-end:
72 # finish libtool install
73 #       @$(LT) --mode=finish $(libdir)
74
75 install-include: $(include_list)
76         $(INSTALL) -d  $(includedir)
77         @for f in X $(include_list); do                         \
78            if test $$f != X; then                               \
79              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
80            fi;                                                  \
81         done
82
83 # install script in $(bindir) :
84 install-bin: $(BIN_SCRIPT)
85         $(INSTALL) -d  $(bindir)
86         if test $(BIN_SCRIPT)X != X; then                       \
87                 $(INSTALL_PROGRAM) $^ $(bindir);                \
88         fi
89
90 uninstall: uninstall-idl
91
92 uninstall-idl:
93         $(RM) $(idldir)/*.idl
94
95 distclean: distclean-other
96
97 distclean-other:
98         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
99         -$(RM) salome_adm/unix/make_* 
100         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
101         -$(RM) config.cache config.log config.status 
102
103 @MODULE@
104
105 install: install-bin install-include install-end
106