]> SALOME platform Git repositories - modules/med.git/blob - Makefile.in
Salome HOME
NRI : Add MODULE version info.
[modules/med.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:${KERNEL_ROOT_DIR}/idl/salome
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src
18
19 RESOURCES_FILES = \
20 MEDCatalog.xml \
21 MED_en.xml \
22 Data.png \
23 Infos.png \
24 Structure.png \
25 ModuleMed.png
26
27 BIN_SCRIPT= \
28 VERSION
29
30
31 # copy header files in common directory
32 ifeq ($(HAVE_SSTREAM),yes)
33   include_list=include/salome/SALOMEconfig.h
34 else
35   include_list=include/salome/SALOMEconfig.h include/salome/sstream
36 endif
37
38 inc: idl $(include_list)
39
40 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
41         -$(RM) $@
42         $(LN_S) ../../$< $@
43
44 include/salome/sstream: salome_adm/unix/sstream
45         -$(RM) $@
46         $(LN_S) ../../$< $@
47
48 depend: depend_idl
49
50 depend_idl:
51         (cd idl ; $(MAKE) $@) || exit 1
52
53 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
54 #doc:
55 #       (cd doc && $(MAKE) $@) || exit 1
56
57 install-end:
58 # finish libtool install
59 #       @$(LT) --mode=finish $(libdir)
60
61 install-include: $(include_list)
62         $(INSTALL) -d  $(includedir)
63         @for f in X $(include_list); do                         \
64            if test $$f != X; then                               \
65              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
66            fi;                                                  \
67         done
68
69 # install script in $(bindir) :
70 install-bin: $(BIN_SCRIPT)
71         $(INSTALL) -d  $(bindir)
72         if test $(BIN_SCRIPT)X != X; then                       \
73                 $(INSTALL_PROGRAM) $^ $(bindir);                \
74         fi
75
76 uninstall: uninstall-idl
77
78 uninstall-idl:
79         $(RM) $(idldir)/*.idl
80
81 distclean: distclean-other
82
83 distclean-other:
84         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
85         -$(RM) salome_adm/unix/make_* 
86         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
87         -$(RM) config.cache config.log config.status 
88
89 @MODULE@
90
91 install: install-bin install-include install-end
92