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