]> SALOME platform Git repositories - modules/eficas.git/blob - Makefile.in
Salome HOME
Prise en compte des conditions aux limites sur des groupes geometriques.
[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 
17
18 RESOURCES_FILES = \
19 EFICASCatalog.xml \
20 EFICAS_en.xml     \
21 eficashomard.png  \
22 eficas.png        \
23 eficaster.png
24
25 BIN_SCRIPT= \
26 VERSION
27
28 # copy header files in common directory
29 ifeq ($(HAVE_SSTREAM),yes)
30   include_list=include/salome/SALOMEconfig.h
31 else
32   include_list=include/salome/SALOMEconfig.h include/salome/sstream
33 endif
34
35 inc: idl $(include_list)
36
37 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
38         -$(RM) $@
39         $(LN_S) ../../$< $@
40
41 # test if SALOMEconfig.h has changed (contents)
42 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
43         @if ! [ -a $@ ]; then \
44           cp -p $< $@;        \
45         fi;                   \
46         if ! cmp $< $@; then  \
47           cp -p $< $@;        \
48         fi;                   \
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